Jump to content

DavidM

Members
  • Posts

    1830
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by DavidM

  1. Of course that does not work. There is no relations between options.txt and a world. Please post your debug.log.
  2. Unfortunately it sounds like you were blindly following from one of the (rather terrible) tutorials on YouTube, and therefore do not understand how registering stuff actually works. A class per registry entry is not necessary. All you need is an instance of Block to register a type of block. In this case, you should instantiate an instance of SlabBlock per slab you want, and register these instances. I would also suggest reading the registry page on Forge's Documentation: https://mcforge.readthedocs.io/en/1.15.x/concepts/registries/
  3. Install Java and launch the .jar file.
  4. Unless your mod is meant for a server with a large amount (say more than 500) of players, using capabilities is far superior than using a database. At a scale of normal modded Minecraft (which is normally less than 100 players), storing data on disk and retrieving it is way less impactful than setting up an entire database. Moreover, capabilities allows cross-mod integration, which is often times important if you want to use other mods.
  5. The only Discord I know is Forge's Discord server, which (I think) still only supports versions above 1.14. I don't use any other forum/social media for modding other than the Forge forum, so I have limited knowledge on the topic.
  6. I do not know any that supports versions below 1.14.
  7. On another forum that supports versions below 1.14. It is more advisable to update your targeted version to 1.14 or 1.15 though.
  8. 1.7.10 is no longer supported on these forums due to its age. Please update to a newer version of Minecraft (1.14 and above) to receive support.
  9. That still would not affect creative tabs. However 1.12.2 is no longer supported on this forum. Please update to a newer version to receive support.
  10. A GitHub repo would be the most optimal way.
  11. Please post your code. Animating textures has nothing to do with creative tabs, and it is likely that you've messed up important parts of your mod.
  12. You shouldn't be overriding them in this case. Check out ItemToolTipEvent. The enchantment part is a bit tricky, and unfortunately I do not know of an appropriate method of adding it.
  13. I thought the OP was comparing DeferredRegistry to RegistryEvent, and therefore assumed that static initialization is not involved (it is a programmer screw-up rather than a code-wise problem)
  14. There isn’t really a program-wise advantage for using deferred registry (deferred registry still subscribes to the registry event); however, it is more convinient and simpler to use.
  15. The version of Minecraft. Versions below 1.14 are not supported.
  16. Just realized that you are not experiencing a crash. Please post your debug.log.
  17. Try removing Optifine. I mistakened it as a crash.
  18. ClientChatReceivedEvent is for receiving event, not sending. If you want to prevent a player from sending messages, you have to do it on the server side. Clients can always bypass restrictions on the client side.
  19. It is recommended to not follow such tutorials on YouTube, as their quality is subpar, as well as producing code that does not follow established conventions (including problematic code). It is not in the same class as the current one, so you need to reference the class first. This should be basic Java.
  20. How did you install Forge? How did you know that you are launching vanilla instead of Forge? Please post the debug.log.
  21. Please post the debug.log.
  22. Delete your config folder and try again.
  23. Please keep this forum in English. Try removing Optifine.
  24. Xaero’s Minimap only allows OP to teleport. If you don’t give out OP then others cannot teleport.
  25. You really shouldn’t be changing stuff like that.
×
×
  • Create New...

Important Information

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