Class GlobalEntityTypeAttributes
java.lang.Object
net.minecraft.entity.ai.attributes.GlobalEntityTypeAttributes
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> Deprecated.private static final org.apache.logging.log4j.Logger
private static final Map<EntityType<? extends LivingEntity>,
AttributeModifierMap> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeModifierMap
getSupplier
(EntityType<? extends LivingEntity> p_233835_0_) static boolean
hasSupplier
(EntityType<?> p_233837_0_) static AttributeModifierMap
put
(EntityType<? extends LivingEntity> type, AttributeModifierMap map) Deprecated.static void
validate()
-
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()
-