Uses of Interface
net.minecraft.enchantment.EnchantmentLevelBasedValue
Package
Description
-
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
static final record
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValue
EnchantmentLevelBasedValue.Fraction.denominator
The field for thedenominator
record component.private final EnchantmentLevelBasedValue
EnchantmentLevelBasedValue.Lookup.fallback
The field for thefallback
record component.private final EnchantmentLevelBasedValue
EnchantmentLevelBasedValue.Fraction.numerator
The field for thenumerator
record component.private final EnchantmentLevelBasedValue
EnchantmentLevelBasedValue.Clamped.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.BASE_CODEC
static final com.mojang.serialization.Codec
<EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.CODEC
Modifier and TypeMethodDescriptionEnchantmentLevelBasedValue.Fraction.denominator()
Returns the value of thedenominator
record component.EnchantmentLevelBasedValue.Lookup.fallback()
Returns the value of thefallback
record component.EnchantmentLevelBasedValue.Fraction.numerator()
Returns the value of thenumerator
record component.EnchantmentLevelBasedValue.Clamped.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> registry) Modifier and TypeMethodDescriptionEnchantmentLevelBasedValue.lookup
(List<Float> values, EnchantmentLevelBasedValue fallback) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> registry) ModifierConstructorDescriptionClamped
(EnchantmentLevelBasedValue enchantmentLevelBasedValue, float float2, float float3) Fraction
(EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2) Lookup
(List<Float> list, EnchantmentLevelBasedValue enchantmentLevelBasedValue) -
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment.effect
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValue
AttributeEnchantmentEffect.amount
The field for theamount
record component.Modifier and TypeMethodDescriptionAttributeEnchantmentEffect.amount()
Returns the value of theamount
record component.ModifierConstructorDescriptionAttributeEnchantmentEffect
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EntityAttributeModifier.Operation operation) -
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment.effect.entity
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValue
DamageItemEnchantmentEffect.amount
The field for theamount
record component.private final EnchantmentLevelBasedValue
IgniteEnchantmentEffect.duration
The field for theduration
record component.private final EnchantmentLevelBasedValue
ReplaceDiskEnchantmentEffect.height
The field for theheight
record component.private final EnchantmentLevelBasedValue
ApplyMobEffectEnchantmentEffect.maxAmplifier
The field for themaxAmplifier
record component.private final EnchantmentLevelBasedValue
DamageEntityEnchantmentEffect.maxDamage
The field for themaxDamage
record component.private final EnchantmentLevelBasedValue
ApplyMobEffectEnchantmentEffect.maxDuration
The field for themaxDuration
record component.private final EnchantmentLevelBasedValue
ApplyMobEffectEnchantmentEffect.minAmplifier
The field for theminAmplifier
record component.private final EnchantmentLevelBasedValue
DamageEntityEnchantmentEffect.minDamage
The field for theminDamage
record component.private final EnchantmentLevelBasedValue
ApplyMobEffectEnchantmentEffect.minDuration
The field for theminDuration
record component.private final EnchantmentLevelBasedValue
ExplodeEnchantmentEffect.radius
The field for theradius
record component.private final EnchantmentLevelBasedValue
ReplaceDiskEnchantmentEffect.radius
The field for theradius
record component.Modifier and TypeFieldDescriptionprivate final Optional
<EnchantmentLevelBasedValue> ExplodeEnchantmentEffect.knockbackMultiplier
The field for theknockbackMultiplier
record component.Modifier and TypeMethodDescriptionDamageItemEnchantmentEffect.amount()
Returns the value of theamount
record component.IgniteEnchantmentEffect.duration()
Returns the value of theduration
record component.ReplaceDiskEnchantmentEffect.height()
Returns the value of theheight
record component.ApplyMobEffectEnchantmentEffect.maxAmplifier()
Returns the value of themaxAmplifier
record component.DamageEntityEnchantmentEffect.maxDamage()
Returns the value of themaxDamage
record component.ApplyMobEffectEnchantmentEffect.maxDuration()
Returns the value of themaxDuration
record component.ApplyMobEffectEnchantmentEffect.minAmplifier()
Returns the value of theminAmplifier
record component.DamageEntityEnchantmentEffect.minDamage()
Returns the value of theminDamage
record component.ApplyMobEffectEnchantmentEffect.minDuration()
Returns the value of theminDuration
record component.ExplodeEnchantmentEffect.radius()
Returns the value of theradius
record component.ReplaceDiskEnchantmentEffect.radius()
Returns the value of theradius
record component.Modifier and TypeMethodDescriptionExplodeEnchantmentEffect.knockbackMultiplier()
Returns the value of theknockbackMultiplier
record component.ModifierConstructorDescriptionApplyMobEffectEnchantmentEffect
(RegistryEntryList<StatusEffect> registryEntryList, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, EnchantmentLevelBasedValue enchantmentLevelBasedValue3, EnchantmentLevelBasedValue enchantmentLevelBasedValue4) DamageEntityEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, RegistryEntry<DamageType> registryEntry) DamageItemEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) ExplodeEnchantmentEffect
(boolean bool, Optional<RegistryEntry<DamageType>> optional, Optional<EnchantmentLevelBasedValue> optional2, Optional<RegistryEntryList<Block>> optional3, Vec3d vec3d, EnchantmentLevelBasedValue enchantmentLevelBasedValue, boolean bool2, World.ExplosionSourceType explosionSourceType, ParticleEffect particleEffect, ParticleEffect particleEffect2, RegistryEntry<SoundEvent> registryEntry) IgniteEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) ReplaceDiskEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, Vec3i vec3i, Optional<BlockPredicate> optional, BlockStateProvider blockStateProvider, Optional<RegistryEntry<GameEvent>> optional2) -
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment.effect.value
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValue
RemoveBinomialEnchantmentEffect.chance
The field for thechance
record component.private final EnchantmentLevelBasedValue
MultiplyEnchantmentEffect.factor
The field for thefactor
record component.private final EnchantmentLevelBasedValue
AddEnchantmentEffect.value
The field for thevalue
record component.private final EnchantmentLevelBasedValue
SetEnchantmentEffect.value
The field for thevalue
record component.Modifier and TypeMethodDescriptionRemoveBinomialEnchantmentEffect.chance()
Returns the value of thechance
record component.MultiplyEnchantmentEffect.factor()
Returns the value of thefactor
record component.AddEnchantmentEffect.value()
Returns the value of thevalue
record component.SetEnchantmentEffect.value()
Returns the value of thevalue
record component.ModifierConstructorDescriptionAddEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) MultiplyEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) RemoveBinomialEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) SetEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) -
Uses of EnchantmentLevelBasedValue in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValue
RandomChanceWithEnchantedBonusLootCondition.enchantedChance
The field for theenchantedChance
record component.Modifier and TypeMethodDescriptionRandomChanceWithEnchantedBonusLootCondition.enchantedChance()
Returns the value of theenchantedChance
record component.ModifierConstructorDescriptionRandomChanceWithEnchantedBonusLootCondition
(float float2, EnchantmentLevelBasedValue enchantmentLevelBasedValue, RegistryEntry<Enchantment> registryEntry) -
Uses of EnchantmentLevelBasedValue in net.minecraft.loot.provider.number
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValue
EnchantmentLevelLootNumberProvider.amount
The field for theamount
record component.Modifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.amount()
Returns the value of theamount
record component.Modifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.create
(EnchantmentLevelBasedValue amount) ModifierConstructorDescriptionEnchantmentLevelLootNumberProvider
(EnchantmentLevelBasedValue enchantmentLevelBasedValue) -
Uses of EnchantmentLevelBasedValue in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
static final RegistryKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>>> RegistryKeys.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE