Interface EnchantmentEffectComponents
public interface EnchantmentEffectComponents
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<EnchantmentAttributeEffect>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final com.mojang.serialization.Codec
<DataComponentMap> static final com.mojang.serialization.Codec
<DataComponentType<?>> static final DataComponentType
<EnchantmentValueEffect> static final DataComponentType
<List<CrossbowItem.ChargingSounds>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<DamageImmunity>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<TargetedConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentEntityEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentLocationBasedEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<TargetedConditionalEffect<EnchantmentEntityEffect>>> static final DataComponentType
<Unit> static final DataComponentType
<Unit> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentEntityEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentEntityEffect>>> static final DataComponentType
<List<ConditionalEffect<EnchantmentValueEffect>>> static final DataComponentType
<List<Holder<SoundEvent>>> static final DataComponentType
<EnchantmentValueEffect> -
Method Summary
Modifier and TypeMethodDescriptionstatic DataComponentType
<?> bootstrap
(Registry<DataComponentType<?>> p_345744_) private static <T> DataComponentType
<T> register
(String p_346249_, UnaryOperator<DataComponentType.Builder<T>> p_345843_)
-
Field Details
-
COMPONENT_CODEC
-
CODEC
-
DAMAGE_PROTECTION
-
DAMAGE_IMMUNITY
-
DAMAGE
-
SMASH_DAMAGE_PER_FALLEN_BLOCK
static final DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> SMASH_DAMAGE_PER_FALLEN_BLOCK -
KNOCKBACK
-
ARMOR_EFFECTIVENESS
-
POST_ATTACK
static final DataComponentType<List<TargetedConditionalEffect<EnchantmentEntityEffect>>> POST_ATTACK -
HIT_BLOCK
-
ITEM_DAMAGE
-
ATTRIBUTES
-
EQUIPMENT_DROPS
static final DataComponentType<List<TargetedConditionalEffect<EnchantmentValueEffect>>> EQUIPMENT_DROPS -
LOCATION_CHANGED
static final DataComponentType<List<ConditionalEffect<EnchantmentLocationBasedEffect>>> LOCATION_CHANGED -
TICK
-
AMMO_USE
-
PROJECTILE_PIERCING
-
PROJECTILE_SPAWNED
-
PROJECTILE_SPREAD
-
PROJECTILE_COUNT
-
TRIDENT_RETURN_ACCELERATION
static final DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> TRIDENT_RETURN_ACCELERATION -
FISHING_TIME_REDUCTION
static final DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> FISHING_TIME_REDUCTION -
FISHING_LUCK_BONUS
-
BLOCK_EXPERIENCE
-
MOB_EXPERIENCE
-
REPAIR_WITH_XP
-
CROSSBOW_CHARGE_TIME
-
CROSSBOW_CHARGING_SOUNDS
-
TRIDENT_SOUND
-
PREVENT_EQUIPMENT_DROP
-
PREVENT_ARMOR_CHANGE
-
TRIDENT_SPIN_ATTACK_STRENGTH
-
-
Method Details
-
bootstrap
-
register
private static <T> DataComponentType<T> register(String p_346249_, UnaryOperator<DataComponentType.Builder<T>> p_345843_)
-