net.minecraft.world.item.enchantment

public interface EnchantmentEffectComponents

dad
net.minecraft.world.item.enchantment.EnchantmentEffectComponents
net.minecraft.class_9701
net.minecraft.unmapped.C_rkxlblfn
net.minecraft.component.EnchantmentEffectComponentTypes
net.minecraft.component.EnchantmentEffectComponentTypes
net.minecraft.src.C_336480_
net.minecraft.world.item.enchantment.EnchantmentEffectComponents

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<DataComponentType<?>>
a
COMPONENT_CODEC
field_51657
f_xmdgantf
COMPONENT_TYPE_CODEC
COMPONENT_TYPE_CODEC
f_337677_
com.mojang.serialization.Codec<DataComponentMap>
b
CODEC
field_51658
f_kbnlxdno
COMPONENT_MAP_CODEC
COMPONENT_MAP_CODEC
f_337588_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
c
DAMAGE_PROTECTION
field_51659
f_ggllbvdj
DAMAGE_PROTECTION
DAMAGE_PROTECTION
f_337120_
DataComponentType<List<ConditionalEffect<DamageImmunity>>>
d
DAMAGE_IMMUNITY
field_51660
f_hvuwuapm
DAMAGE_IMMUNITY
DAMAGE_IMMUNITY
f_337071_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
e
DAMAGE
field_51661
f_qrdxdupn
DAMAGE
DAMAGE
f_336808_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
f
SMASH_DAMAGE_PER_FALLEN_BLOCK
field_51662
f_jybviwcf
SMASH_DAMAGE_PER_FALLEN_BLOCK
SMASH_DAMAGE_PER_FALLEN_BLOCK
f_336648_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
g
KNOCKBACK
field_51663
f_thaheyyr
KNOCKBACK
KNOCKBACK
f_336652_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
h
ARMOR_EFFECTIVENESS
field_51664
f_rnqlviab
ARMOR_EFFECTIVENESS
ARMOR_EFFECTIVENESS
f_337003_
DataComponentType<List<TargetedConditionalEffect<EnchantmentEntityEffect>>>
i
POST_ATTACK
field_51665
f_rctlmubx
POST_ATTACK
POST_ATTACK
f_337512_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>
j
HIT_BLOCK
field_51666
f_mxfsetkb
HIT_BLOCK
HIT_BLOCK
f_337526_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
k
ITEM_DAMAGE
field_51667
f_cvzweiiz
ITEM_DAMAGE
ITEM_DAMAGE
f_336904_
DataComponentType<List<EnchantmentAttributeEffect>>
l
ATTRIBUTES
field_51668
f_xyrcmsxg
ATTRIBUTES
ATTRIBUTES
f_337300_
DataComponentType<List<TargetedConditionalEffect<EnchantmentValueEffect>>>
m
EQUIPMENT_DROPS
field_51669
f_wofkpnys
EQUIPMENT_DROPS
EQUIPMENT_DROPS
f_336866_
DataComponentType<List<ConditionalEffect<EnchantmentLocationBasedEffect>>>
n
LOCATION_CHANGED
field_51670
f_hrhrybeu
LOCATION_CHANGED
LOCATION_CHANGED
f_337527_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>
o
TICK
field_51671
f_osssamxi
TICK
TICK
f_336723_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
p
AMMO_USE
field_51672
f_iobctyyz
AMMO_USE
AMMO_USE
f_337385_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
q
PROJECTILE_PIERCING
field_51673
f_mkqgznot
PROJECTILE_PIERCING
PROJECTILE_PIERCING
f_337536_
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>
r
PROJECTILE_SPAWNED
field_51674
f_acnnxiwz
PROJECTILE_SPAWNED
PROJECTILE_SPAWNED
f_336685_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
s
PROJECTILE_SPREAD
field_51675
f_ziuhebnw
PROJECTILE_SPREAD
PROJECTILE_SPREAD
f_336697_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
t
PROJECTILE_COUNT
field_51676
f_gwylaitq
PROJECTILE_COUNT
PROJECTILE_COUNT
f_336729_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
u
TRIDENT_RETURN_ACCELERATION
field_51678
f_wxoabbye
TRIDENT_RETURN_ACCELERATION
TRIDENT_RETURN_ACCELERATION
f_336727_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
v
FISHING_TIME_REDUCTION
field_51679
f_yavwqksk
FISHING_TIME_REDUCTION
FISHING_TIME_REDUCTION
f_337049_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
w
FISHING_LUCK_BONUS
field_51680
f_auetthkl
FISHING_LUCK_BONUS
FISHING_LUCK_BONUS
f_336735_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
x
BLOCK_EXPERIENCE
field_51681
f_djerhcxv
BLOCK_EXPERIENCE
BLOCK_EXPERIENCE
f_336894_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
y
MOB_EXPERIENCE
field_51682
f_lingadaa
MOB_EXPERIENCE
MOB_EXPERIENCE
f_337738_
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
z
REPAIR_WITH_XP
field_51652
f_zncybrzr
REPAIR_WITH_XP
REPAIR_WITH_XP
f_337452_
DataComponentType<EnchantmentValueEffect>
A
CROSSBOW_CHARGE_TIME
field_51677
f_epohsoue
CROSSBOW_CHARGE_TIME
CROSSBOW_CHARGE_TIME
f_336604_
DataComponentType<List<CrossbowItem$ChargingSounds>>
B
CROSSBOW_CHARGING_SOUNDS
field_51653
f_tsukvpvh
CROSSBOW_CHARGING_SOUNDS
CROSSBOW_CHARGING_SOUNDS
f_337250_
DataComponentType<List<Holder<SoundEvent>>>
C
TRIDENT_SOUND
field_51654
f_qcsgoiln
TRIDENT_SOUND
TRIDENT_SOUND
f_336670_
DataComponentType<Unit>
D
PREVENT_EQUIPMENT_DROP
field_51655
f_cmcrifsh
PREVENT_EQUIPMENT_DROP
PREVENT_EQUIPMENT_DROP
f_337159_
DataComponentType<Unit>
E
PREVENT_ARMOR_CHANGE
field_51656
f_nnzxhdqi
PREVENT_ARMOR_CHANGE
PREVENT_ARMOR_CHANGE
f_337286_
DataComponentType<EnchantmentValueEffect>
F
TRIDENT_SPIN_ATTACK_STRENGTH
field_51651
f_gzcoighr
TRIDENT_SPIN_ATTACK_STRENGTH
TRIDENT_SPIN_ATTACK_STRENGTH
f_337143_

Method summary

Modifier and TypeMethod
static DataComponentType<?>
a(jz<kp<?>> arg0)
bootstrap(Registry<DataComponentType<?>> arg0)
method_60079(class_2378<class_9331<?>> arg0)
m_ldkfkvzx(C_tqxyjqsk<C_pscqxfcs<?>> arg0)
getDefault(Registry<ComponentType<?>> registry)
m_ldkfkvzx(Registry<DataComponentType<?>> registry)
m_340296_(C_4705_<C_313543_<?>> p_342462_)
private static <T> DataComponentType<T>
a(String arg0, UnaryOperator<kp$a<T>> arg1)
register(String arg0, UnaryOperator<DataComponentType$Builder<T>> arg1)
method_60078(String arg0, UnaryOperator<class_9331$class_9332<T>> arg1)
m_amrsbxlj(String arg0, UnaryOperator<C_pscqxfcs$C_pevyyrle<T>> arg1)
register(String id, UnaryOperator<ComponentType$Builder<T>> builderOperator)
register(String id, UnaryOperator<DataComponentType$Builder<T>> arg1)
m_338438_(String p_342959_, UnaryOperator<C_313543_$C_313821_<T>> p_345175_)