Package net.minecraft.datafixer.fix
Class StatusEffectFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.StatusEffectFix
public class StatusEffectFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/StatusEffectFix
intermediary net/minecraft/class_8744
official bhp
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Dynamic
<?> fixActiveEffectsKey
(com.mojang.serialization.Dynamic<?> dynamic) private static <T> com.mojang.serialization.Dynamic
<T> fixCustomPotionEffectsKey
(com.mojang.serialization.Dynamic<T> dynamic) private static <T> com.mojang.serialization.Dynamic
<T> fixEffect
(com.mojang.serialization.Dynamic<T> effectDynamic) private static <T> com.mojang.serialization.Dynamic
<T> fixEffectList
(com.mojang.serialization.Dynamic<T> dynamic, String oldEffectListKey, String newEffectListKey) private static <T> com.mojang.serialization.Dynamic
<T> fixEffectsKey
(com.mojang.serialization.Dynamic<T> dynamic) private com.mojang.datafixers.Typed
<?> fixEntityEffects
(com.mojang.datafixers.Typed<?> entityTyped, com.mojang.datafixers.DSL.TypeReference entityTypeReference, String entityId, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> effectsFixer) private static <T> com.mojang.serialization.Dynamic
<T> fixStewEffectsKey
(com.mojang.serialization.Dynamic<T> dynamic) private static <T> com.mojang.serialization.Dynamic
<T> fixSuspiciousStewEffect
(com.mojang.serialization.Dynamic<T> effectDynamic) private static <T> com.mojang.serialization.Dynamic
<T> fixSuspiciousStewEffect
(com.mojang.serialization.Dynamic<T> effectDynamicIn, com.mojang.serialization.Dynamic<T> effectDynamicOut) private static <T> com.mojang.serialization.Dynamic
<T> fixSuspiciousStewEffects
(com.mojang.serialization.Dynamic<T> tagTyped) private com.mojang.datafixers.TypeRewriteRule
private com.mojang.datafixers.TypeRewriteRule
private com.mojang.datafixers.TypeRewriteRule
private com.mojang.datafixers.TypeRewriteRule
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <T> com.mojang.serialization.Dynamic
<T> renameKeyAndUpdateId
(com.mojang.serialization.Dynamic<T> dynamic, String oldKey, com.mojang.serialization.Dynamic<T> dynamic2, String newKey) private static <T> com.mojang.serialization.Dynamic
<T> renameKeyAndUpdateId
(com.mojang.serialization.Dynamic<T> dynamic, String oldKey, String newKey) private static <T> Optional
<com.mojang.serialization.Dynamic<T>> Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
OLD_TO_NEW_IDS
- Mappings:
Namespace Name Mixin selector named OLD_TO_NEW_IDS
Lnet/minecraft/datafixer/fix/StatusEffectFix;OLD_TO_NEW_IDS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_45725
Lnet/minecraft/class_8744;field_45725:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
official a
Lbhp;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
POTION_ITEM_IDS
- Mappings:
Namespace Name Mixin selector named POTION_ITEM_IDS
Lnet/minecraft/datafixer/fix/StatusEffectFix;POTION_ITEM_IDS:Ljava/util/Set;
intermediary field_45726
Lnet/minecraft/class_8744;field_45726:Ljava/util/Set;
official b
Lbhp;b:Ljava/util/Set;
-
-
Constructor Details
-
StatusEffectFix
public StatusEffectFix(com.mojang.datafixers.schemas.Schema outputSchema) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/StatusEffectFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
intermediary <init>
Lnet/minecraft/class_8744;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
official <init>
Lbhp;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
updateId
private static <T> Optional<com.mojang.serialization.Dynamic<T>> updateId(com.mojang.serialization.Dynamic<T> dynamic, String idKey) - Mappings:
Namespace Name Mixin selector named updateId
Lnet/minecraft/datafixer/fix/StatusEffectFix;updateId(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/Optional;
intermediary method_53084
Lnet/minecraft/class_8744;method_53084(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/Optional;
official a
Lbhp;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/util/Optional;
-
renameKeyAndUpdateId
private static <T> com.mojang.serialization.Dynamic<T> renameKeyAndUpdateId(com.mojang.serialization.Dynamic<T> dynamic, String oldKey, com.mojang.serialization.Dynamic<T> dynamic2, String newKey) - Mappings:
Namespace Name Mixin selector named renameKeyAndUpdateId
Lnet/minecraft/datafixer/fix/StatusEffectFix;renameKeyAndUpdateId(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_53085
Lnet/minecraft/class_8744;method_53085(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
official a
Lbhp;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-
renameKeyAndUpdateId
private static <T> com.mojang.serialization.Dynamic<T> renameKeyAndUpdateId(com.mojang.serialization.Dynamic<T> dynamic, String oldKey, String newKey) - Mappings:
Namespace Name Mixin selector named renameKeyAndUpdateId
Lnet/minecraft/datafixer/fix/StatusEffectFix;renameKeyAndUpdateId(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_53096
Lnet/minecraft/class_8744;method_53096(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
official a
Lbhp;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-
fixEffect
private static <T> com.mojang.serialization.Dynamic<T> fixEffect(com.mojang.serialization.Dynamic<T> effectDynamic) - Mappings:
Namespace Name Mixin selector named fixEffect
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixEffect(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53082
Lnet/minecraft/class_8744;method_53082(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbhp;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixEffectList
private static <T> com.mojang.serialization.Dynamic<T> fixEffectList(com.mojang.serialization.Dynamic<T> dynamic, String oldEffectListKey, String newEffectListKey) - Mappings:
Namespace Name Mixin selector named fixEffectList
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixEffectList(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_53101
Lnet/minecraft/class_8744;method_53101(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
official b
Lbhp;b(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-
fixSuspiciousStewEffect
private static <T> com.mojang.serialization.Dynamic<T> fixSuspiciousStewEffect(com.mojang.serialization.Dynamic<T> effectDynamicIn, com.mojang.serialization.Dynamic<T> effectDynamicOut) - Mappings:
Namespace Name Mixin selector named fixSuspiciousStewEffect
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixSuspiciousStewEffect(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53083
Lnet/minecraft/class_8744;method_53083(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbhp;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixSuspiciousStewEffect
private static <T> com.mojang.serialization.Dynamic<T> fixSuspiciousStewEffect(com.mojang.serialization.Dynamic<T> effectDynamic) - Mappings:
Namespace Name Mixin selector named fixSuspiciousStewEffect
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixSuspiciousStewEffect(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53095
Lnet/minecraft/class_8744;method_53095(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official b
Lbhp;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixEntityEffects
private com.mojang.datafixers.Typed<?> fixEntityEffects(com.mojang.datafixers.Typed<?> entityTyped, com.mojang.datafixers.DSL.TypeReference entityTypeReference, String entityId, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> effectsFixer) - Mappings:
Namespace Name Mixin selector named fixEntityEffects
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixEntityEffects(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
intermediary method_53081
Lnet/minecraft/class_8744;method_53081(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
official a
Lbhp;a(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
-
makeBlockEntitiesRule
private com.mojang.datafixers.TypeRewriteRule makeBlockEntitiesRule()- Mappings:
Namespace Name Mixin selector named makeBlockEntitiesRule
Lnet/minecraft/datafixer/fix/StatusEffectFix;makeBlockEntitiesRule()Lcom/mojang/datafixers/TypeRewriteRule;
intermediary method_53078
Lnet/minecraft/class_8744;method_53078()Lcom/mojang/datafixers/TypeRewriteRule;
official a
Lbhp;a()Lcom/mojang/datafixers/TypeRewriteRule;
-
fixStewEffectsKey
private static <T> com.mojang.serialization.Dynamic<T> fixStewEffectsKey(com.mojang.serialization.Dynamic<T> dynamic) - Mappings:
Namespace Name Mixin selector named fixStewEffectsKey
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixStewEffectsKey(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53100
Lnet/minecraft/class_8744;method_53100(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official c
Lbhp;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixCustomPotionEffectsKey
private static <T> com.mojang.serialization.Dynamic<T> fixCustomPotionEffectsKey(com.mojang.serialization.Dynamic<T> dynamic) - Mappings:
Namespace Name Mixin selector named fixCustomPotionEffectsKey
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixCustomPotionEffectsKey(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53103
Lnet/minecraft/class_8744;method_53103(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official d
Lbhp;d(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixEffectsKey
private static <T> com.mojang.serialization.Dynamic<T> fixEffectsKey(com.mojang.serialization.Dynamic<T> dynamic) - Mappings:
Namespace Name Mixin selector named fixEffectsKey
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixEffectsKey(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53104
Lnet/minecraft/class_8744;method_53104(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official e
Lbhp;e(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixActiveEffectsKey
private static com.mojang.serialization.Dynamic<?> fixActiveEffectsKey(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector named fixActiveEffectsKey
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixActiveEffectsKey(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53105
Lnet/minecraft/class_8744;method_53105(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official f
Lbhp;f(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
makeEntitiesRule
private com.mojang.datafixers.TypeRewriteRule makeEntitiesRule()- Mappings:
Namespace Name Mixin selector named makeEntitiesRule
Lnet/minecraft/datafixer/fix/StatusEffectFix;makeEntitiesRule()Lcom/mojang/datafixers/TypeRewriteRule;
intermediary method_53093
Lnet/minecraft/class_8744;method_53093()Lcom/mojang/datafixers/TypeRewriteRule;
official b
Lbhp;b()Lcom/mojang/datafixers/TypeRewriteRule;
-
makePlayersRule
private com.mojang.datafixers.TypeRewriteRule makePlayersRule()- Mappings:
Namespace Name Mixin selector named makePlayersRule
Lnet/minecraft/datafixer/fix/StatusEffectFix;makePlayersRule()Lcom/mojang/datafixers/TypeRewriteRule;
intermediary method_53713
Lnet/minecraft/class_8744;method_53713()Lcom/mojang/datafixers/TypeRewriteRule;
official c
Lbhp;c()Lcom/mojang/datafixers/TypeRewriteRule;
-
fixSuspiciousStewEffects
private static <T> com.mojang.serialization.Dynamic<T> fixSuspiciousStewEffects(com.mojang.serialization.Dynamic<T> tagTyped) - Mappings:
Namespace Name Mixin selector named fixSuspiciousStewEffects
Lnet/minecraft/datafixer/fix/StatusEffectFix;fixSuspiciousStewEffects(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_53106
Lnet/minecraft/class_8744;method_53106(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official g
Lbhp;g(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
makeItemStacksRule
private com.mojang.datafixers.TypeRewriteRule makeItemStacksRule()- Mappings:
Namespace Name Mixin selector named makeItemStacksRule
Lnet/minecraft/datafixer/fix/StatusEffectFix;makeItemStacksRule()Lcom/mojang/datafixers/TypeRewriteRule;
intermediary method_53098
Lnet/minecraft/class_8744;method_53098()Lcom/mojang/datafixers/TypeRewriteRule;
official d
Lbhp;d()Lcom/mojang/datafixers/TypeRewriteRule;
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-