Package net.minecraft.enchantment.effect
Interface EnchantmentValueEffectType
- All Known Implementing Classes:
AddEnchantmentEffectType
,AllOfEnchantmentEffectTypes.ValueEffects
,MultiplyEnchantmentEffectType
,RemoveBinomialEnchantmentEffectType
,SetEnchantmentEffectType
public interface EnchantmentValueEffectType
- Mappings:
Namespace Name named net/minecraft/enchantment/effect/EnchantmentValueEffectType
intermediary net/minecraft/class_9723
official das
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentValueEffectType> -
Method Summary
Modifier and TypeMethodDescriptionfloat
com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffectType> getCodec()
static com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffectType> registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffectType>> registry)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/enchantment/effect/EnchantmentValueEffectType;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_51709
Lnet/minecraft/class_9723;field_51709:Lcom/mojang/serialization/Codec;
official b
Ldas;b:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
registerAndGetDefault
static com.mojang.serialization.MapCodec<? extends EnchantmentValueEffectType> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffectType>> registry) - Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/enchantment/effect/EnchantmentValueEffectType;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
Ldas;a(Ljz;)Lcom/mojang/serialization/MapCodec;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/enchantment/effect/EnchantmentValueEffectType;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
Ldas;a(ILayv;F)F
-
getCodec
com.mojang.serialization.MapCodec<? extends EnchantmentValueEffectType> getCodec()- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/enchantment/effect/EnchantmentValueEffectType;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_60211
Lnet/minecraft/class_9723;method_60211()Lcom/mojang/serialization/MapCodec;
official a
Ldas;a()Lcom/mojang/serialization/MapCodec;
-