Class EntityAttributeCreationEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityAttributeCreationEvent
- All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
public class EntityAttributeCreationEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.fml.event.IModBusEvent
EntityAttributeCreationEvent.
Use this event to register attributes for your own EntityTypes. This event is fired after registration and before common setup.
Fired on the Mod bus
Use this event to register attributes for your own EntityTypes. This event is fired after registration and before common setup.
Fired on the Mod bus
IModBusEvent
.-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<EntityType<? extends LivingEntity>, AttributeSupplier> -
Constructor Summary
ConstructorDescriptionEntityAttributeCreationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier> map) -
Method Summary
Modifier and TypeMethodDescriptionvoid
put
(EntityType<? extends LivingEntity> entity, AttributeSupplier map)
-
Field Details
-
map
-
-
Constructor Details
-
EntityAttributeCreationEvent
-
-
Method Details
-
put
-