Package net.minecraft.enchantment.effect
Interface EnchantmentValueEffect
- All Known Implementing Classes:
AddEnchantmentEffect
,AllOfEnchantmentEffects.ValueEffects
,MultiplyEnchantmentEffect
,RemoveBinomialEnchantmentEffect
,SetEnchantmentEffect
public interface EnchantmentValueEffect
- Mappings:
Namespace Name named net/minecraft/enchantment/effect/EnchantmentValueEffect
intermediary net/minecraft/class_9723
official der
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentValueEffect> -
Method Summary
Modifier and TypeMethodDescriptionfloat
com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> registry)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/enchantment/effect/EnchantmentValueEffect;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_51709
Lnet/minecraft/class_9723;field_51709:Lcom/mojang/serialization/Codec;
official b
Lder;b:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
registerAndGetDefault
static com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> registry) - Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/enchantment/effect/EnchantmentValueEffect;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
intermediary method_60233
Lnet/minecraft/class_9723;method_60233(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
official a
Lder;a(Lkd;)Lcom/mojang/serialization/MapCodec;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/enchantment/effect/EnchantmentValueEffect;apply(ILnet/minecraft/util/math/random/Random;F)F
intermediary method_60213
Lnet/minecraft/class_9723;method_60213(ILnet/minecraft/class_5819;F)F
official a
Lder;a(ILbam;F)F
-
getCodec
com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect> getCodec()- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/enchantment/effect/EnchantmentValueEffect;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_60211
Lnet/minecraft/class_9723;method_60211()Lcom/mojang/serialization/MapCodec;
official a
Lder;a()Lcom/mojang/serialization/MapCodec;
-