历史 - net.minecraft.world.item.enchantment.effects.EnchantmentAttributeEffect

1.21.11

名称

dou

dtg

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

djy

dou

字段

构造函数

方法

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

dhn

djy

字段

构造函数

方法

1.21.5

名称

ddq

dhn

字段

构造函数

方法

1.21.4

名称

dep

ddq

字段

构造函数

方法

1.21.3

名称

dar

dep

字段

构造函数

方法

1.21.1

名称

字段

构造函数

方法

1.21

名称

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

字段

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_

构造函数

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

方法

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_