Jump to content

Failender

Forge Modder
  • Posts

    1091
  • Joined

  • Last visited

Everything posted by Failender

  1. show your lang file. although i am not sure if using upper case messes with naming
  2. I guess im kinda outdated :'D sorry sir
  3. onItemRightClick gets called two times, on server and on client side. I guess you want it to be only shown on client side, so use the world object to find out on which side you are
  4. 1. why shouldnt you? 2. If you are working together its better if everyone gets his own tasks, so you shouldnt be working in the same class
  5. use github and commit everytime u finish something
  6. The Problem is that this tutorial is not covering The thread safety aspect in 1.8 , TGG has some informations about that, just Google thegreyghost thread safety Minecraft
  7. The thing is that this forum is not made to spoon feed you. I have no Problem helping people, but I got a Problem spoon feeding people that have obviously no idea how Java works. Coding Minecraft can be really challenging and is not meant to learn Java. Sorry for that.
  8. If you just want to execute things delayed there is a method in The Minecraft routine where you can pass a runnable Object and a number that stands for The amount of ticks The task should be delayed. Could be in The MinecraftServer class, I think ernio might know what im talking about.. (Maybe just search your IDE for it since im on my mobile)
  9. http://docs.oracle.com/javase/7/docs/api/java/util/ConcurrentModificationException.html Seems like you are accessing The resources of another thread (even if I dont know where) I guess you are in 1.8 , you should know that MC 1.8 is not thread safe
  10. The values x y z are 0 by The time you are passing them to The super class.
  11. if its to hard to read for u its 2 hard to write for u
  12. you should do these changes only on server side and inform the client via packets if you need to have the information
  13. add this to ur build.gradle and use deobfJar task deobfJar(type: Jar) { from sourceSets.main.output classifier = 'deobf' } task sourceJar(type: Jar) { from sourceSets.main.allSource classifier = 'sources' }
  14. i think the best way to do that would be to create two blocks, one for bottom of the flower, one for top of the flower
  15. you are welcome
  16. Thats where static comes into play. It means that every instance is sharing this attribute (in this case the class), which means that u can access it without instance, because its the same for every instance
  17. that has nothing to do wiht minecraft, its general java. if u have a nested class u need an instance of the nesting class to instatiate it (except of its static)
  18. ur handler needs to be static if its nested inside another class or forge cant instatiate it
  19. show the crash please^^ EDIT: Dont register the packets on both sides. Only register the packet on the site that is meant to receive it
  20. Also.. Seriously? You are saving an instance of Minecraft just to Fall getMinecraft each tick?
  21. No. 1. only do it in Server side 2. u wont find SP player on Server side
  22. Also you should replace your slot for The Ashe with a slot that is preventing a player from placing stuff in there, and maybe replace your fuel slot with a slot that only allows fuel input
  23. Show where you open the gui. I guess this will be your block class EDIT: Maybe also add your guihandler
×
×
  • Create New...

Important Information

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