net.minecraft.util.datafix.fixes

public class MobEffectIdFix

extends com.mojang.datafixers.DataFix

bfl
net.minecraft.util.datafix.fixes.MobEffectIdFix
net.minecraft.class_8744
net.minecraft.datafixer.fix.StatusEffectFix
net.minecraft.src.C_290067_
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
f_290362_
private static final Set<String>
b
MOB_EFFECT_INSTANCE_CARRIER_ITEMS
field_45726
POTION_ITEM_IDS
f_290658_

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)
m_295189_(com.mojang.serialization.Dynamic<T> p_300040_, String p_300405_)
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)
m_293587_(com.mojang.serialization.Dynamic<T> p_299189_, String p_301147_, com.mojang.serialization.Dynamic<T> p_297288_, String p_297619_)
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)
m_294794_(com.mojang.serialization.Dynamic<T> p_299905_, String p_299399_, String p_301048_)
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)
m_293746_(com.mojang.serialization.Dynamic<T> p_297886_)
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)
m_295180_(com.mojang.serialization.Dynamic<T> p_298694_, String p_298177_, String p_300921_)
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)
m_294722_(com.mojang.serialization.Dynamic<T> p_299220_, com.mojang.serialization.Dynamic<T> p_300010_)
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)
m_295296_(com.mojang.serialization.Dynamic<T> p_297367_)
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)
m_294707_(com.mojang.datafixers.Typed<?> p_299152_, com.mojang.datafixers.DSL$TypeReference p_300042_, String p_300498_, Function<com.mojang.serialization.Dynamic<?>, com.mojang.serialization.Dynamic<?>> arg3)
private com.mojang.datafixers.TypeRewriteRule
a()
blockEntityFixer()
method_53078()
makeBlockEntitiesRule()
m_293636_()
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)
m_293644_(com.mojang.serialization.Dynamic<T> p_298884_)
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)
m_292610_(com.mojang.serialization.Dynamic<T> p_298539_)
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)
m_295662_(com.mojang.serialization.Dynamic<T> p_300392_)
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)
m_292931_(com.mojang.serialization.Dynamic<?> p_299534_)
private com.mojang.datafixers.TypeRewriteRule
b()
entityFixer()
method_53093()
makeEntitiesRule()
m_292587_()
private com.mojang.datafixers.TypeRewriteRule
c()
playerFixer()
method_53713()
makePlayersRule()
m_295257_()
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)
m_295495_(com.mojang.serialization.Dynamic<T> p_301166_)
private com.mojang.datafixers.TypeRewriteRule
d()
itemStackFixer()
method_53098()
makeItemStacksRule()
m_294539_()
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
makeRule()
makeRule()