Jump to content

DavidM

Members
  • Posts

    1830
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by DavidM

  1. Using hacks on servers is not wise and will result in a ban.
  2. Post the new log with Java 8 or 10.
  3. DavidM

    .

    You don't. JavaFX is not involved in Minecraft at all.
  4. It means you need to make your port public so your friends can access it. Read the manual of your router to learn how to port forward with your specific router.
  5. Use less mods.
  6. Personally, I would say yes. i.e. All the custom name part are completely not necessary, and the getField/setField with an id is pointless. use normal getters and setters instead.
  7. It seems like you are following HarryTalks’ tutorials. Stop. His tutorials are terrible as they use outdated code and promote bad practices.
  8. DartCraftReloaded is badly made and is broken. Remove the mod and report the crash to the author.
  9. Try without texture pack. If this still occurs, post your logs according to the EAQ.
  10. If you are indeed downloading from the official site, there will not be such problem. Are you sure you are downloading from the official site? Are you sure you selected the right version (1.14.2) to download?
  11. Unless you've changed your previous code, since "stack == new ItemStack(Block blockIn, int amount, int meta)" will never be true. Instead of direct comparison, it would be better to check the meta of the already existing ItemStack.
  12. You could create an EventSubscriber for RenderGameOverlayEvent.Post and do your render there. You might want to look at how this is achieved in Botania.
  13. This "if" check is pointless (the check for non-empty armor part) since you've wrote another "if" checking if the armor is your armor.
  14. "sm" is a bad mod ID that will conflict with other mods. You should use a longer mod ID than just 2 letters.
  15. Nope. It's not about the variables. It's about trying to assign an attribute that doesn't exist to the annotation.
  16. Add a breakpoint right before the damaging item line to see if the code is reached. Why are you damaging the item and shrinking the stack at the same time though?
  17. Buy the game.
  18. Use Entity#addVelocity to apply a force to an Entity. Use this to apply a force towards the center of the singularity to the player.
  19. Does ModelRegistryEvent also trigger on the server side?
  20. You don't register a Block from an ItemBlock; instead, you get an ItemBlock from a Block, then register the ItemBlock as an Item. To get an (registered) ItemBlock from a Block (which I believe is what you are trying to do during ModelRegistryEvent), use Item::getItemFromBlock. Please post your code so we can figure out what exactly went wrong.
  21. @Velociraptor1923 Your questions are not remotely relevant to your topic, nor are they in the responsibility of Forge. If you are serious in seeking the answers to those question, then you are in the wrong place. You should use Google instead. If you are being a troll, then please stop spamming the forum.
  22. What issues are you facing? It would be easier for you and us to solve your exact issues than "this is my computer; please fix it." If you are having trouble setting up Forge MDK, please describe the symptoms and provide logs when appropriate.
  23. You probably should use a for loop to loop through WoodType instead of creating a new class for each WoodType.
×
×
  • Create New...

Important Information

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