Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/29/20 in all areas

  1. In official forge discord channel support 116 pinned msg:
    1 point
  2. There probably won't be many or any actually. Either way, if you are generating a file from nbt, you should look into the vanilla source and use that as a baseline. Since you are not doing anything that might require the JigsawManager, using something like an igloo is a good start for learning how to use the Template system. Just remember, a feature of each structure should be present in all biomes while the actual structure itself should only be present in the biomes you would like it to spawn in. You will need to register your features/structure using their respective forge registry before use in the JSON file itself. If you are using vanilla structures/features or just modifying the config file, you can do that purely within JSON itself.
    1 point
  3. If you refresh the gradle dependencies, it should import the classes. It not would indicate that the build.gradle file is erroring or something when pulling the information itself is. What is the stacktrace when running the gradle?
    1 point
  4. Ah, I'm sorry. I'm quite tired and misread for some reason. So yes, you would need a packet setup. As the javadoc says, 'The server is not aware of when the client right clicks empty space with an empty hand, you will need to tell the server yourself.' However, I'm assuming this handles only the case when there is no item in the hand while the armor is on. You would also need to hook into RightClickItem to cover all use cases. However, that one is called on the server. So you can create a separate method to call the packet instance and the other event instance from.
    1 point
  5. If you only copied over the relevant files from a different project, then those source folders won't exist normally. You will need to create them manually and then rerun your gradle commands to tell everything that "hey, I exist now".
    1 point
  6. For sure it is possible to do this, and in fact it has already been done. However it is not really a simple thing to achieve, specially if you are new to modding..you may want to take a look at the MIneColonies mod, which implements npcs that literally do what you want, and start exploring the vanilla code that handles villager entities
    1 point
×
×
  • Create New...

Important Information

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