Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/03/17 in all areas

  1. So, read or write? That... is a very specific way to check booleans. Very... strict. Also you should not even need this unless you are explicitly reading entity nbt on the client. I do not think that readEntityFromNBT is ever called on the client. Erm... why? Why are you setting your variables and then redundantly calling getters? They do not do anything on their own... Maybe you ment to invoke your setters? You should use breakpoints to confirm this, not printlns which can get lost in the console. Breakpoints are the way to debug your code, trust me
    1 point
  2. In future, please create the Git repository in the root directory of your mod (where build.gradle is) and include the Gradle buildscript (build.gradle and gradle.properties), the Gradle wrapper (gradlew, gradlew.bat and the gradle directory), the source code and assets (the src directory) and your mod's license and readme files. See my TestMod3 for an example of the proper structure. I'll start debugging it soon.
    1 point
  3. 1 point
  4. This check: if(data != null && data.getCoolDown() == 0) { This passes every time, and inside the clause it sets the cool down to 100.
    1 point
  5. Forge doesn't use JSON for configuration, it uses its own file format. You can still use the Configuration class directly by creating an instance and calling the appropriate getter method for each property. This hasn't really changed since 1.7.10. The new annotation-based system is a layer on top of the Configuration class that automatically creates an instance and calls the appropriate getter methods for each field based on its type. I have a brief explanation of the system as well as links to an example of it here.
    1 point
  6. It already exists, and has been documented several times. It however is not a system we advertise or encourage people to use because flat out, the downloads page is how we pay the bills. And people who bypass that bypass how we make money. It's a shitty thing, but it's as simple as that.
    1 point
  7. Hello friends, I am fan of Minecraft and designer, I would like if possible to present my drawing of Minecraft, I did without sketch, on paper. They are very easy to draw figures so I did without sketching, then just take care of the scenery and that's it. For those who want to draw, the tip is: use many rectangles. I hope you enjoy a big hug to everyone.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.