Jump to content

loordgek

Members
  • Posts

    1910
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by loordgek

  1. https://stackoverflow.com/questions/94361/when-do-you-use-javas-override-annotation-and-why
  2. where do you download it from ?
  3. you can mod it in JavaScript
  4. you subscribe to the wrong bus remove , bus = EventBusSubscriber.Bus.MOD
  5. yes sort of the doc is set to 1.13 but the capability page is from 1.12
  6. dont use getItemById where does enableStats come from? entity.getItem().getItem() == glass.getItem() what is glass can you post your code on github so we can see everything
  7. where did you get forge from ? do you have java installed ? how are you trying to install forge ?
  8. yes, but if you want to be sure built it your self https://github.com/AdoptOpenJDK
  9. https://adoptopenjdk.net/
  10. what version are you working on ?
  11. what does the error say, mouse over the error and the IDE tells whats wrong
  12. return new PacketButtonClicked(buf.readBlockPos());
  13. problem w/ optifine
  14. what part do you not understand?
  15. https://github.com/drmdgg/marijuanacraft1.14.4/blob/master/src/main/java/drmdgg/marijuanacraft/network/PacketButtonClicked.java#L29 you need to get the pos from the packetbuffer the ide will tell whats wrong
  16. @Lea9ue what are you doing ? https://github.com/saxon564/MoChickens/blob/1.14/src/main/java/com/saxon564/mochickens/entities/mobs/EntityMoChicken.java#L80 you cant do that Minecraft is client side only
  17. yes that looks right
  18. give it a try it is simple yes packetButtonClicked no that is fine no shit sherlock sent the message to the server https://mcforge.readthedocs.io/en/1.13.x/networking/simpleimpl/
  19. and delete https://github.com/drmdgg/marijuanacraft1.14.4/blob/a27ad62dfb81267511d4ab1ecf2eff5b6c6eba58/src/main/java/drmdgg/marijuanacraft/client/gui/GuiVO.java#L84-L86
  20. addButton(new Button(relX + 18, relY + 15, 5, 20, "PURGE", button -> sent the message to the server)); is that so hard ? https://github.com/drmdgg/marijuanacraft1.14.4/blob/master/src/main/java/drmdgg/marijuanacraft/network/PacketHandler.java#L49 you want to not this https://github.com/drmdgg/marijuanacraft1.14.4/blob/master/src/main/java/drmdgg/marijuanacraft/network/Networking.java#L12 is a bad name give the constructor only the blockPos in the encode method encode the blockPos look inside the PacketBuffer to see how in decode return a new packet
  21. look at EntityType# func_220335_a
  22. https://nl.malwarebytes.com/adwcleaner/ and its recommended to run a anti virus scanner where did you download from? only download from https://files.minecraftforge.net/
  23. downgrade forge the 28.1.101 is bugged
  24. dont do that use Itemstack.empty you need to override onRemove? in your tile class and invalidate slots_holder https://github.com/MinecraftForge/MinecraftForge/blob/1.14.x/src/main/java/net/minecraftforge/common/util/LazyOptional.java#L294
×
×
  • Create New...

Important Information

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