net.minecraft.component

public interface EnchantmentEffectComponentTypes

net.minecraft.world.item.enchantment.EnchantmentEffectComponents
net.minecraft.class_9701
net.minecraft.component.EnchantmentEffectComponentTypes

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<ComponentType<?>>
COMPONENT_CODEC
field_51657
COMPONENT_TYPE_CODEC
com.mojang.serialization.Codec<ComponentMap>
CODEC
field_51658
COMPONENT_MAP_CODEC
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
DAMAGE_PROTECTION
field_51659
DAMAGE_PROTECTION
ComponentType<List<EnchantmentEffectEntry<DamageImmunityEnchantmentEffect>>>
DAMAGE_IMMUNITY
field_51660
DAMAGE_IMMUNITY
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
DAMAGE
field_51661
DAMAGE
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
SMASH_DAMAGE_PER_FALLEN_BLOCK
field_51662
SMASH_DAMAGE_PER_FALLEN_BLOCK
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
KNOCKBACK
field_51663
KNOCKBACK
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
ARMOR_EFFECTIVENESS
field_51664
ARMOR_EFFECTIVENESS
ComponentType<List<TargetedEnchantmentEffect<EnchantmentEntityEffect>>>
POST_ATTACK
field_51665
POST_ATTACK
ComponentType<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>>
POST_PIERCING_ATTACK
field_63419
POST_PIERCING_ATTACK
ComponentType<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>>
HIT_BLOCK
field_51666
HIT_BLOCK
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
ITEM_DAMAGE
field_51667
ITEM_DAMAGE
ComponentType<List<TargetedEnchantmentEffect<EnchantmentValueEffect>>>
EQUIPMENT_DROPS
field_51669
EQUIPMENT_DROPS
ComponentType<List<EnchantmentEffectEntry<EnchantmentLocationBasedEffect>>>
LOCATION_CHANGED
field_51670
LOCATION_CHANGED
ComponentType<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>>
TICK
field_51671
TICK
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
AMMO_USE
field_51672
AMMO_USE
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
PROJECTILE_PIERCING
field_51673
PROJECTILE_PIERCING
ComponentType<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>>
PROJECTILE_SPAWNED
field_51674
PROJECTILE_SPAWNED
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
PROJECTILE_SPREAD
field_51675
PROJECTILE_SPREAD
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
PROJECTILE_COUNT
field_51676
PROJECTILE_COUNT
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
TRIDENT_RETURN_ACCELERATION
field_51678
TRIDENT_RETURN_ACCELERATION
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
FISHING_TIME_REDUCTION
field_51679
FISHING_TIME_REDUCTION
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
FISHING_LUCK_BONUS
field_51680
FISHING_LUCK_BONUS
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
BLOCK_EXPERIENCE
field_51681
BLOCK_EXPERIENCE
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
MOB_EXPERIENCE
field_51682
MOB_EXPERIENCE
ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>>
REPAIR_WITH_XP
field_51652
REPAIR_WITH_XP
ComponentType<List<AttributeEnchantmentEffect>>
ATTRIBUTES
field_51668
ATTRIBUTES
ComponentType<EnchantmentValueEffect>
CROSSBOW_CHARGE_TIME
field_51677
CROSSBOW_CHARGE_TIME
ComponentType<List<CrossbowItem$LoadingSounds>>
CROSSBOW_CHARGING_SOUNDS
field_51653
CROSSBOW_CHARGING_SOUNDS
ComponentType<List<RegistryEntry<SoundEvent>>>
TRIDENT_SOUND
field_51654
TRIDENT_SOUND
ComponentType<Unit>
PREVENT_EQUIPMENT_DROP
field_51655
PREVENT_EQUIPMENT_DROP
ComponentType<Unit>
PREVENT_ARMOR_CHANGE
field_51656
PREVENT_ARMOR_CHANGE
ComponentType<EnchantmentValueEffect>
TRIDENT_SPIN_ATTACK_STRENGTH
field_51651
TRIDENT_SPIN_ATTACK_STRENGTH

Method summary

Modifier and TypeMethod
private static <T extends LootTableReportable> com.mojang.serialization.Codec<List<T>>
validatedListCodec(com.mojang.serialization.Codec<T> elementCodec, ContextKeySet paramSet)
method_1_732(com.mojang.serialization.Codec<T> arg0, class_176 arg1)
listUnderContext(com.mojang.serialization.Codec<T> codec, ContextType contextType)
static ComponentType<?>
bootstrap(Registry<DataComponentType<?>> registry)
method_60079(class_2378<class_9331<?>> arg0)
getDefault(Registry<ComponentType<?>> registry)
private static <T> ComponentType<T>
register(String id, UnaryOperator<DataComponentType$Builder<T>> builder)
method_60078(String arg0, UnaryOperator<class_9331$class_9332<T>> arg1)
register(String id, UnaryOperator<ComponentType$Builder<T>> builderOperator)
private static ComponentType$Builder
lambda$static$31(DataComponentType$Builder arg0)
method_60084(class_9331$class_9332 arg0)
method_60084(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$30(DataComponentType$Builder arg0)
method_60080(class_9331$class_9332 arg0)
method_60080(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$29(DataComponentType$Builder arg0)
method_60081(class_9331$class_9332 arg0)
method_60081(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$28(DataComponentType$Builder arg0)
method_60082(class_9331$class_9332 arg0)
method_60082(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$27(DataComponentType$Builder arg0)
method_60083(class_9331$class_9332 arg0)
method_60083(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$26(DataComponentType$Builder arg0)
method_60085(class_9331$class_9332 arg0)
method_60085(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$25(DataComponentType$Builder arg0)
method_60100(class_9331$class_9332 arg0)
method_60100(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$24(DataComponentType$Builder arg0)
method_1_731(class_9331$class_9332 arg0)
method_1_731(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$23(DataComponentType$Builder arg0)
method_60088(class_9331$class_9332 arg0)
method_60088(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$22(DataComponentType$Builder arg0)
method_1_730(class_9331$class_9332 arg0)
method_1_730(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$21(DataComponentType$Builder arg0)
method_60090(class_9331$class_9332 arg0)
method_60090(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$20(DataComponentType$Builder arg0)
method_60091(class_9331$class_9332 arg0)
method_60091(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$19(DataComponentType$Builder arg0)
method_60092(class_9331$class_9332 arg0)
method_60092(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$18(DataComponentType$Builder arg0)
method_60093(class_9331$class_9332 arg0)
method_60093(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$17(DataComponentType$Builder arg0)
method_1_729(class_9331$class_9332 arg0)
method_1_729(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$16(DataComponentType$Builder arg0)
method_1_728(class_9331$class_9332 arg0)
method_1_728(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$15(DataComponentType$Builder arg0)
method_60096(class_9331$class_9332 arg0)
method_60096(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$14(DataComponentType$Builder arg0)
method_1_727(class_9331$class_9332 arg0)
method_1_727(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$13(DataComponentType$Builder arg0)
method_1_726(class_9331$class_9332 arg0)
method_1_726(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$12(DataComponentType$Builder arg0)
method_60098(class_9331$class_9332 arg0)
method_60098(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$11(DataComponentType$Builder arg0)
method_60099(class_9331$class_9332 arg0)
method_60099(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$10(DataComponentType$Builder arg0)
method_60101(class_9331$class_9332 arg0)
method_60101(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$9(DataComponentType$Builder arg0)
method_75253(class_9331$class_9332 arg0)
method_75253(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$8(DataComponentType$Builder arg0)
method_75254(class_9331$class_9332 arg0)
method_75254(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$7(DataComponentType$Builder arg0)
method_60103(class_9331$class_9332 arg0)
method_60103(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$6(DataComponentType$Builder arg0)
method_60104(class_9331$class_9332 arg0)
method_60104(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$5(DataComponentType$Builder arg0)
method_60105(class_9331$class_9332 arg0)
method_60105(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$4(DataComponentType$Builder arg0)
method_60073(class_9331$class_9332 arg0)
method_60073(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$3(DataComponentType$Builder arg0)
method_60074(class_9331$class_9332 arg0)
method_60074(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$2(DataComponentType$Builder arg0)
method_60075(class_9331$class_9332 arg0)
method_60075(ComponentType$Builder builder)
private static ComponentType$Builder
lambda$static$1(DataComponentType$Builder arg0)
method_60076(class_9331$class_9332 arg0)
method_60076(ComponentType$Builder builder)
private static com.mojang.serialization.Codec
lambda$static$0()
method_60077()
method_60077()