Class NeoForgeRegistryCallbacks.AttributeCallbacks

java.lang.Object
net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.AttributeCallbacks
All Implemented Interfaces:
BakeCallback<net.minecraft.world.entity.ai.attributes.Attribute>, RegistryCallback<net.minecraft.world.entity.ai.attributes.Attribute>
Enclosing class:
NeoForgeRegistryCallbacks

static class NeoForgeRegistryCallbacks.AttributeCallbacks extends Object implements BakeCallback<net.minecraft.world.entity.ai.attributes.Attribute>
  • Field Details

  • Constructor Details

    • AttributeCallbacks

      AttributeCallbacks()
  • Method Details

    • onBake

      public void onBake(net.minecraft.core.Registry<net.minecraft.world.entity.ai.attributes.Attribute> registry)
      Description copied from interface: BakeCallback
      Called when the registry is frozen, and all registration is finished.
      Specified by:
      onBake in interface BakeCallback<net.minecraft.world.entity.ai.attributes.Attribute>
      Parameters:
      registry - the registry