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<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.AMMO_USE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.ARMOR_EFFECTIVENESS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.BLOCK_EXPERIENCE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.DAMAGE
static final ComponentType
<List<EnchantmentEffectEntry<DamageImmunityEnchantmentEffect>>> EnchantmentEffectComponentTypes.DAMAGE_IMMUNITY
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.DAMAGE_PROTECTION
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.FISHING_LUCK_BONUS
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.FISHING_TIME_REDUCTION
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.HIT_BLOCK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.ITEM_DAMAGE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.KNOCKBACK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentLocationBasedEffect>>> EnchantmentEffectComponentTypes.LOCATION_CHANGED
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.MOB_EXPERIENCE
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_COUNT
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_PIERCING
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_SPAWNED
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.PROJECTILE_SPREAD
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.REPAIR_WITH_XP
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> EnchantmentEffectComponentTypes.SMASH_DAMAGE_PER_FALLEN_BLOCK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentEntityEffect>>> EnchantmentEffectComponentTypes.TICK
static final ComponentType
<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> 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>> entries, LootContext lootContext, Consumer<T> effectConsumer) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, Entity user, DamageSource damageSource, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> type, ServerWorld world, int level, ItemStack stack, Entity user, MutableFloat value) private void
Enchantment.modifyValue
(ComponentType<List<EnchantmentEffectEntry<EnchantmentValueEffect>>> 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, ContextType lootContextType)