Uses of Interface
net.minecraft.enchantment.EnchantmentLevelBasedValueType
Package
Description
-
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueType
EnchantmentLevelBasedValueType.Fraction.denominator
The field for thedenominator
record component.private final EnchantmentLevelBasedValueType
EnchantmentLevelBasedValueType.Fraction.numerator
The field for thenumerator
record component.private final EnchantmentLevelBasedValueType
EnchantmentLevelBasedValueType.Clamped.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.BASE_CODEC
static final com.mojang.serialization.Codec
<EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.CODEC
Modifier and TypeMethodDescriptionEnchantmentLevelBasedValueType.Fraction.denominator()
Returns the value of thedenominator
record component.EnchantmentLevelBasedValueType.Fraction.numerator()
Returns the value of thenumerator
record component.EnchantmentLevelBasedValueType.Clamped.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>> registry) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>> registry) ModifierConstructorDescriptionClamped
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, float float2, float float3) Fraction
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType2) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment.effect
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueType
AttributeEnchantmentEffectType.amount
The field for theamount
record component.Modifier and TypeMethodDescriptionAttributeEnchantmentEffectType.amount()
Returns the value of theamount
record component.ModifierConstructorDescriptionAttributeEnchantmentEffectType
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EntityAttributeModifier.Operation operation) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment.effect.entity
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueType
DamageItemEnchantmentEffectType.amount
The field for theamount
record component.private final EnchantmentLevelBasedValueType
IgniteEnchantmentEffectType.duration
The field for theduration
record component.private final EnchantmentLevelBasedValueType
ReplaceDiscEnchantmentEffectType.height
The field for theheight
record component.private final EnchantmentLevelBasedValueType
ApplyMobEffectEnchantmentEffectType.maxAmplifier
The field for themaxAmplifier
record component.private final EnchantmentLevelBasedValueType
DamageEntityEnchantmentEffectType.maxDamage
The field for themaxDamage
record component.private final EnchantmentLevelBasedValueType
ApplyMobEffectEnchantmentEffectType.maxDuration
The field for themaxDuration
record component.private final EnchantmentLevelBasedValueType
ApplyMobEffectEnchantmentEffectType.minAmplifier
The field for theminAmplifier
record component.private final EnchantmentLevelBasedValueType
DamageEntityEnchantmentEffectType.minDamage
The field for theminDamage
record component.private final EnchantmentLevelBasedValueType
ApplyMobEffectEnchantmentEffectType.minDuration
The field for theminDuration
record component.private final EnchantmentLevelBasedValueType
ExplodeEnchantmentEffectType.radius
The field for theradius
record component.private final EnchantmentLevelBasedValueType
ReplaceDiscEnchantmentEffectType.radius
The field for theradius
record component.Modifier and TypeFieldDescriptionprivate final Optional
<EnchantmentLevelBasedValueType> ExplodeEnchantmentEffectType.knockbackMultiplier
The field for theknockbackMultiplier
record component.Modifier and TypeMethodDescriptionDamageItemEnchantmentEffectType.amount()
Returns the value of theamount
record component.IgniteEnchantmentEffectType.duration()
Returns the value of theduration
record component.ReplaceDiscEnchantmentEffectType.height()
Returns the value of theheight
record component.ApplyMobEffectEnchantmentEffectType.maxAmplifier()
Returns the value of themaxAmplifier
record component.DamageEntityEnchantmentEffectType.maxDamage()
Returns the value of themaxDamage
record component.ApplyMobEffectEnchantmentEffectType.maxDuration()
Returns the value of themaxDuration
record component.ApplyMobEffectEnchantmentEffectType.minAmplifier()
Returns the value of theminAmplifier
record component.DamageEntityEnchantmentEffectType.minDamage()
Returns the value of theminDamage
record component.ApplyMobEffectEnchantmentEffectType.minDuration()
Returns the value of theminDuration
record component.ExplodeEnchantmentEffectType.radius()
Returns the value of theradius
record component.ReplaceDiscEnchantmentEffectType.radius()
Returns the value of theradius
record component.Modifier and TypeMethodDescriptionExplodeEnchantmentEffectType.knockbackMultiplier()
Returns the value of theknockbackMultiplier
record component.ModifierConstructorDescriptionApplyMobEffectEnchantmentEffectType
(RegistryEntryList<StatusEffect> registryEntryList, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType2, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType3, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType4) DamageEntityEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType2, RegistryEntry<DamageType> registryEntry) DamageItemEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) ExplodeEnchantmentEffectType
(boolean bool, Optional<RegistryEntry<DamageType>> optional, Optional<EnchantmentLevelBasedValueType> optional2, Optional<RegistryEntryList<Block>> optional3, Vec3d vec3d, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, boolean bool2, World.ExplosionSourceType explosionSourceType, ParticleEffect particleEffect, ParticleEffect particleEffect2, RegistryEntry<SoundEvent> registryEntry) IgniteEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) ReplaceDiscEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType2, Vec3i vec3i, Optional<BlockPredicate> optional, BlockStateProvider blockStateProvider, Optional<RegistryEntry<GameEvent>> optional2) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment.effect.value
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueType
RemoveBinomialEnchantmentEffectType.chance
The field for thechance
record component.private final EnchantmentLevelBasedValueType
MultiplyEnchantmentEffectType.factor
The field for thefactor
record component.private final EnchantmentLevelBasedValueType
AddEnchantmentEffectType.value
The field for thevalue
record component.private final EnchantmentLevelBasedValueType
SetEnchantmentEffectType.value
The field for thevalue
record component.Modifier and TypeMethodDescriptionRemoveBinomialEnchantmentEffectType.chance()
Returns the value of thechance
record component.MultiplyEnchantmentEffectType.factor()
Returns the value of thefactor
record component.AddEnchantmentEffectType.value()
Returns the value of thevalue
record component.SetEnchantmentEffectType.value()
Returns the value of thevalue
record component.ModifierConstructorDescriptionAddEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) MultiplyEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) RemoveBinomialEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) SetEnchantmentEffectType
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueType
RandomChanceWithEnchantedBonusLootCondition.chance
The field for thechance
record component.Modifier and TypeMethodDescriptionRandomChanceWithEnchantedBonusLootCondition.chance()
Returns the value of thechance
record component.ModifierConstructorDescriptionRandomChanceWithEnchantedBonusLootCondition
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, RegistryEntry<Enchantment> registryEntry) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.loot.provider.number
Modifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueType
EnchantmentLevelLootNumberProvider.amount
The field for theamount
record component.Modifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.amount()
Returns the value of theamount
record component.Modifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.create
(EnchantmentLevelBasedValueType amount) ModifierConstructorDescriptionEnchantmentLevelLootNumberProvider
(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
static final RegistryKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>>> RegistryKeys.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE