net.minecraft.world.item.enchantment

public interface EnchantmentEffectComponents

dho
net.minecraft.world.item.enchantment.EnchantmentEffectComponents
net.minecraft.class_9701

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<DataComponentType<?>>
a
COMPONENT_CODEC
field_51657
com.mojang.serialization.Codec<DataComponentMap>
b
CODEC
field_51658
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
c
DAMAGE_PROTECTION
field_51659
DataComponentType<List<ConditionalEffect<DamageImmunity>>>
d
DAMAGE_IMMUNITY
field_51660
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
e
DAMAGE
field_51661
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
f
SMASH_DAMAGE_PER_FALLEN_BLOCK
field_51662
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
g
KNOCKBACK
field_51663
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
h
ARMOR_EFFECTIVENESS
field_51664
DataComponentType<List<TargetedConditionalEffect<EnchantmentEntityEffect>>>
i
POST_ATTACK
field_51665
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>
j
HIT_BLOCK
field_51666
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
k
ITEM_DAMAGE
field_51667
DataComponentType<List<EnchantmentAttributeEffect>>
l
ATTRIBUTES
field_51668
DataComponentType<List<TargetedConditionalEffect<EnchantmentValueEffect>>>
m
EQUIPMENT_DROPS
field_51669
DataComponentType<List<ConditionalEffect<EnchantmentLocationBasedEffect>>>
n
LOCATION_CHANGED
field_51670
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>
o
TICK
field_51671
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
p
AMMO_USE
field_51672
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
q
PROJECTILE_PIERCING
field_51673
DataComponentType<List<ConditionalEffect<EnchantmentEntityEffect>>>
r
PROJECTILE_SPAWNED
field_51674
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
s
PROJECTILE_SPREAD
field_51675
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
t
PROJECTILE_COUNT
field_51676
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
u
TRIDENT_RETURN_ACCELERATION
field_51678
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
v
FISHING_TIME_REDUCTION
field_51679
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
w
FISHING_LUCK_BONUS
field_51680
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
x
BLOCK_EXPERIENCE
field_51681
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
y
MOB_EXPERIENCE
field_51682
DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>>
z
REPAIR_WITH_XP
field_51652
DataComponentType<EnchantmentValueEffect>
A
CROSSBOW_CHARGE_TIME
field_51677
DataComponentType<List<CrossbowItem$ChargingSounds>>
B
CROSSBOW_CHARGING_SOUNDS
field_51653
DataComponentType<List<Holder<SoundEvent>>>
C
TRIDENT_SOUND
field_51654
DataComponentType<Unit>
D
PREVENT_EQUIPMENT_DROP
field_51655
DataComponentType<Unit>
E
PREVENT_ARMOR_CHANGE
field_51656
DataComponentType<EnchantmentValueEffect>
F
TRIDENT_SPIN_ATTACK_STRENGTH
field_51651

Method summary

Modifier and TypeMethod
static DataComponentType<?>
a(jv<km<?>> arg0)
bootstrap(Registry<DataComponentType<?>> arg0)
method_60079(class_2378<class_9331<?>> arg0)
private static <T> DataComponentType<T>
a(String arg0, UnaryOperator<km$a<T>> arg1)
register(String arg0, UnaryOperator<DataComponentType$Builder<T>> arg1)
method_60078(String arg0, UnaryOperator<class_9331$class_9332<T>> arg1)