Uses of Record Class
net.minecraft.world.item.component.ItemAttributeModifiers
Package
Description
-
Uses of ItemAttributeModifiers in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionboolean
ItemAttributeModifiersPredicate.matches
(ItemStack p_341223_, ItemAttributeModifiers p_341374_) -
Uses of ItemAttributeModifiers in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentType
<ItemAttributeModifiers> DataComponents.ATTRIBUTE_MODIFIERS
-
Uses of ItemAttributeModifiers in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final Supplier
<ItemAttributeModifiers> ArmorItem.defaultModifiers
Modifier and TypeMethodDescriptionstatic ItemAttributeModifiers
DiggerItem.createAttributes
(Tier p_330688_, float p_330237_, float p_332017_) static ItemAttributeModifiers
MaceItem.createAttributes()
static ItemAttributeModifiers
SwordItem.createAttributes
(Tier p_330371_, float p_331976_, float p_332104_) Neo: Method overload to allow giving a float for damage instead of an int.static ItemAttributeModifiers
SwordItem.createAttributes
(Tier p_330371_, int p_331976_, float p_332104_) static ItemAttributeModifiers
TridentItem.createAttributes()
ArmorItem.getDefaultAttributeModifiers()
Item.getDefaultAttributeModifiers()
Deprecated. -
Uses of ItemAttributeModifiers in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionstatic final ItemAttributeModifiers
ItemAttributeModifiers.EMPTY
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ItemAttributeModifiers> ItemAttributeModifiers.CODEC
private static final com.mojang.serialization.Codec
<ItemAttributeModifiers> ItemAttributeModifiers.FULL_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemAttributeModifiers> ItemAttributeModifiers.STREAM_CODEC
Modifier and TypeMethodDescriptionItemAttributeModifiers.Builder.build()
ItemAttributeModifiers.withModifierAdded
(Holder<Attribute> p_330266_, AttributeModifier p_331954_, EquipmentSlotGroup p_332175_) ItemAttributeModifiers.withTooltip
(boolean p_335777_) -
Uses of ItemAttributeModifiers in net.minecraft.world.level.storage.loot.functions
Modifier and TypeMethodDescriptionprivate ItemAttributeModifiers
SetAttributesFunction.updateModifiers
(LootContext p_339627_, ItemAttributeModifiers p_339590_) Modifier and TypeMethodDescriptionprivate ItemAttributeModifiers
SetAttributesFunction.updateModifiers
(LootContext p_339627_, ItemAttributeModifiers p_339590_) -
Uses of ItemAttributeModifiers in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault ItemAttributeModifiers
IItemExtension.getAttributeModifiers
(ItemStack stack) ItemStack sensitive version of getItemAttributeModifiers -
Uses of ItemAttributeModifiers in net.neoforged.neoforge.oldtest.item
Modifier and TypeMethodDescriptionMayFlyAttributeTest.InvertedTelescope.getAttributeModifiers
(ItemStack stack)