net.minecraft.util.datafix.fixes

public class MobEffectIdFix

extends com.mojang.datafixers.DataFix

bhq
net.minecraft.util.datafix.fixes.MobEffectIdFix
net.minecraft.class_8744
net.minecraft.datafixer.fix.StatusEffectFix
net.minecraft.util.datafix.fixes.MobEffectIdFix

Field summary

Modifier and TypeField
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String>
a
ID_MAP
field_45725
OLD_TO_NEW_IDS
private static final Set<String>
b
MOB_EFFECT_INSTANCE_CARRIER_ITEMS
field_45726
POTION_ITEM_IDS

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema outputSchema)

Method summary

Modifier and TypeMethod
private static <T> Optional<com.mojang.serialization.Dynamic<T>>
a(com.mojang.serialization.Dynamic<T> arg0, String arg1)
getAndConvertMobEffectId(com.mojang.serialization.Dynamic<T> arg0, String arg1)
method_53084(com.mojang.serialization.Dynamic<T> arg0, String arg1)
updateId(com.mojang.serialization.Dynamic<T> dynamic, String idKey)
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, String arg1, com.mojang.serialization.Dynamic<T> arg2, String arg3)
updateMobEffectIdField(com.mojang.serialization.Dynamic<T> arg0, String arg1, com.mojang.serialization.Dynamic<T> arg2, String arg3)
method_53085(com.mojang.serialization.Dynamic<T> arg0, String arg1, com.mojang.serialization.Dynamic<T> arg2, String arg3)
renameKeyAndUpdateId(com.mojang.serialization.Dynamic<T> dynamic, String oldKey, com.mojang.serialization.Dynamic<T> arg2, String newKey)
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2)
updateMobEffectIdField(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2)
method_53096(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2)
renameKeyAndUpdateId(com.mojang.serialization.Dynamic<T> dynamic, String oldKey, String newKey)
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0)
updateMobEffectInstance(com.mojang.serialization.Dynamic<T> arg0)
method_53082(com.mojang.serialization.Dynamic<T> arg0)
fixEffect(com.mojang.serialization.Dynamic<T> effectDynamic)
private static <T> com.mojang.serialization.Dynamic<T>
b(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2)
updateMobEffectInstanceList(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2)
method_53101(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2)
fixEffectList(com.mojang.serialization.Dynamic<T> dynamic, String oldEffectListKey, String newEffectListKey)
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, com.mojang.serialization.Dynamic<T> arg1)
updateSuspiciousStewEntry(com.mojang.serialization.Dynamic<T> arg0, com.mojang.serialization.Dynamic<T> arg1)
method_53083(com.mojang.serialization.Dynamic<T> arg0, com.mojang.serialization.Dynamic<T> arg1)
fixSuspiciousStewEffect(com.mojang.serialization.Dynamic<T> effectDynamicIn, com.mojang.serialization.Dynamic<T> effectDynamicOut)
private static <T> com.mojang.serialization.Dynamic<T>
b(com.mojang.serialization.Dynamic<T> arg0)
updateSuspiciousStewEntry(com.mojang.serialization.Dynamic<T> arg0)
method_53095(com.mojang.serialization.Dynamic<T> arg0)
fixSuspiciousStewEffect(com.mojang.serialization.Dynamic<T> effectDynamic)
private com.mojang.datafixers.Typed<?>
a(com.mojang.datafixers.Typed<?> arg0, com.mojang.datafixers.DSL$TypeReference arg1, String arg2, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> arg3)
updateNamedChoice(com.mojang.datafixers.Typed<?> arg0, com.mojang.datafixers.DSL$TypeReference arg1, String arg2, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> arg3)
method_53081(com.mojang.datafixers.Typed<?> arg0, com.mojang.datafixers.DSL$TypeReference arg1, String arg2, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> arg3)
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 com.mojang.datafixers.TypeRewriteRule
a()
blockEntityFixer()
method_53078()
makeBlockEntitiesRule()
private static <T> com.mojang.serialization.Dynamic<T>
c(com.mojang.serialization.Dynamic<T> arg0)
fixMooshroomTag(com.mojang.serialization.Dynamic<T> arg0)
method_53100(com.mojang.serialization.Dynamic<T> arg0)
fixStewEffectsKey(com.mojang.serialization.Dynamic<T> dynamic)
private static <T> com.mojang.serialization.Dynamic<T>
d(com.mojang.serialization.Dynamic<T> arg0)
fixArrowTag(com.mojang.serialization.Dynamic<T> arg0)
method_53103(com.mojang.serialization.Dynamic<T> arg0)
fixCustomPotionEffectsKey(com.mojang.serialization.Dynamic<T> dynamic)
private static <T> com.mojang.serialization.Dynamic<T>
e(com.mojang.serialization.Dynamic<T> arg0)
fixAreaEffectCloudTag(com.mojang.serialization.Dynamic<T> arg0)
method_53104(com.mojang.serialization.Dynamic<T> arg0)
fixEffectsKey(com.mojang.serialization.Dynamic<T> dynamic)
private static com.mojang.serialization.Dynamic<?>
f(com.mojang.serialization.Dynamic<?> arg0)
updateLivingEntityTag(com.mojang.serialization.Dynamic<?> arg0)
method_53105(com.mojang.serialization.Dynamic<?> arg0)
fixActiveEffectsKey(com.mojang.serialization.Dynamic<?> dynamic)
private com.mojang.datafixers.TypeRewriteRule
b()
entityFixer()
method_53093()
makeEntitiesRule()
private com.mojang.datafixers.TypeRewriteRule
c()
playerFixer()
method_53713()
makePlayersRule()
private static <T> com.mojang.serialization.Dynamic<T>
g(com.mojang.serialization.Dynamic<T> arg0)
fixSuspiciousStewTag(com.mojang.serialization.Dynamic<T> arg0)
method_53106(com.mojang.serialization.Dynamic<T> arg0)
fixSuspiciousStewEffects(com.mojang.serialization.Dynamic<T> tagTyped)
private com.mojang.datafixers.TypeRewriteRule
d()
itemStackFixer()
method_53098()
makeItemStacksRule()
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
makeRule()