History - net.minecraft.world.item.enchantment.EnchantmentEffectComponents
1.21.3
Names
dad
dea
Fields
com.mojang.serialization.Codec<DataComponentType<?>>: a, COMPONENT_CODEC, field_51657, COMPONENT_TYPE_CODEC, f_337677_
com.mojang.serialization.Codec<DataComponentType<?>>: a, COMPONENT_CODEC, field_51657, COMPONENT_TYPE_CODEC
com.mojang.serialization.Codec<DataComponentMap>: b, CODEC, field_51658, COMPONENT_MAP_CODEC, f_337588_
com.mojang.serialization.Codec<DataComponentMap>: b, CODEC, field_51658, COMPONENT_MAP_CODEC
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: c, DAMAGE_PROTECTION, field_51659, DAMAGE_PROTECTION, f_337120_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: c, DAMAGE_PROTECTION, field_51659, DAMAGE_PROTECTION
DataComponentType<List<ConditionalEffect<DamageImmunity>>>: d, DAMAGE_IMMUNITY, field_51660, DAMAGE_IMMUNITY, f_337071_
DataComponentType<List<ConditionalEffect<DamageImmunity>>>: d, DAMAGE_IMMUNITY, field_51660, DAMAGE_IMMUNITY
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: e, DAMAGE, field_51661, DAMAGE, f_336808_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: e, DAMAGE, field_51661, DAMAGE
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: f, SMASH_DAMAGE_PER_FALLEN_BLOCK, field_51662, SMASH_DAMAGE_PER_FALLEN_BLOCK, f_336648_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: f, SMASH_DAMAGE_PER_FALLEN_BLOCK, field_51662, SMASH_DAMAGE_PER_FALLEN_BLOCK
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: g, KNOCKBACK, field_51663, KNOCKBACK, f_336652_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: g, KNOCKBACK, field_51663, KNOCKBACK
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: h, ARMOR_EFFECTIVENESS, field_51664, ARMOR_EFFECTIVENESS, f_337003_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: h, ARMOR_EFFECTIVENESS, field_51664, ARMOR_EFFECTIVENESS
DataComponentType<List<TargetedConditionalEffect<EnchantmentEntityEffect>>>: i, POST_ATTACK, field_51665, POST_ATTACK, f_337512_
DataComponentType<List<TargetedConditionalEffect<EnchantmentEntityEffect>>>: i, POST_ATTACK, field_51665, POST_ATTACK
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: j, HIT_BLOCK, field_51666, HIT_BLOCK, f_337526_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: j, HIT_BLOCK, field_51666, HIT_BLOCK
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: k, ITEM_DAMAGE, field_51667, ITEM_DAMAGE, f_336904_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: k, ITEM_DAMAGE, field_51667, ITEM_DAMAGE
DataComponentType<List<EnchantmentAttributeEffect>>: l, ATTRIBUTES, field_51668, ATTRIBUTES, f_337300_
DataComponentType<List<EnchantmentAttributeEffect>>: l, ATTRIBUTES, field_51668, ATTRIBUTES
DataComponentType<List<TargetedConditionalEffect<EnchantmentValueEffect>>>: m, EQUIPMENT_DROPS, field_51669, EQUIPMENT_DROPS, f_336866_
DataComponentType<List<TargetedConditionalEffect<EnchantmentValueEffect>>>: m, EQUIPMENT_DROPS, field_51669, EQUIPMENT_DROPS
DataComponentType<List<ConditionalEffect<EnchantmentLocationBasedEffect>>>: n, LOCATION_CHANGED, field_51670, LOCATION_CHANGED, f_337527_
DataComponentType<List<ConditionalEffect<EnchantmentLocationBasedEffect>>>: n, LOCATION_CHANGED, field_51670, LOCATION_CHANGED
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: o, TICK, field_51671, TICK, f_336723_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: o, TICK, field_51671, TICK
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: p, AMMO_USE, field_51672, AMMO_USE, f_337385_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: p, AMMO_USE, field_51672, AMMO_USE
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: q, PROJECTILE_PIERCING, field_51673, PROJECTILE_PIERCING, f_337536_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: q, PROJECTILE_PIERCING, field_51673, PROJECTILE_PIERCING
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: r, PROJECTILE_SPAWNED, field_51674, PROJECTILE_SPAWNED, f_336685_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: r, PROJECTILE_SPAWNED, field_51674, PROJECTILE_SPAWNED
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: s, PROJECTILE_SPREAD, field_51675, PROJECTILE_SPREAD, f_336697_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: s, PROJECTILE_SPREAD, field_51675, PROJECTILE_SPREAD
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: t, PROJECTILE_COUNT, field_51676, PROJECTILE_COUNT, f_336729_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: t, PROJECTILE_COUNT, field_51676, PROJECTILE_COUNT
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: u, TRIDENT_RETURN_ACCELERATION, field_51678, TRIDENT_RETURN_ACCELERATION, f_336727_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: u, TRIDENT_RETURN_ACCELERATION, field_51678, TRIDENT_RETURN_ACCELERATION
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: v, FISHING_TIME_REDUCTION, field_51679, FISHING_TIME_REDUCTION, f_337049_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: v, FISHING_TIME_REDUCTION, field_51679, FISHING_TIME_REDUCTION
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: w, FISHING_LUCK_BONUS, field_51680, FISHING_LUCK_BONUS, f_336735_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: w, FISHING_LUCK_BONUS, field_51680, FISHING_LUCK_BONUS
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: x, BLOCK_EXPERIENCE, field_51681, BLOCK_EXPERIENCE, f_336894_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: x, BLOCK_EXPERIENCE, field_51681, BLOCK_EXPERIENCE
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: y, MOB_EXPERIENCE, field_51682, MOB_EXPERIENCE, f_337738_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: y, MOB_EXPERIENCE, field_51682, MOB_EXPERIENCE
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: z, REPAIR_WITH_XP, field_51652, REPAIR_WITH_XP, f_337452_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: z, REPAIR_WITH_XP, field_51652, REPAIR_WITH_XP
DataComponentType<EnchantmentValueEffect>: A, CROSSBOW_CHARGE_TIME, field_51677, CROSSBOW_CHARGE_TIME, f_336604_
DataComponentType<EnchantmentValueEffect>: A, CROSSBOW_CHARGE_TIME, field_51677, CROSSBOW_CHARGE_TIME
DataComponentType<List<CrossbowItem$ChargingSounds>>: B, CROSSBOW_CHARGING_SOUNDS, field_51653, CROSSBOW_CHARGING_SOUNDS, f_337250_
DataComponentType<List<CrossbowItem$ChargingSounds>>: B, CROSSBOW_CHARGING_SOUNDS, field_51653, CROSSBOW_CHARGING_SOUNDS
DataComponentType<List<Holder<SoundEvent>>>: C, TRIDENT_SOUND, field_51654, TRIDENT_SOUND, f_336670_
DataComponentType<List<Holder<SoundEvent>>>: C, TRIDENT_SOUND, field_51654, TRIDENT_SOUND
DataComponentType<Unit>: D, PREVENT_EQUIPMENT_DROP, field_51655, PREVENT_EQUIPMENT_DROP, f_337159_
DataComponentType<Unit>: D, PREVENT_EQUIPMENT_DROP, field_51655, PREVENT_EQUIPMENT_DROP
DataComponentType<Unit>: E, PREVENT_ARMOR_CHANGE, field_51656, PREVENT_ARMOR_CHANGE, f_337286_
DataComponentType<Unit>: E, PREVENT_ARMOR_CHANGE, field_51656, PREVENT_ARMOR_CHANGE
DataComponentType<EnchantmentValueEffect>: F, TRIDENT_SPIN_ATTACK_STRENGTH, field_51651, TRIDENT_SPIN_ATTACK_STRENGTH, f_337143_
DataComponentType<EnchantmentValueEffect>: F, TRIDENT_SPIN_ATTACK_STRENGTH, field_51651, TRIDENT_SPIN_ATTACK_STRENGTH
Constructors
Methods
DataComponentType<?> (Registry<DataComponentType<?>>): a, bootstrap, method_60079, getDefault, m_340296_
DataComponentType<?> (Registry<DataComponentType<?>>): a, bootstrap, method_60079, getDefault
<T> DataComponentType<T> (String, UnaryOperator<DataComponentType$Builder<T>>): a, register, method_60078, register, m_338438_
<T> DataComponentType<T> (String, UnaryOperator<DataComponentType$Builder<T>>): a, register, method_60078, register
1.21.1
Names
Fields
Constructors
Methods
1.21
Names
dad
net.minecraft.world.item.enchantment.EnchantmentEffectComponents
net.minecraft.class_9701
net.minecraft.component.EnchantmentEffectComponentTypes
net.minecraft.src.C_336480_
net.minecraft.world.item.enchantment.EnchantmentEffectComponents
Fields
com.mojang.serialization.Codec<DataComponentType<?>>: a, COMPONENT_CODEC, field_51657, COMPONENT_TYPE_CODEC, f_337677_
com.mojang.serialization.Codec<DataComponentMap>: b, CODEC, field_51658, COMPONENT_MAP_CODEC, f_337588_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: c, DAMAGE_PROTECTION, field_51659, DAMAGE_PROTECTION, f_337120_
DataComponentType<List<ConditionalEffect<DamageImmunity>>>: d, DAMAGE_IMMUNITY, field_51660, DAMAGE_IMMUNITY, f_337071_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: e, DAMAGE, field_51661, DAMAGE, f_336808_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: f, SMASH_DAMAGE_PER_FALLEN_BLOCK, field_51662, SMASH_DAMAGE_PER_FALLEN_BLOCK, f_336648_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: g, KNOCKBACK, field_51663, KNOCKBACK, f_336652_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: h, ARMOR_EFFECTIVENESS, field_51664, ARMOR_EFFECTIVENESS, f_337003_
DataComponentType<List<TargetedConditionalEffect<EnchantmentEntityEffect>>>: i, POST_ATTACK, field_51665, POST_ATTACK, f_337512_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: j, HIT_BLOCK, field_51666, HIT_BLOCK, f_337526_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: k, ITEM_DAMAGE, field_51667, ITEM_DAMAGE, f_336904_
DataComponentType<List<EnchantmentAttributeEffect>>: l, ATTRIBUTES, field_51668, ATTRIBUTES, f_337300_
DataComponentType<List<TargetedConditionalEffect<EnchantmentValueEffect>>>: m, EQUIPMENT_DROPS, field_51669, EQUIPMENT_DROPS, f_336866_
DataComponentType<List<ConditionalEffect<EnchantmentLocationBasedEffect>>>: n, LOCATION_CHANGED, field_51670, LOCATION_CHANGED, f_337527_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: o, TICK, field_51671, TICK, f_336723_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: p, AMMO_USE, field_51672, AMMO_USE, f_337385_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: q, PROJECTILE_PIERCING, field_51673, PROJECTILE_PIERCING, f_337536_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>: r, PROJECTILE_SPAWNED, field_51674, PROJECTILE_SPAWNED, f_336685_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: s, PROJECTILE_SPREAD, field_51675, PROJECTILE_SPREAD, f_336697_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: t, PROJECTILE_COUNT, field_51676, PROJECTILE_COUNT, f_336729_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: u, TRIDENT_RETURN_ACCELERATION, field_51678, TRIDENT_RETURN_ACCELERATION, f_336727_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: v, FISHING_TIME_REDUCTION, field_51679, FISHING_TIME_REDUCTION, f_337049_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: w, FISHING_LUCK_BONUS, field_51680, FISHING_LUCK_BONUS, f_336735_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: x, BLOCK_EXPERIENCE, field_51681, BLOCK_EXPERIENCE, f_336894_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: y, MOB_EXPERIENCE, field_51682, MOB_EXPERIENCE, f_337738_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>: z, REPAIR_WITH_XP, field_51652, REPAIR_WITH_XP, f_337452_
DataComponentType<EnchantmentValueEffect>: A, CROSSBOW_CHARGE_TIME, field_51677, CROSSBOW_CHARGE_TIME, f_336604_
DataComponentType<List<CrossbowItem$ChargingSounds>>: B, CROSSBOW_CHARGING_SOUNDS, field_51653, CROSSBOW_CHARGING_SOUNDS, f_337250_
DataComponentType<List<Holder<SoundEvent>>>: C, TRIDENT_SOUND, field_51654, TRIDENT_SOUND, f_336670_
DataComponentType<Unit>: D, PREVENT_EQUIPMENT_DROP, field_51655, PREVENT_EQUIPMENT_DROP, f_337159_
DataComponentType<Unit>: E, PREVENT_ARMOR_CHANGE, field_51656, PREVENT_ARMOR_CHANGE, f_337286_
DataComponentType<EnchantmentValueEffect>: F, TRIDENT_SPIN_ATTACK_STRENGTH, field_51651, TRIDENT_SPIN_ATTACK_STRENGTH, f_337143_
Constructors
Methods
DataComponentType<?> (Registry<DataComponentType<?>>): a, bootstrap, method_60079, getDefault, m_340296_
<T> DataComponentType<T> (String, UnaryOperator<DataComponentType$Builder<T>>): a, register, method_60078, register, m_338438_