Uses of Interface
net.minecraft.enchantment.EnchantmentLevelBasedValue
Packages that use EnchantmentLevelBasedValue
Package
Description
-
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment
Classes in net.minecraft.enchantment that implement EnchantmentLevelBasedValueModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordFields in net.minecraft.enchantment declared as EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueEnchantmentLevelBasedValue.Exponent.baseThe field for thebaserecord component.private final EnchantmentLevelBasedValueEnchantmentLevelBasedValue.Fraction.denominatorThe field for thedenominatorrecord component.private final EnchantmentLevelBasedValueEnchantmentLevelBasedValue.Lookup.fallbackThe field for thefallbackrecord component.private final EnchantmentLevelBasedValueEnchantmentLevelBasedValue.Fraction.numeratorThe field for thenumeratorrecord component.private final EnchantmentLevelBasedValueEnchantmentLevelBasedValue.Exponent.powerThe field for thepowerrecord component.private final EnchantmentLevelBasedValueEnchantmentLevelBasedValue.Clamped.valueThe field for thevaluerecord component.Fields in net.minecraft.enchantment with type parameters of type EnchantmentLevelBasedValueModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.BASE_CODECstatic final com.mojang.serialization.Codec<EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.CODECMethods in net.minecraft.enchantment that return EnchantmentLevelBasedValueModifier and TypeMethodDescriptionEnchantmentLevelBasedValue.Exponent.base()Returns the value of thebaserecord component.EnchantmentLevelBasedValue.Fraction.denominator()Returns the value of thedenominatorrecord component.EnchantmentLevelBasedValue.Lookup.fallback()Returns the value of thefallbackrecord component.EnchantmentLevelBasedValue.Fraction.numerator()Returns the value of thenumeratorrecord component.EnchantmentLevelBasedValue.Exponent.power()Returns the value of thepowerrecord component.EnchantmentLevelBasedValue.Clamped.value()Returns the value of thevaluerecord component.Methods in net.minecraft.enchantment that return types with arguments of type EnchantmentLevelBasedValueModifier 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) Methods in net.minecraft.enchantment with parameters of type EnchantmentLevelBasedValueModifier and TypeMethodDescriptionEnchantmentLevelBasedValue.lookup(List<Float> values, EnchantmentLevelBasedValue fallback) Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentLevelBasedValueModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> registry) Constructors in net.minecraft.enchantment with parameters of type EnchantmentLevelBasedValueModifierConstructorDescriptionClamped(EnchantmentLevelBasedValue value, float min, float max) Creates an instance of aClampedrecord class.Exponent(EnchantmentLevelBasedValue base, EnchantmentLevelBasedValue power) Creates an instance of aExponentrecord class.Fraction(EnchantmentLevelBasedValue numerator, EnchantmentLevelBasedValue denominator) Creates an instance of aFractionrecord class.Lookup(List<Float> values, EnchantmentLevelBasedValue fallback) Creates an instance of aLookuprecord class. -
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment.effect
Fields in net.minecraft.enchantment.effect declared as EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueAttributeEnchantmentEffect.amountThe field for theamountrecord component.Methods in net.minecraft.enchantment.effect that return EnchantmentLevelBasedValueModifier and TypeMethodDescriptionAttributeEnchantmentEffect.amount()Returns the value of theamountrecord component.Constructors in net.minecraft.enchantment.effect with parameters of type EnchantmentLevelBasedValueModifierConstructorDescriptionAttributeEnchantmentEffect(Identifier id, RegistryEntry<EntityAttribute> attribute, EnchantmentLevelBasedValue amount, EntityAttributeModifier.Operation operation) Creates an instance of aAttributeEnchantmentEffectrecord class. -
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity declared as EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueChangeItemDamageEnchantmentEffect.amountThe field for theamountrecord component.private final EnchantmentLevelBasedValueIgniteEnchantmentEffect.durationThe field for thedurationrecord component.private final EnchantmentLevelBasedValueReplaceDiskEnchantmentEffect.heightThe field for theheightrecord component.private final EnchantmentLevelBasedValueApplyImpulseEnchantmentEffect.magnitudeThe field for themagnituderecord component.private final EnchantmentLevelBasedValueApplyMobEffectEnchantmentEffect.maxAmplifierThe field for themaxAmplifierrecord component.private final EnchantmentLevelBasedValueDamageEntityEnchantmentEffect.maxDamageThe field for themaxDamagerecord component.private final EnchantmentLevelBasedValueApplyMobEffectEnchantmentEffect.maxDurationThe field for themaxDurationrecord component.private final EnchantmentLevelBasedValueApplyMobEffectEnchantmentEffect.minAmplifierThe field for theminAmplifierrecord component.private final EnchantmentLevelBasedValueDamageEntityEnchantmentEffect.minDamageThe field for theminDamagerecord component.private final EnchantmentLevelBasedValueApplyMobEffectEnchantmentEffect.minDurationThe field for theminDurationrecord component.private final EnchantmentLevelBasedValueExplodeEnchantmentEffect.radiusThe field for theradiusrecord component.private final EnchantmentLevelBasedValueReplaceDiskEnchantmentEffect.radiusThe field for theradiusrecord component.Fields in net.minecraft.enchantment.effect.entity with type parameters of type EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final Optional<EnchantmentLevelBasedValue> ExplodeEnchantmentEffect.knockbackMultiplierThe field for theknockbackMultiplierrecord component.Methods in net.minecraft.enchantment.effect.entity that return EnchantmentLevelBasedValueModifier and TypeMethodDescriptionChangeItemDamageEnchantmentEffect.amount()Returns the value of theamountrecord component.IgniteEnchantmentEffect.duration()Returns the value of thedurationrecord component.ReplaceDiskEnchantmentEffect.height()Returns the value of theheightrecord component.ApplyImpulseEnchantmentEffect.magnitude()Returns the value of themagnituderecord component.ApplyMobEffectEnchantmentEffect.maxAmplifier()Returns the value of themaxAmplifierrecord component.DamageEntityEnchantmentEffect.maxDamage()Returns the value of themaxDamagerecord component.ApplyMobEffectEnchantmentEffect.maxDuration()Returns the value of themaxDurationrecord component.ApplyMobEffectEnchantmentEffect.minAmplifier()Returns the value of theminAmplifierrecord component.DamageEntityEnchantmentEffect.minDamage()Returns the value of theminDamagerecord component.ApplyMobEffectEnchantmentEffect.minDuration()Returns the value of theminDurationrecord component.ExplodeEnchantmentEffect.radius()Returns the value of theradiusrecord component.ReplaceDiskEnchantmentEffect.radius()Returns the value of theradiusrecord component.Methods in net.minecraft.enchantment.effect.entity that return types with arguments of type EnchantmentLevelBasedValueModifier and TypeMethodDescriptionExplodeEnchantmentEffect.knockbackMultiplier()Returns the value of theknockbackMultiplierrecord component.Constructors in net.minecraft.enchantment.effect.entity with parameters of type EnchantmentLevelBasedValueModifierConstructorDescriptionApplyImpulseEnchantmentEffect(Vec3d direction, Vec3d coordinateScale, EnchantmentLevelBasedValue magnitude) Creates an instance of aApplyImpulseEnchantmentEffectrecord class.ApplyMobEffectEnchantmentEffect(RegistryEntryList<StatusEffect> toApply, EnchantmentLevelBasedValue minDuration, EnchantmentLevelBasedValue maxDuration, EnchantmentLevelBasedValue minAmplifier, EnchantmentLevelBasedValue maxAmplifier) Creates an instance of aApplyMobEffectEnchantmentEffectrecord class.Creates an instance of aChangeItemDamageEnchantmentEffectrecord class.DamageEntityEnchantmentEffect(EnchantmentLevelBasedValue minDamage, EnchantmentLevelBasedValue maxDamage, RegistryEntry<DamageType> damageType) Creates an instance of aDamageEntityEnchantmentEffectrecord class.ExplodeEnchantmentEffect(boolean attributeToUser, Optional<RegistryEntry<DamageType>> damageType, Optional<EnchantmentLevelBasedValue> knockbackMultiplier, Optional<RegistryEntryList<Block>> immuneBlocks, Vec3d offset, EnchantmentLevelBasedValue radius, boolean createFire, World.ExplosionSourceType blockInteraction, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> sound) Creates an instance of aExplodeEnchantmentEffectrecord class.Creates an instance of aIgniteEnchantmentEffectrecord class.ReplaceDiskEnchantmentEffect(EnchantmentLevelBasedValue radius, EnchantmentLevelBasedValue height, Vec3i offset, Optional<BlockPredicate> predicate, BlockStateProvider blockState, Optional<RegistryEntry<GameEvent>> triggerGameEvent) Creates an instance of aReplaceDiskEnchantmentEffectrecord class. -
Uses of EnchantmentLevelBasedValue in net.minecraft.enchantment.effect.value
Fields in net.minecraft.enchantment.effect.value declared as EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueExponentialEnchantmentEffect.baseThe field for thebaserecord component.private final EnchantmentLevelBasedValueRemoveBinomialEnchantmentEffect.chanceThe field for thechancerecord component.private final EnchantmentLevelBasedValueExponentialEnchantmentEffect.exponentThe field for theexponentrecord component.private final EnchantmentLevelBasedValueMultiplyEnchantmentEffect.factorThe field for thefactorrecord component.private final EnchantmentLevelBasedValueAddEnchantmentEffect.valueThe field for thevaluerecord component.private final EnchantmentLevelBasedValueSetEnchantmentEffect.valueThe field for thevaluerecord component.Methods in net.minecraft.enchantment.effect.value that return EnchantmentLevelBasedValueModifier and TypeMethodDescriptionExponentialEnchantmentEffect.base()Returns the value of thebaserecord component.RemoveBinomialEnchantmentEffect.chance()Returns the value of thechancerecord component.ExponentialEnchantmentEffect.exponent()Returns the value of theexponentrecord component.MultiplyEnchantmentEffect.factor()Returns the value of thefactorrecord component.AddEnchantmentEffect.value()Returns the value of thevaluerecord component.SetEnchantmentEffect.value()Returns the value of thevaluerecord component.Constructors in net.minecraft.enchantment.effect.value with parameters of type EnchantmentLevelBasedValueModifierConstructorDescriptionCreates an instance of aAddEnchantmentEffectrecord class.Creates an instance of aExponentialEnchantmentEffectrecord class.Creates an instance of aMultiplyEnchantmentEffectrecord class.Creates an instance of aRemoveBinomialEnchantmentEffectrecord class.Creates an instance of aSetEnchantmentEffectrecord class. -
Uses of EnchantmentLevelBasedValue in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueRandomChanceWithEnchantedBonusLootCondition.enchantedChanceThe field for theenchantedChancerecord component.Methods in net.minecraft.loot.condition that return EnchantmentLevelBasedValueModifier and TypeMethodDescriptionRandomChanceWithEnchantedBonusLootCondition.enchantedChance()Returns the value of theenchantedChancerecord component.Constructors in net.minecraft.loot.condition with parameters of type EnchantmentLevelBasedValueModifierConstructorDescriptionRandomChanceWithEnchantedBonusLootCondition(float unenchantedChance, EnchantmentLevelBasedValue enchantedChance, RegistryEntry<Enchantment> enchantment) Creates an instance of aRandomChanceWithEnchantedBonusLootConditionrecord class. -
Uses of EnchantmentLevelBasedValue in net.minecraft.loot.provider.number
Fields in net.minecraft.loot.provider.number declared as EnchantmentLevelBasedValueModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueEnchantmentLevelLootNumberProvider.amountThe field for theamountrecord component.Methods in net.minecraft.loot.provider.number that return EnchantmentLevelBasedValueModifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.amount()Returns the value of theamountrecord component.Methods in net.minecraft.loot.provider.number with parameters of type EnchantmentLevelBasedValueModifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.create(EnchantmentLevelBasedValue amount) Constructors in net.minecraft.loot.provider.number with parameters of type EnchantmentLevelBasedValueModifierConstructorDescriptionCreates an instance of aEnchantmentLevelLootNumberProviderrecord class. -
Uses of EnchantmentLevelBasedValue in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type EnchantmentLevelBasedValueModifier and TypeFieldDescriptionstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>>> RegistryKeys.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE