Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/16/17 in all areas

  1. Look at the net.minecraft.world.gen package for Minecraft's world generation classes. Structures like the Stronghold, Mineshaft and Nether Fortress are in the net.minecraft.world.gen.structure package.
    1 point
  2. Have a look at how botania uses the event to render a ghost preview of a block: https://github.com/Vazkii/Botania/blob/master/src/main/java/vazkii/botania/client/core/handler/AstrolabePreviewHandler.java You'll also have to create a Proxy class to register your event: https://github.com/Vazkii/Botania/blob/master/src/main/java/vazkii/botania/client/core/proxy/ClientProxy.java Read more on events here: https://mcforge.readthedocs.io/en/latest/events/intro/ Looking through other open source mods is generally a good way to get an understanding of how to approach certain things.
    1 point
  3. For one your renderer does absolutely nothing. As you are extending Render and not any of it's child classes you must manualy render the model of your choice in there. It most likely will be the ModelBrianade I see a commented out reference to. Rendering registration must be done in a client-only class like your proxy. Your current implementation will crash the server. No, your SideOnly here will not save you. It in fact will be the cause of your crash. Why is the override commented out? If your IDE/compiler throws an error you can't just comment out the Override and pretend that it never happened. This is the purpose of the override - to throw an error if the thing you are overriding can't be overriden for one reason or another. You are doing something weird with types. If your renderer renders an EntityBrianade just use the EntityBrianade as it's type, not <T extends EntityBrianade>
    1 point
×
×
  • Create New...

Important Information

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