Jump to content

loordgek

Members
  • Posts

    1910
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by loordgek

  1. you are using the wrong bus https://github.com/MinecraftForge/MinecraftForge/blob/1.15.x/mdk/src/main/java/com/example/examplemod/ExampleMod.java#L30
  2. yes but you need to store the state somewhere hence why you need the tileEntity
  3. if i make something for free and you are going to say "look wat i made" that is not cool
  4. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  5. 1.12.2 is unsupported update to 1.15.2
  6. use gradlew when you wand to use the wrapper https://docs.gradle.org/current/userguide/gradle_wrapper.html
  7. override hasContainerItem(ItemStack stack) and getContainerItem(ItemStack stack)
  8. w/ server i mean logical/Physical server in a single player game is still a server running
  9. you have a LivingEntity in onBlockDestroyed check if the entity is a player and if you are on a server using !world.isremote then you can cast
  10. if you are on the server you can cast
  11. https://github.com/DragonGamerDevelopers/NewFantasyMod/blob/1.15.2/src/main/java/mod/dragonita/fantasymod/customthings/FullRainbowPickAxe.java#L50-L70 if only there was a better way to do it (hint: loop)
  12. loordgek

    .

    why do you need it client side
  13. https://github.com/MisterProgrammer/DickMod/blob/master/src/main/java/com/example/DickMod/ForgeEventSubscriber.java#L17 you never add you cap to anything can you post that error
  14. hmmm if there was a item that shoots things in minecraft that i can look at
  15. DeferredRegister has nothing to do w/ it. how do you run the data generator ?
  16. what on earth are you trying to do
  17. https://minecraft.gamepedia.com/Data_pack
  18. https://www.geeksforgeeks.org/beginning-java-programming-with-hello-world-example/
  19. oops that is the correct bus
  20. https://github.com/DJ1TJOO/fantasy20/blob/master/src/main/java/nl/fantasynetworkmc/fantasy20/setup/GameEvents.java#L22 that is the wrong event bus and EventBusSubscriber only subscribes static methods
×
×
  • Create New...

Important Information

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