#Custom Block Entity with Screen

8 messages · Page 1 of 1 (latest)

hazy summit
#

be sure you are class loading your registration classes are mod init.

normally this is done by adding a method to your class and calling it from your onInitialize method

#
public static void init() { 
// intentionally left blank. called to force class load
}
public void onInitialize() {
  ModBlocks.init();
  ModItems.init();
  ...
}
mortal pasture
#
GitHub

the repo where i try and understand Java and Minecraft Modding - TheGingino/MCModding

GitHub

the repo where i try and understand Java and Minecraft Modding - TheGingino/MCModding

#

I followed a KaupenJoe video for 1.20 but from the comment in the video it gave me other info and for my friend it worked but for me it didnt

hazy summit
#

can you post the rest of the error

mortal pasture
#

Caused by: java.lang.IllegalStateException: This registry can't create intrusive holders

hazy summit
#

there is more than just that