Jump to content

loordgek

Members
  • Posts

    1910
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by loordgek

  1. do you have a link that github repo.
  2. LightningBoltEntity lightning = new LightningBoltEntity(EntityType.LIGHTNING_BOLT, this.getWorld()); lightning.setLocationAndAngles(this.getPos().getX(), this.getPos().getY(), this.getPos().getZ(), rng.nextFloat() * 360, 0); if (this.getWorld().isThundering()) { if (this.getWorld().getGameTime() % (350 - rng.nextInt(200)) == 0) { this.getWorld().addEntity(lightning); } } you first create a new LightningBoltEntity and after that you check if you need to, dont do that
  3. Leronus what version are you modding ?
  4. https://github.com/MinecraftForge/MinecraftForge/blob/1.16.x/src/main/java/net/minecraftforge/common/extensions/IForgeItem.java#L290-L305
  5. no search for your self it is not hard
  6. what dint work, show your new code
  7. i dont under stand you cab you post code
  8. https://docs.gradle.org/current/userguide/plugins.html#sec:old_plugin_application you add it the the buildscript repositories but you need to add your maven the the normal repositories https://docs.gradle.org/current/userguide/declaring_repositories.html
  9. if the mod is is on curseforge you can put it in a modpack that you distribute on curseforge good job you made a mod pack that is full of conflicts making a modpack like rlcraft can take days/weeks
  10. the discord for curseforge they can help you w/ the upload part https://discord.gg/CBUJv5a beware that making a good modpack is not easy its more then dragging a bunch of mods in a folder and you are not allowed to use parts of rlcraft
  11. dont use that font size plz
  12. can you show all your code ?
  13. what is the end goal from a user perspective ?
  14. what does not work do you have the block in game? does it not have the correct shape? does it not have a texture?
  15. everybody does it for fun
  16. if only there was a redstone lamp in minecraft that i can look at
  17. click the "skip" button top right
  18. he is not coremodding that is from ae2
  19. you are using a unsupported version learn how gradle works
  20. https://github.com/MinecraftForge/MinecraftForge/pull/6668 is this what you want ?
  21. ServerPlayerEntity player = (ServerPlayerEntity) event.player; // you first cast player to ServerPlayerEntity World world = player.getEntityWorld(); BlockPos pos = new BlockPos(player.getPosX(), player.getPosY() - 1, player.getPosZ()); if (player instanceof ServerPlayerEntity) // and here check if the player is a instance of ServerPlayerEntity thats wrong
  22. use that
  23. thats not true it can be static but you register you eventhander different for static you register eventhander class for non static you register a instance of eventhander
  24. we dont give sample code
×
×
  • Create New...

Important Information

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