Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [Solved] Trouble implementing Baubles API
The update for 1.13 is being worked on - please be patient. (Updated 02/14/19)
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
blupilot

[Solved] Trouble implementing Baubles API

Started by blupilot, May 28, 2017

8 posts in this topic

blupilot    0

blupilot

blupilot    0

  • Tree Puncher
  • blupilot
  • Members
  • 0
  • 11 posts
  • Report post
Posted May 28, 2017 (edited)

Hello, I am trying to require Baubles in my mod so I can add custom necklaces, rings, etc. I tried extracting the APIs .zip file to the src/api/java I get errors such as "Cannot resolve <class_here>" and "Cannot access <class_here>" in the APIs code. I am also unable to import from it in my own code. Anyone know what the problem could be?

Thanks in advance

 

Update: Turns out the problem was that I was putting the api in the wrong folder, silly me :S

 

Edit: Typo

 

Edit 2: Also I tried adding it as a dependency, when I did "gradlew dependencies" baubles was able to be downloaded from jitpack, but I still couldn't import from it.

Edited May 30, 2017 by blupilot
Solved

Share this post


Link to post
Share on other sites

blupilot    0

blupilot

blupilot    0

  • Tree Puncher
  • blupilot
  • Members
  • 0
  • 11 posts
  • Report post
Posted May 28, 2017

Bump, also I'm using 1.10.2 if that matters

Share this post


Link to post
Share on other sites

blupilot    0

blupilot

blupilot    0

  • Tree Puncher
  • blupilot
  • Members
  • 0
  • 11 posts
  • Report post
Posted May 29, 2017 (edited)

Update: I tried looking around this forum for answers and all I found was this, the answer was what I already tried to do and it didn't seem to work.

Edit: Typo

Edited May 29, 2017 by blupilot

Share this post


Link to post
Share on other sites

blupilot    0

blupilot

blupilot    0

  • Tree Puncher
  • blupilot
  • Members
  • 0
  • 11 posts
  • Report post
Posted May 29, 2017

Bump. Sorry If I seem impatient :/ Been having trouble with this for a while.

Share this post


Link to post
Share on other sites

V0idWa1k3r    305

V0idWa1k3r

V0idWa1k3r    305

  • World Shaper
  • V0idWa1k3r
  • Members
  • 305
  • 1436 posts
  • Report post
Posted May 30, 2017

I do not know if this is the correct way to do it(i'm pretty sure it isn't and the correct one is described in the topic you've linked) but you could add your dependencies as external jar libraries in eclipse as a workaround.

Share this post


Link to post
Share on other sites

blupilot    0

blupilot

blupilot    0

  • Tree Puncher
  • blupilot
  • Members
  • 0
  • 11 posts
  • Report post
Posted May 30, 2017

Ah, well I use IntelliJ but I assume I can do the same thing. I'll try it out, thanks!

Share this post


Link to post
Share on other sites

blupilot    0

blupilot

blupilot    0

  • Tree Puncher
  • blupilot
  • Members
  • 0
  • 11 posts
  • Report post
Posted May 30, 2017

Update: I am an idiot, turns out I was putting the api in "src/api/java" instead of just "src/api"

Share this post


Link to post
Share on other sites

MFMods    8

MFMods

MFMods    8

  • Stone Miner
  • MFMods
  • Members
  • 8
  • 53 posts
  • Report post
Posted May 30, 2017

i truly wish we had a repository of information how to connect to all those apis out there... now, if you make a simple block, you're facing a nightmare if you want to register it with crusher machines for example.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 1
Go To Topic Listing Modder Support

  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • MrCrankyRooster
      How Do I fix this

      By MrCrankyRooster · Posted 10 minutes ago

    • nov4e
      [1.12.2] How to get the server from GuiDisconnected

      By nov4e · Posted 17 minutes ago

      Hello, im making a class that extends GuiDisconnected and im making a "retry" button used to rejoin to the server. How I can get the server from GuiDisconnected? Also how i can connect the player to the server? Thanks
    • Mango106
      can't use vanilla items to craft modded item [1.12]

      By Mango106 · Posted 28 minutes ago

      YES ok it works thanks
    • Drachenbauer
      [1m13m2] how do i place my vaules in the voxel shape methods in the block-classes?

      By Drachenbauer · Posted 1 hour ago

      thanks, that fits
    • MX_wb
      can't use vanilla items to craft modded item [1.12]

      By MX_wb · Posted 1 hour ago

      Actually, I think it should be "data": 0 instead of "data": "0"
  • Topics

    • Drachenbauer
      0
      [1.13.2] how do i make a block rotate by player facing, if i place it?

      By Drachenbauer
      Started Just now

    • MrCrankyRooster
      0
      How Do I fix this

      By MrCrankyRooster
      Started 10 minutes ago

    • nov4e
      0
      [1.12.2] How to get the server from GuiDisconnected

      By nov4e
      Started 17 minutes ago

    • Mango106
      12
      can't use vanilla items to craft modded item [1.12]

      By Mango106
      Started 3 hours ago

    • Drachenbauer
      2
      [1m13m2] how do i place my vaules in the voxel shape methods in the block-classes?

      By Drachenbauer
      Started 1 hour ago

  • Who's Online (See full list)

    • Drachenbauer
    • diesieben07
    • crackedEgg
    • PokestarFan
    • nov4e
    • Whit2k
    • Knater333
    • MrCrankyRooster
    • Toma™
    • MX_wb
    • sksksk
    • lehjr
    • creeperleeper
    • Meldexun
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [Solved] Trouble implementing Baubles API
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community