Class GlobalEntityTypeAttributes
java.lang.Object
net.minecraft.entity.ai.attributes.GlobalEntityTypeAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,AttributeModifierMap> Deprecated.private static final org.apache.logging.log4j.Loggerprivate static final Map<EntityType<? extends LivingEntity>,AttributeModifierMap> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeModifierMapgetSupplier(EntityType<? extends LivingEntity> p_233835_0_) static booleanhasSupplier(EntityType<?> p_233837_0_) static AttributeModifierMapput(EntityType<? extends LivingEntity> type, AttributeModifierMap map) Deprecated.static voidvalidate()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
SUPPLIERS
-
FORGE_ATTRIBUTES
@Deprecated private static final Map<EntityType<? extends LivingEntity>,AttributeModifierMap> FORGE_ATTRIBUTESDeprecated.
-
-
Constructor Details
-
GlobalEntityTypeAttributes
public GlobalEntityTypeAttributes()
-
-
Method Details
-
put
@Deprecated public static AttributeModifierMap put(EntityType<? extends LivingEntity> type, AttributeModifierMap map) Deprecated.FORGE: Use net.minecraftforge.event.entity.EntityAttributeCreationEvent#put To be removed in 1.17 -
getSupplier
-
hasSupplier
-
validate
public static void validate()
-