Jump to content

chriss1998_15

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by chriss1998_15

  1. 6 hours ago, Draco18s said:
    
    ForgeRegistries.BLOCKS.register(block);

    What?

    No. Bad modder, no cookie.

     

    The whole point of the registry events is that you use event.getRegistry().register(...)

     

    Ditto for your ModItems class.

     

    Similarly, this is useless:

    
            if (!event.getName().equals(ForgeRegistries.BLOCKS.getRegistryName())) {
                return;
            }

     

    https://bitbucket.org/chriss199815/whatdoiknow/src/b5f75d284115320e57b10671a8c1825fef6f716b/src/main/java/de/chriss1998/wdik/init/ModBlocks.java#lines-79

    Use @ObjectHolder do not assign to fields yourself.

    Ok, I will look into this but what does that have with the Blockstates? Or is that related to this? 

  2. Hello,

     

    I recently got back into Modding and created my first Block with all the .JSONs and the Texture are not loading and the looks weird in my head and in the World.

    Here is a link to the Repo. This is meant to be a test Mod.

    Is there somebody who can help? If so Thanks in advance. Also if there are questions please feel ask.

     

    Chris

×
×
  • Create New...

Important Information

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