History - net.minecraft.world.item.enchantment.effects.EnchantmentAttributeEffect

1.21.3

Names

dar

dep

Fields

ResourceLocation: b, id, comp_2839, id, f_337022_

ResourceLocation: b, id, comp_2839, id

Holder<Attribute>: d, attribute, comp_2718, attribute, f_337199_

Holder<Attribute>: d, attribute, comp_2718, attribute

LevelBasedValue: e, amount, comp_2719, amount, f_336750_

LevelBasedValue: e, amount, comp_2719, amount

AttributeModifier$Operation: f, operation, comp_2720, operation, f_336935_

AttributeModifier$Operation: f, operation, comp_2720, operation

com.mojang.serialization.MapCodec<EnchantmentAttributeEffect>: a, CODEC, field_51706, CODEC, f_336678_

com.mojang.serialization.MapCodec<EnchantmentAttributeEffect>: a, CODEC, field_51706, CODEC

Constructors

Methods

ResourceLocation (StringRepresentable): a, idForSlot, method_60769, getModifierId, m_339896_

ResourceLocation (StringRepresentable): a, idForSlot, method_60769, getModifierId

AttributeModifier (int, StringRepresentable): a, getModifier, method_60228, createAttributeModifier, m_338573_

AttributeModifier (int, StringRepresentable): a, getModifier, method_60228, createAttributeModifier

void (ServerLevel, int, EnchantedItemInUse, Entity, Vec3, boolean): a, onChangedBlock, method_60221, apply, m_339697_

void (ServerLevel, int, EnchantedItemInUse, Entity, Vec3, boolean): a, onChangedBlock, method_60221, apply

void (EnchantedItemInUse, Entity, Vec3, int): a, onDeactivated, method_60222, remove, m_338378_

void (EnchantedItemInUse, Entity, Vec3, int): a, onDeactivated, method_60222, remove

com.google.common.collect.HashMultimap<Holder<Attribute>, AttributeModifier> (int, EquipmentSlot): a, makeAttributeMap, method_60230, getModifiers, m_339104_

com.google.common.collect.HashMultimap<Holder<Attribute>, AttributeModifier> (int, EquipmentSlot): a, makeAttributeMap, method_60230, getModifiers

com.mojang.serialization.MapCodec<EnchantmentAttributeEffect> (): a, codec, method_60219, getCodec, m_338403_

com.mojang.serialization.MapCodec<EnchantmentAttributeEffect> (): a, codec, method_60219, getCodec

ResourceLocation (): b, id, comp_2839, id, f_337022_

ResourceLocation (): b, id, comp_2839, id

Holder<Attribute> (): c, attribute, comp_2718, attribute, f_337199_

Holder<Attribute> (): c, attribute, comp_2718, attribute

LevelBasedValue (): d, amount, comp_2719, amount, f_336750_

LevelBasedValue (): d, amount, comp_2719, amount

AttributeModifier$Operation (): e, operation, comp_2720, operation, f_336935_

AttributeModifier$Operation (): e, operation, comp_2720, operation

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

dar

net.minecraft.world.item.enchantment.effects.EnchantmentAttributeEffect

net.minecraft.class_9720

net.minecraft.enchantment.effect.AttributeEnchantmentEffect

net.minecraft.src.C_336593_

net.minecraft.world.item.enchantment.effects.EnchantmentAttributeEffect

Fields

ResourceLocation: b, id, comp_2839, id, f_337022_

Holder<Attribute>: d, attribute, comp_2718, attribute, f_337199_

LevelBasedValue: e, amount, comp_2719, amount, f_336750_

AttributeModifier$Operation: f, operation, comp_2720, operation, f_336935_

com.mojang.serialization.MapCodec<EnchantmentAttributeEffect>: a, CODEC, field_51706, CODEC, f_336678_

Constructors

(ResourceLocation, Holder<Attribute>, LevelBasedValue, AttributeModifier$Operation)

Methods

ResourceLocation (StringRepresentable): a, idForSlot, method_60769, getModifierId, m_339896_

AttributeModifier (int, StringRepresentable): a, getModifier, method_60228, createAttributeModifier, m_338573_

void (ServerLevel, int, EnchantedItemInUse, Entity, Vec3, boolean): a, onChangedBlock, method_60221, apply, m_339697_

void (EnchantedItemInUse, Entity, Vec3, int): a, onDeactivated, method_60222, remove, m_338378_

com.google.common.collect.HashMultimap<Holder<Attribute>, AttributeModifier> (int, EquipmentSlot): a, makeAttributeMap, method_60230, getModifiers, m_339104_

com.mojang.serialization.MapCodec<EnchantmentAttributeEffect> (): a, codec, method_60219, getCodec, m_338403_

ResourceLocation (): b, id, comp_2839, id, f_337022_

Holder<Attribute> (): c, attribute, comp_2718, attribute, f_337199_

LevelBasedValue (): d, amount, comp_2719, amount, f_336750_

AttributeModifier$Operation (): e, operation, comp_2720, operation, f_336935_