Uses of Interface
net.minecraft.enchantment.EnchantmentLevelBasedValueType
Packages that use EnchantmentLevelBasedValueType
Package
Description
-
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment
Classes in net.minecraft.enchantment that implement EnchantmentLevelBasedValueTypeModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordFields in net.minecraft.enchantment declared as EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueTypeEnchantmentLevelBasedValueType.Fraction.denominatorThe field for thedenominatorrecord component.private final EnchantmentLevelBasedValueTypeEnchantmentLevelBasedValueType.Fraction.numeratorThe field for thenumeratorrecord component.private final EnchantmentLevelBasedValueTypeEnchantmentLevelBasedValueType.Clamped.valueThe field for thevaluerecord component.Fields in net.minecraft.enchantment with type parameters of type EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.BASE_CODECstatic final com.mojang.serialization.Codec<EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.CODECMethods in net.minecraft.enchantment that return EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionEnchantmentLevelBasedValueType.Fraction.denominator()Returns the value of thedenominatorrecord component.EnchantmentLevelBasedValueType.Fraction.numerator()Returns the value of thenumeratorrecord component.EnchantmentLevelBasedValueType.Clamped.value()Returns the value of thevaluerecord component.Methods in net.minecraft.enchantment that return types with arguments of type EnchantmentLevelBasedValueTypeModifier 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) Method parameters in net.minecraft.enchantment with type arguments of type EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType> EnchantmentLevelBasedValueType.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>> registry) Constructors in net.minecraft.enchantment with parameters of type EnchantmentLevelBasedValueTypeModifierConstructorDescriptionClamped(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, float float2, float float3) Fraction(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType2) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment.effect
Fields in net.minecraft.enchantment.effect declared as EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueTypeAttributeEnchantmentEffectType.amountThe field for theamountrecord component.Methods in net.minecraft.enchantment.effect that return EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionAttributeEnchantmentEffectType.amount()Returns the value of theamountrecord component.Constructors in net.minecraft.enchantment.effect with parameters of type EnchantmentLevelBasedValueTypeModifierConstructorDescriptionAttributeEnchantmentEffectType(String string, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EntityAttributeModifier.Operation operation, UUID uUID) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity declared as EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueTypeDamageItemEnchantmentEffectType.amountThe field for theamountrecord component.private final EnchantmentLevelBasedValueTypeIgniteEnchantmentEffectType.durationThe field for thedurationrecord component.private final EnchantmentLevelBasedValueTypeReplaceDiscEnchantmentEffectType.heightThe field for theheightrecord component.private final EnchantmentLevelBasedValueTypeApplyMobEffectEnchantmentEffectType.maxAmplifierThe field for themaxAmplifierrecord component.private final EnchantmentLevelBasedValueTypeDamageEntityEnchantmentEffectType.maxDamageThe field for themaxDamagerecord component.private final EnchantmentLevelBasedValueTypeApplyMobEffectEnchantmentEffectType.maxDurationThe field for themaxDurationrecord component.private final EnchantmentLevelBasedValueTypeApplyMobEffectEnchantmentEffectType.minAmplifierThe field for theminAmplifierrecord component.private final EnchantmentLevelBasedValueTypeDamageEntityEnchantmentEffectType.minDamageThe field for theminDamagerecord component.private final EnchantmentLevelBasedValueTypeApplyMobEffectEnchantmentEffectType.minDurationThe field for theminDurationrecord component.private final EnchantmentLevelBasedValueTypeExplodeEnchantmentEffectType.radiusThe field for theradiusrecord component.private final EnchantmentLevelBasedValueTypeReplaceDiscEnchantmentEffectType.radiusThe field for theradiusrecord component.Fields in net.minecraft.enchantment.effect.entity with type parameters of type EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final Optional<EnchantmentLevelBasedValueType> ExplodeEnchantmentEffectType.knockbackMultiplierThe field for theknockbackMultiplierrecord component.Methods in net.minecraft.enchantment.effect.entity that return EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionDamageItemEnchantmentEffectType.amount()Returns the value of theamountrecord component.IgniteEnchantmentEffectType.duration()Returns the value of thedurationrecord component.ReplaceDiscEnchantmentEffectType.height()Returns the value of theheightrecord component.ApplyMobEffectEnchantmentEffectType.maxAmplifier()Returns the value of themaxAmplifierrecord component.DamageEntityEnchantmentEffectType.maxDamage()Returns the value of themaxDamagerecord component.ApplyMobEffectEnchantmentEffectType.maxDuration()Returns the value of themaxDurationrecord component.ApplyMobEffectEnchantmentEffectType.minAmplifier()Returns the value of theminAmplifierrecord component.DamageEntityEnchantmentEffectType.minDamage()Returns the value of theminDamagerecord component.ApplyMobEffectEnchantmentEffectType.minDuration()Returns the value of theminDurationrecord component.ExplodeEnchantmentEffectType.radius()Returns the value of theradiusrecord component.ReplaceDiscEnchantmentEffectType.radius()Returns the value of theradiusrecord component.Methods in net.minecraft.enchantment.effect.entity that return types with arguments of type EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionExplodeEnchantmentEffectType.knockbackMultiplier()Returns the value of theknockbackMultiplierrecord component.Constructors in net.minecraft.enchantment.effect.entity with parameters of type EnchantmentLevelBasedValueTypeModifierConstructorDescriptionApplyMobEffectEnchantmentEffectType(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) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.enchantment.effect.value
Fields in net.minecraft.enchantment.effect.value declared as EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueTypeRemoveBinomialEnchantmentEffectType.chanceThe field for thechancerecord component.private final EnchantmentLevelBasedValueTypeMultiplyEnchantmentEffectType.factorThe field for thefactorrecord component.private final EnchantmentLevelBasedValueTypeAddEnchantmentEffectType.valueThe field for thevaluerecord component.private final EnchantmentLevelBasedValueTypeSetEnchantmentEffectType.valueThe field for thevaluerecord component.Methods in net.minecraft.enchantment.effect.value that return EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionRemoveBinomialEnchantmentEffectType.chance()Returns the value of thechancerecord component.MultiplyEnchantmentEffectType.factor()Returns the value of thefactorrecord component.AddEnchantmentEffectType.value()Returns the value of thevaluerecord component.SetEnchantmentEffectType.value()Returns the value of thevaluerecord component.Constructors in net.minecraft.enchantment.effect.value with parameters of type EnchantmentLevelBasedValueTypeModifierConstructorDescriptionAddEnchantmentEffectType(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) MultiplyEnchantmentEffectType(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) RemoveBinomialEnchantmentEffectType(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) SetEnchantmentEffectType(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueTypeRandomChanceWithEnchantedBonusLootCondition.chanceThe field for thechancerecord component.Methods in net.minecraft.loot.condition that return EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionRandomChanceWithEnchantedBonusLootCondition.chance()Returns the value of thechancerecord component.Constructors in net.minecraft.loot.condition with parameters of type EnchantmentLevelBasedValueTypeModifierConstructorDescriptionRandomChanceWithEnchantedBonusLootCondition(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, RegistryEntry<Enchantment> registryEntry) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.loot.provider.number
Fields in net.minecraft.loot.provider.number declared as EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionprivate final EnchantmentLevelBasedValueTypeEnchantmentLevelLootNumberProvider.amountThe field for theamountrecord component.Methods in net.minecraft.loot.provider.number that return EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.amount()Returns the value of theamountrecord component.Methods in net.minecraft.loot.provider.number with parameters of type EnchantmentLevelBasedValueTypeModifier and TypeMethodDescriptionEnchantmentLevelLootNumberProvider.create(EnchantmentLevelBasedValueType amount) Constructors in net.minecraft.loot.provider.number with parameters of type EnchantmentLevelBasedValueTypeModifierConstructorDescriptionEnchantmentLevelLootNumberProvider(EnchantmentLevelBasedValueType enchantmentLevelBasedValueType) -
Uses of EnchantmentLevelBasedValueType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type EnchantmentLevelBasedValueTypeModifier and TypeFieldDescriptionstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValueType>>> RegistryKeys.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE