Uses of Record Class
net.minecraft.enchantment.effect.EnchantmentEffectEntry
Package
Description
-
Uses of EnchantmentEffectEntry in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.AMMO_USE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.ARMOR_EFFECTIVENESS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.BLOCK_EXPERIENCE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.DAMAGE
static final ComponentType
<List<EnchantmentEffectEntry<DamageImmunityEnchantmentEffectType>>> EnchantmentEffectComponentTypes.DAMAGE_IMMUNITY
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.DAMAGE_PROTECTION
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.FISHING_LUCK_BONUS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.FISHING_TIME_REDUCTION
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.HIT_BLOCK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.ITEM_DAMAGE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.KNOCKBACK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentLocationBasedEffectType>>> EnchantmentEffectComponentTypes.LOCATION_CHANGED
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.MOB_EXPERIENCE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_COUNT
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_PIERCING
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_SPAWNED
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.PROJECTILE_SPREAD
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.REPAIR_WITH_XP
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.SMASH_DAMAGE_PER_FALLEN_BLOCK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffectType>>> EnchantmentEffectComponentTypes.TICK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> EnchantmentEffectComponentTypes.TRIDENT_RETURN_ACCELERATION
-
Uses of EnchantmentEffectEntry in net.minecraft.enchantment
Modifier and TypeMethodDescriptionEnchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect) Enchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect, LootCondition.Builder requirements) private static <T> void
Enchantment.applyEffects
(List<EnchantmentEffectEntry<T>> conditions, LootContext lootContext, Consumer<T> effectConsumer) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, Entity user, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffectType>>> type, ServerWorld world, int level, ItemStack stack, MutableFloat value) -
Uses of EnchantmentEffectEntry in net.minecraft.enchantment.effect
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<EnchantmentEffectEntry<T>> EnchantmentEffectEntry.createCodec
(com.mojang.serialization.Codec<T> effectCodec, LootContextType lootContextType)