Uses of Class
net.minecraft.entity.ai.attributes.Attribute
-
-
Uses of Attribute in net.minecraft.command.arguments
Methods in net.minecraft.command.arguments that return Attribute Modifier and Type Method Description static AttributeResourceLocationArgument. getAttribute(com.mojang.brigadier.context.CommandContext<CommandSource> p_239094_0_, java.lang.String p_239094_1_) -
Uses of Attribute in net.minecraft.command.impl
Methods in net.minecraft.command.impl with parameters of type Attribute Modifier and Type Method Description private static intAttributeCommand. addModifier(CommandSource p_241010_0_, Entity p_241010_1_, Attribute p_241010_2_, java.util.UUID p_241010_3_, java.lang.String p_241010_4_, double p_241010_5_, AttributeModifier.Operation p_241010_7_)private static intAttributeCommand. getAttributeBase(CommandSource p_241016_0_, Entity p_241016_1_, Attribute p_241016_2_, double p_241016_3_)private static ModifiableAttributeInstanceAttributeCommand. getAttributeInstance(Entity p_241002_0_, Attribute p_241002_1_)private static intAttributeCommand. getAttributeModifier(CommandSource p_241009_0_, Entity p_241009_1_, Attribute p_241009_2_, java.util.UUID p_241009_3_, double p_241009_4_)private static intAttributeCommand. getAttributeValue(CommandSource p_241007_0_, Entity p_241007_1_, Attribute p_241007_2_, double p_241007_3_)private static LivingEntityAttributeCommand. getEntityWithAttribute(Entity p_241014_0_, Attribute p_241014_1_)private static intAttributeCommand. removeModifier(CommandSource p_241008_0_, Entity p_241008_1_, Attribute p_241008_2_, java.util.UUID p_241008_3_)private static intAttributeCommand. setAttributeBase(CommandSource p_241019_0_, Entity p_241019_1_, Attribute p_241019_2_, double p_241019_3_) -
Uses of Attribute in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Attribute Modifier and Type Method Description ModifiableAttributeInstanceLivingEntity. getAttribute(Attribute p_110148_1_)doubleLivingEntity. getAttributeBaseValue(Attribute p_233638_1_)doubleLivingEntity. getAttributeValue(Attribute p_233637_1_) -
Uses of Attribute in net.minecraft.entity.ai.attributes
Subclasses of Attribute in net.minecraft.entity.ai.attributes Modifier and Type Class Description classRangedAttributeFields in net.minecraft.entity.ai.attributes declared as Attribute Modifier and Type Field Description static AttributeAttributes. ARMORstatic AttributeAttributes. ARMOR_TOUGHNESSstatic AttributeAttributes. ATTACK_DAMAGEstatic AttributeAttributes. ATTACK_KNOCKBACKstatic AttributeAttributes. ATTACK_SPEEDprivate AttributeModifiableAttributeInstance. attributestatic AttributeAttributes. FLYING_SPEEDstatic AttributeAttributes. FOLLOW_RANGEstatic AttributeAttributes. JUMP_STRENGTHstatic AttributeAttributes. KNOCKBACK_RESISTANCEstatic AttributeAttributes. LUCKstatic AttributeAttributes. MAX_HEALTHstatic AttributeAttributes. MOVEMENT_SPEEDstatic AttributeAttributes. SPAWN_REINFORCEMENTS_CHANCEFields in net.minecraft.entity.ai.attributes with type parameters of type Attribute Modifier and Type Field Description private java.util.Map<Attribute,ModifiableAttributeInstance>AttributeModifierManager. attributesprivate java.util.Map<Attribute,ModifiableAttributeInstance>AttributeModifierMap.MutableAttribute. builderprivate java.util.Map<Attribute,ModifiableAttributeInstance>AttributeModifierMap. instancesMethods in net.minecraft.entity.ai.attributes that return Attribute Modifier and Type Method Description AttributeModifiableAttributeInstance. getAttribute()private static AttributeAttributes. register(java.lang.String p_233831_0_, Attribute p_233831_1_)AttributeAttribute. setSyncable(boolean p_233753_1_)Methods in net.minecraft.entity.ai.attributes with parameters of type Attribute Modifier and Type Method Description AttributeModifierMap.MutableAttributeAttributeModifierMap.MutableAttribute. add(Attribute p_233814_1_)AttributeModifierMap.MutableAttributeAttributeModifierMap.MutableAttribute. add(Attribute p_233815_1_, double p_233815_2_)private ModifiableAttributeInstanceAttributeModifierMap.MutableAttribute. create(Attribute p_233817_1_)ModifiableAttributeInstanceAttributeModifierMap. createInstance(java.util.function.Consumer<ModifiableAttributeInstance> p_233806_1_, Attribute p_233806_2_)private ModifiableAttributeInstanceAttributeModifierMap. getAttributeInstance(Attribute p_233810_1_)doubleAttributeModifierManager. getBaseValue(Attribute p_233797_1_)doubleAttributeModifierMap. getBaseValue(Attribute p_233807_1_)ModifiableAttributeInstanceAttributeModifierManager. getInstance(Attribute p_233779_1_)doubleAttributeModifierManager. getModifierValue(Attribute p_233791_1_, java.util.UUID p_233791_2_)doubleAttributeModifierMap. getModifierValue(Attribute p_233805_1_, java.util.UUID p_233805_2_)doubleAttributeModifierManager. getValue(Attribute p_233795_1_)doubleAttributeModifierMap. getValue(Attribute p_233804_1_)booleanAttributeModifierManager. hasAttribute(Attribute p_233790_1_)booleanAttributeModifierMap. hasAttribute(Attribute p_233809_1_)booleanAttributeModifierMap.MutableAttribute. hasAttribute(Attribute attribute)booleanAttributeModifierManager. hasModifier(Attribute p_233782_1_, java.util.UUID p_233782_2_)booleanAttributeModifierMap. hasModifier(Attribute p_233808_1_, java.util.UUID p_233808_2_)private static AttributeAttributes. register(java.lang.String p_233831_0_, Attribute p_233831_1_)Method parameters in net.minecraft.entity.ai.attributes with type arguments of type Attribute Modifier and Type Method Description voidAttributeModifierManager. addTransientAttributeModifiers(com.google.common.collect.Multimap<Attribute,AttributeModifier> p_233793_1_)voidAttributeModifierManager. removeAttributeModifiers(com.google.common.collect.Multimap<Attribute,AttributeModifier> p_233785_1_)Constructors in net.minecraft.entity.ai.attributes with parameters of type Attribute Constructor Description ModifiableAttributeInstance(Attribute p_i231501_1_, java.util.function.Consumer<ModifiableAttributeInstance> p_i231501_2_)Constructor parameters in net.minecraft.entity.ai.attributes with type arguments of type Attribute Constructor Description AttributeModifierMap(java.util.Map<Attribute,ModifiableAttributeInstance> p_i231503_1_) -
Uses of Attribute in net.minecraft.item
Fields in net.minecraft.item with type parameters of type Attribute Modifier and Type Field Description private com.google.common.collect.Multimap<Attribute,AttributeModifier>ArmorItem. defaultModifiersprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>SwordItem. defaultModifiersprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>ToolItem. defaultModifiersprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>TridentItem. defaultModifiersMethods in net.minecraft.item that return types with arguments of type Attribute Modifier and Type Method Description com.google.common.collect.Multimap<Attribute,AttributeModifier>ItemStack. getAttributeModifiers(EquipmentSlotType p_111283_1_)com.google.common.collect.Multimap<Attribute,AttributeModifier>ArmorItem. getDefaultAttributeModifiers(EquipmentSlotType p_111205_1_)com.google.common.collect.Multimap<Attribute,AttributeModifier>Item. getDefaultAttributeModifiers(EquipmentSlotType p_111205_1_)Deprecated.com.google.common.collect.Multimap<Attribute,AttributeModifier>SwordItem. getDefaultAttributeModifiers(EquipmentSlotType p_111205_1_)com.google.common.collect.Multimap<Attribute,AttributeModifier>ToolItem. getDefaultAttributeModifiers(EquipmentSlotType p_111205_1_)com.google.common.collect.Multimap<Attribute,AttributeModifier>TridentItem. getDefaultAttributeModifiers(EquipmentSlotType p_111205_1_)Methods in net.minecraft.item with parameters of type Attribute Modifier and Type Method Description voidItemStack. addAttributeModifier(Attribute p_185129_1_, AttributeModifier p_185129_2_, EquipmentSlotType p_185129_3_) -
Uses of Attribute in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions declared as Attribute Modifier and Type Field Description private AttributeSetAttributes.Modifier. attributeConstructors in net.minecraft.loot.functions with parameters of type Attribute Constructor Description Modifier(java.lang.String p_i232172_1_, Attribute p_i232172_2_, AttributeModifier.Operation p_i232172_3_, RandomValueRange p_i232172_4_, EquipmentSlotType[] p_i232172_5_, java.util.UUID p_i232172_6_) -
Uses of Attribute in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as Attribute Modifier and Type Field Description private AttributeSEntityPropertiesPacket.Snapshot. attributeMethods in net.minecraft.network.play.server that return Attribute Modifier and Type Method Description AttributeSEntityPropertiesPacket.Snapshot. getAttribute()Constructors in net.minecraft.network.play.server with parameters of type Attribute Constructor Description Snapshot(Attribute p_i232582_2_, double p_i232582_3_, java.util.Collection<AttributeModifier> p_i232582_5_) -
Uses of Attribute in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type Attribute Modifier and Type Field Description private java.util.Map<Attribute,AttributeModifier>Effect. attributeModifiersMethods in net.minecraft.potion that return types with arguments of type Attribute Modifier and Type Method Description java.util.Map<Attribute,AttributeModifier>Effect. getAttributeModifiers()Methods in net.minecraft.potion with parameters of type Attribute Modifier and Type Method Description EffectEffect. addAttributeModifier(Attribute p_220304_1_, java.lang.String p_220304_2_, double p_220304_3_, AttributeModifier.Operation p_220304_5_) -
Uses of Attribute in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Attribute Modifier and Type Field Description static Registry<Attribute>Registry. ATTRIBUTEDeprecated.static RegistryKey<Registry<Attribute>>Registry. ATTRIBUTE_REGISTRY -
Uses of Attribute in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type Attribute Modifier and Type Field Description private static DeferredRegister<Attribute>ForgeMod. ATTRIBUTESstatic RegistryObject<Attribute>ForgeMod. ENTITY_GRAVITYstatic RegistryObject<Attribute>ForgeMod. NAMETAG_DISTANCEstatic RegistryObject<Attribute>ForgeMod. REACH_DISTANCEstatic RegistryObject<Attribute>ForgeMod. SWIM_SPEEDMethods in net.minecraftforge.common that return types with arguments of type Attribute Modifier and Type Method Description static com.google.common.collect.Multimap<Attribute,AttributeModifier>ForgeHooks. getAttributeModifiers(ItemStack stack, EquipmentSlotType equipmentSlot, com.google.common.collect.Multimap<Attribute,AttributeModifier> attributes)Hook to fireItemAttributeModifierEvent.Method parameters in net.minecraftforge.common with type arguments of type Attribute Modifier and Type Method Description static com.google.common.collect.Multimap<Attribute,AttributeModifier>ForgeHooks. getAttributeModifiers(ItemStack stack, EquipmentSlotType equipmentSlot, com.google.common.collect.Multimap<Attribute,AttributeModifier> attributes)Hook to fireItemAttributeModifierEvent. -
Uses of Attribute in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return types with arguments of type Attribute Modifier and Type Method Description default com.google.common.collect.Multimap<Attribute,AttributeModifier>IForgeItem. getAttributeModifiers(EquipmentSlotType slot, ItemStack stack)ItemStack sensitive version of getItemAttributeModifiers -
Uses of Attribute in net.minecraftforge.debug.entity
Fields in net.minecraftforge.debug.entity with type parameters of type Attribute Modifier and Type Field Description private static DeferredRegister<Attribute>AddEntityAttributeTest. ATTRIBUTESstatic RegistryObject<Attribute>AddEntityAttributeTest. TEST_ATTRMethods in net.minecraftforge.debug.entity that return types with arguments of type Attribute Modifier and Type Method Description com.google.common.collect.Multimap<Attribute,AttributeModifier>GravityAttributeTest.ItemGravityStick. getDefaultAttributeModifiers(EquipmentSlotType slot) -
Uses of Attribute in net.minecraftforge.debug.entity.player
Fields in net.minecraftforge.debug.entity.player with type parameters of type Attribute Modifier and Type Field Description private com.google.common.collect.Multimap<Attribute,AttributeModifier>PlayerAttackKnockbackTest.KnockbackSwordItem. defaultModifiersMethods in net.minecraftforge.debug.entity.player that return types with arguments of type Attribute Modifier and Type Method Description com.google.common.collect.Multimap<Attribute,AttributeModifier>PlayerAttackKnockbackTest.KnockbackSwordItem. getDefaultAttributeModifiers(EquipmentSlotType equipmentSlotType) -
Uses of Attribute in net.minecraftforge.event
Fields in net.minecraftforge.event with type parameters of type Attribute Modifier and Type Field Description private com.google.common.collect.Multimap<Attribute,AttributeModifier>ItemAttributeModifierEvent. modifiableModifiersprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>ItemAttributeModifierEvent. originalModifiersprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>ItemAttributeModifierEvent. unmodifiableModifiersMethods in net.minecraftforge.event that return types with arguments of type Attribute Modifier and Type Method Description private com.google.common.collect.Multimap<Attribute,AttributeModifier>ItemAttributeModifierEvent. getModifiableMap()Gets a modifiable map instance, creating it if the current map is currently unmodifiablecom.google.common.collect.Multimap<Attribute,AttributeModifier>ItemAttributeModifierEvent. getModifiers()Returns an unmodifiable view of the attribute multimap.com.google.common.collect.Multimap<Attribute,AttributeModifier>ItemAttributeModifierEvent. getOriginalModifiers()Returns the attribute map before any changes from other event listeners was made.Methods in net.minecraftforge.event with parameters of type Attribute Modifier and Type Method Description booleanItemAttributeModifierEvent. addModifier(Attribute attribute, AttributeModifier modifier)Adds a new attribute modifier to the given stack.java.util.Collection<AttributeModifier>ItemAttributeModifierEvent. removeAttribute(Attribute attribute)Removes all modifiers for the given attributebooleanItemAttributeModifierEvent. removeModifier(Attribute attribute, AttributeModifier modifier)Removes a single modifier for the given attributeConstructor parameters in net.minecraftforge.event with type arguments of type Attribute Constructor Description ItemAttributeModifierEvent(ItemStack stack, EquipmentSlotType slotType, com.google.common.collect.Multimap<Attribute,AttributeModifier> modifiers) -
Uses of Attribute in net.minecraftforge.event.entity
Methods in net.minecraftforge.event.entity with parameters of type Attribute Modifier and Type Method Description voidEntityAttributeModificationEvent. add(EntityType<? extends LivingEntity> entityType, Attribute attribute)voidEntityAttributeModificationEvent. add(EntityType<? extends LivingEntity> entityType, Attribute attribute, double value)booleanEntityAttributeModificationEvent. has(EntityType<? extends LivingEntity> entityType, Attribute attribute) -
Uses of Attribute in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type Attribute Modifier and Type Field Description static IForgeRegistry<Attribute>ForgeRegistries. ATTRIBUTESstatic RegistryKey<Registry<Attribute>>ForgeRegistries.Keys. ATTRIBUTESMethods in net.minecraftforge.registries with parameters of type Attribute Modifier and Type Method Description voidGameData.AttributeCallbacks. onValidate(IForgeRegistryInternal<Attribute> owner, RegistryManager stage, int id, ResourceLocation key, Attribute obj)Method parameters in net.minecraftforge.registries with type arguments of type Attribute Modifier and Type Method Description voidGameData.AttributeCallbacks. onValidate(IForgeRegistryInternal<Attribute> owner, RegistryManager stage, int id, ResourceLocation key, Attribute obj)
-