Jump to content

Danebi

Members
  • Posts

    432
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Danebi

  1. Try to run jarfix.
  2. This isn't in your client setup event.
  3. Post the debug.log.
  4. In your .minecraft\logs folder.
  5. Post the debug.log.
  6. It should be lower case, i think. Also, it is crossed out because the constructor of DeferredRegister is deprecated. You should use DeferredRegister::create.
  7. How are you starting the server?
  8. Post the debug.log.
  9. In your .minecraft\logs folder.
  10. Post the debug.log.
  11. https://mcforge.readthedocs.io/en/latest/events/intro/
  12. Post the debug.log.
  13. The file is unavailable to me. Paste it to gist github.
  14. Are you using twitch?
  15. Post the debug.log.
  16. Your code prints both "Hey" and "Hey 2" because after you print "Hey", count is increased and also the second statement is true. For what you want to do you can try with something like this: private String[] array = {"Hey", "Hey 2"}; private int count = 0; @Override public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn) { if (!worldIn.isRemote()) { playerIn.sendMessage(new StringTextComponent(array[count])); count++; return new ActionResult<>(ActionResultType.SUCCESS, playerIn.getHeldItem(handIn)); } return new ActionResult<>(ActionResultType.SUCCESS, playerIn.getHeldItem(handIn)); } If you want to make it loop between the Strings you can use an if statement to reset count.
  17. Delete this file: C:\Users\conne\AppData\Roaming\.minecraft\config\fml.toml.
  18. The debug.log is a file in the .minecraft\logs folder. Paste it on github gist and link it here.
  19. Post the debug.log.
  20. Post the debug.log (It's a file located in your .minecraft\logs folder).
  21. We do not offer help for mcreator. Also.. 1.7 is no longer support. Update to a modern version to receive support.
×
×
  • Create New...

Important Information

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