Class FabricDefaultAttributeRegistry

java.lang.Object
net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry

public final class FabricDefaultAttributeRegistry extends Object
Allows registering custom default attributes for living entities.

All living entity types must have default attributes registered. See FabricEntityTypeBuilder for utility on entity type registration in general.

A registered default attribute for an entity type can be retrieved through DefaultAttributeRegistry.get(EntityType).

See Also: