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

1.21

Names

dar

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

net.minecraft.class_9720

net.minecraft.unmapped.C_kyhkwlnd

net.minecraft.enchantment.effect.AttributeEnchantmentEffect

net.minecraft.unmapped.C_kyhkwlnd

net.minecraft.src.C_336593_

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

Fields

ResourceLocation: b, id, comp_2839, f_nbjnadyx, id, id, f_337022_

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

LevelBasedValue: e, amount, comp_2719, f_fmukdrnd, amount, amount, f_336750_

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

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

Constructors

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

Methods

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

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

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

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

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

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

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

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

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

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