Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About DWyvern

  • Rank
    Tree Puncher
  1. @SubscribeEvent public static void onMemoryModuleRegistry(final RegistryEvent.Register<MemoryModuleType<?>> { //Are you referring to some sort of event like this? } Moving ModMemoryModuleType.register(); From Main to My Subscribe event class in the above method seems to work as well. Thank you.
  2. Please tell which event would that be then? I've spent several days trying to figure out how to get this to work as the normal deferred registration didn't work, so this is what I had come up with.
  3. I'm not sure if you were able to figure this out. But I came across the same problem with Deferred Registration. You cannot use Deferred Registration with Those, as I believe there are parts of the program that requires immediate access to the objects, and with deferred registration, they are not registered to the registry till after theses methods run. So this is how I implemented it: public class ModMemoryModuleType<U> extends MemoryModuleType<U> { public static MemoryModuleType<Boolean> PICKUP_ITEM = registerWithCodec("pickup_item_memory_type", Codec.BOOL)
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.