2025-11-24 22:52:51 +03:00

1227 lines
99 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* com.google.common.collect.ImmutableMap
* com.google.common.util.concurrent.ThreadFactoryBuilder
* com.mojang.datafixers.DSL
* com.mojang.datafixers.DSL$TypeReference
* com.mojang.datafixers.DataFix
* com.mojang.datafixers.DataFixer
* com.mojang.datafixers.DataFixerBuilder
* com.mojang.datafixers.DataFixerBuilder$Result
* com.mojang.datafixers.OpticFinder
* com.mojang.datafixers.TypeRewriteRule
* com.mojang.datafixers.schemas.Schema
* com.mojang.datafixers.types.Type
* com.mojang.serialization.Dynamic
* it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap
*/
package net.minecraft.util.datafix;
import com.google.common.collect.ImmutableMap;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.mojang.datafixers.DSL;
import com.mojang.datafixers.DataFix;
import com.mojang.datafixers.DataFixer;
import com.mojang.datafixers.DataFixerBuilder;
import com.mojang.datafixers.OpticFinder;
import com.mojang.datafixers.TypeRewriteRule;
import com.mojang.datafixers.schemas.Schema;
import com.mojang.datafixers.types.Type;
import com.mojang.serialization.Dynamic;
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.function.UnaryOperator;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import net.minecraft.SharedConstants;
import net.minecraft.util.Util;
import net.minecraft.util.datafix.LegacyComponentDataFixUtils;
import net.minecraft.util.datafix.fixes.AbstractArrowPickupFix;
import net.minecraft.util.datafix.fixes.AddFieldFix;
import net.minecraft.util.datafix.fixes.AddFlagIfNotPresentFix;
import net.minecraft.util.datafix.fixes.AddNewChoices;
import net.minecraft.util.datafix.fixes.AdvancementsFix;
import net.minecraft.util.datafix.fixes.AdvancementsRenameFix;
import net.minecraft.util.datafix.fixes.AreaEffectCloudDurationScaleFix;
import net.minecraft.util.datafix.fixes.AreaEffectCloudPotionFix;
import net.minecraft.util.datafix.fixes.AttributeIdPrefixFix;
import net.minecraft.util.datafix.fixes.AttributeModifierIdFix;
import net.minecraft.util.datafix.fixes.AttributesRenameLegacy;
import net.minecraft.util.datafix.fixes.BannerEntityCustomNameToOverrideComponentFix;
import net.minecraft.util.datafix.fixes.BannerPatternFormatFix;
import net.minecraft.util.datafix.fixes.BedItemColorFix;
import net.minecraft.util.datafix.fixes.BeehiveFieldRenameFix;
import net.minecraft.util.datafix.fixes.BiomeFix;
import net.minecraft.util.datafix.fixes.BitStorageAlignFix;
import net.minecraft.util.datafix.fixes.BlendingDataFix;
import net.minecraft.util.datafix.fixes.BlendingDataRemoveFromNetherEndFix;
import net.minecraft.util.datafix.fixes.BlockEntityBannerColorFix;
import net.minecraft.util.datafix.fixes.BlockEntityBlockStateFix;
import net.minecraft.util.datafix.fixes.BlockEntityCustomNameToComponentFix;
import net.minecraft.util.datafix.fixes.BlockEntityFurnaceBurnTimeFix;
import net.minecraft.util.datafix.fixes.BlockEntityIdFix;
import net.minecraft.util.datafix.fixes.BlockEntityJukeboxFix;
import net.minecraft.util.datafix.fixes.BlockEntityKeepPacked;
import net.minecraft.util.datafix.fixes.BlockEntityRenameFix;
import net.minecraft.util.datafix.fixes.BlockEntityShulkerBoxColorFix;
import net.minecraft.util.datafix.fixes.BlockEntitySignDoubleSidedEditableTextFix;
import net.minecraft.util.datafix.fixes.BlockEntityUUIDFix;
import net.minecraft.util.datafix.fixes.BlockNameFlatteningFix;
import net.minecraft.util.datafix.fixes.BlockPosFormatAndRenamesFix;
import net.minecraft.util.datafix.fixes.BlockPropertyRenameAndFix;
import net.minecraft.util.datafix.fixes.BlockRenameFix;
import net.minecraft.util.datafix.fixes.BlockStateStructureTemplateFix;
import net.minecraft.util.datafix.fixes.BoatSplitFix;
import net.minecraft.util.datafix.fixes.CarvingStepRemoveFix;
import net.minecraft.util.datafix.fixes.CatTypeFix;
import net.minecraft.util.datafix.fixes.CauldronRenameFix;
import net.minecraft.util.datafix.fixes.CavesAndCliffsRenames;
import net.minecraft.util.datafix.fixes.ChestedHorsesInventoryZeroIndexingFix;
import net.minecraft.util.datafix.fixes.ChunkBedBlockEntityInjecterFix;
import net.minecraft.util.datafix.fixes.ChunkBiomeFix;
import net.minecraft.util.datafix.fixes.ChunkDeleteIgnoredLightDataFix;
import net.minecraft.util.datafix.fixes.ChunkDeleteLightFix;
import net.minecraft.util.datafix.fixes.ChunkHeightAndBiomeFix;
import net.minecraft.util.datafix.fixes.ChunkLightRemoveFix;
import net.minecraft.util.datafix.fixes.ChunkPalettedStorageFix;
import net.minecraft.util.datafix.fixes.ChunkProtoTickListFix;
import net.minecraft.util.datafix.fixes.ChunkRenamesFix;
import net.minecraft.util.datafix.fixes.ChunkStatusFix;
import net.minecraft.util.datafix.fixes.ChunkStatusFix2;
import net.minecraft.util.datafix.fixes.ChunkStructuresTemplateRenameFix;
import net.minecraft.util.datafix.fixes.ChunkTicketUnpackPosFix;
import net.minecraft.util.datafix.fixes.ChunkToProtochunkFix;
import net.minecraft.util.datafix.fixes.ColorlessShulkerEntityFix;
import net.minecraft.util.datafix.fixes.ContainerBlockEntityLockPredicateFix;
import net.minecraft.util.datafix.fixes.CopperGolemWeatherStateFix;
import net.minecraft.util.datafix.fixes.CriteriaRenameFix;
import net.minecraft.util.datafix.fixes.CustomModelDataExpandFix;
import net.minecraft.util.datafix.fixes.DebugProfileOverlayReferenceFix;
import net.minecraft.util.datafix.fixes.DecoratedPotFieldRenameFix;
import net.minecraft.util.datafix.fixes.DropChancesFormatFix;
import net.minecraft.util.datafix.fixes.DropInvalidSignDataFix;
import net.minecraft.util.datafix.fixes.DyeItemRenameFix;
import net.minecraft.util.datafix.fixes.EffectDurationFix;
import net.minecraft.util.datafix.fixes.EmptyItemInHotbarFix;
import net.minecraft.util.datafix.fixes.EmptyItemInVillagerTradeFix;
import net.minecraft.util.datafix.fixes.EntityArmorStandSilentFix;
import net.minecraft.util.datafix.fixes.EntityAttributeBaseValueFix;
import net.minecraft.util.datafix.fixes.EntityBlockStateFix;
import net.minecraft.util.datafix.fixes.EntityBrushableBlockFieldsRenameFix;
import net.minecraft.util.datafix.fixes.EntityCatSplitFix;
import net.minecraft.util.datafix.fixes.EntityCodSalmonFix;
import net.minecraft.util.datafix.fixes.EntityCustomNameToComponentFix;
import net.minecraft.util.datafix.fixes.EntityElderGuardianSplitFix;
import net.minecraft.util.datafix.fixes.EntityEquipmentToArmorAndHandFix;
import net.minecraft.util.datafix.fixes.EntityFallDistanceFloatToDoubleFix;
import net.minecraft.util.datafix.fixes.EntityFieldsRenameFix;
import net.minecraft.util.datafix.fixes.EntityGoatMissingStateFix;
import net.minecraft.util.datafix.fixes.EntityHealthFix;
import net.minecraft.util.datafix.fixes.EntityHorseSaddleFix;
import net.minecraft.util.datafix.fixes.EntityHorseSplitFix;
import net.minecraft.util.datafix.fixes.EntityIdFix;
import net.minecraft.util.datafix.fixes.EntityItemFrameDirectionFix;
import net.minecraft.util.datafix.fixes.EntityMinecartIdentifiersFix;
import net.minecraft.util.datafix.fixes.EntityPaintingItemFrameDirectionFix;
import net.minecraft.util.datafix.fixes.EntityPaintingMotiveFix;
import net.minecraft.util.datafix.fixes.EntityProjectileOwnerFix;
import net.minecraft.util.datafix.fixes.EntityPufferfishRenameFix;
import net.minecraft.util.datafix.fixes.EntityRavagerRenameFix;
import net.minecraft.util.datafix.fixes.EntityRedundantChanceTagsFix;
import net.minecraft.util.datafix.fixes.EntityRidingToPassengersFix;
import net.minecraft.util.datafix.fixes.EntitySalmonSizeFix;
import net.minecraft.util.datafix.fixes.EntityShulkerColorFix;
import net.minecraft.util.datafix.fixes.EntityShulkerRotationFix;
import net.minecraft.util.datafix.fixes.EntitySkeletonSplitFix;
import net.minecraft.util.datafix.fixes.EntitySpawnerItemVariantComponentFix;
import net.minecraft.util.datafix.fixes.EntityStringUuidFix;
import net.minecraft.util.datafix.fixes.EntityTheRenameningFix;
import net.minecraft.util.datafix.fixes.EntityTippedArrowFix;
import net.minecraft.util.datafix.fixes.EntityUUIDFix;
import net.minecraft.util.datafix.fixes.EntityVariantFix;
import net.minecraft.util.datafix.fixes.EntityWolfColorFix;
import net.minecraft.util.datafix.fixes.EntityZombieSplitFix;
import net.minecraft.util.datafix.fixes.EntityZombieVillagerTypeFix;
import net.minecraft.util.datafix.fixes.EntityZombifiedPiglinRenameFix;
import net.minecraft.util.datafix.fixes.EquipmentFormatFix;
import net.minecraft.util.datafix.fixes.EquippableAssetRenameFix;
import net.minecraft.util.datafix.fixes.FeatureFlagRemoveFix;
import net.minecraft.util.datafix.fixes.FilteredBooksFix;
import net.minecraft.util.datafix.fixes.FilteredSignsFix;
import net.minecraft.util.datafix.fixes.FireResistantToDamageResistantComponentFix;
import net.minecraft.util.datafix.fixes.FixProjectileStoredItem;
import net.minecraft.util.datafix.fixes.FixWolfHealth;
import net.minecraft.util.datafix.fixes.FoodToConsumableFix;
import net.minecraft.util.datafix.fixes.ForcePoiRebuild;
import net.minecraft.util.datafix.fixes.ForcedChunkToTicketFix;
import net.minecraft.util.datafix.fixes.FurnaceRecipeFix;
import net.minecraft.util.datafix.fixes.GameRuleRegistryFix;
import net.minecraft.util.datafix.fixes.GoatHornIdFix;
import net.minecraft.util.datafix.fixes.GossipUUIDFix;
import net.minecraft.util.datafix.fixes.HeightmapRenamingFix;
import net.minecraft.util.datafix.fixes.HorseBodyArmorItemFix;
import net.minecraft.util.datafix.fixes.IglooMetadataRemovalFix;
import net.minecraft.util.datafix.fixes.InlineBlockPosFormatFix;
import net.minecraft.util.datafix.fixes.InvalidBlockEntityLockFix;
import net.minecraft.util.datafix.fixes.InvalidLockComponentFix;
import net.minecraft.util.datafix.fixes.ItemBannerColorFix;
import net.minecraft.util.datafix.fixes.ItemCustomNameToComponentFix;
import net.minecraft.util.datafix.fixes.ItemIdFix;
import net.minecraft.util.datafix.fixes.ItemLoreFix;
import net.minecraft.util.datafix.fixes.ItemPotionFix;
import net.minecraft.util.datafix.fixes.ItemRenameFix;
import net.minecraft.util.datafix.fixes.ItemShulkerBoxColorFix;
import net.minecraft.util.datafix.fixes.ItemSpawnEggFix;
import net.minecraft.util.datafix.fixes.ItemStackComponentizationFix;
import net.minecraft.util.datafix.fixes.ItemStackCustomNameToOverrideComponentFix;
import net.minecraft.util.datafix.fixes.ItemStackEnchantmentNamesFix;
import net.minecraft.util.datafix.fixes.ItemStackMapIdFix;
import net.minecraft.util.datafix.fixes.ItemStackSpawnEggFix;
import net.minecraft.util.datafix.fixes.ItemStackTheFlatteningFix;
import net.minecraft.util.datafix.fixes.ItemStackUUIDFix;
import net.minecraft.util.datafix.fixes.ItemWaterPotionFix;
import net.minecraft.util.datafix.fixes.JigsawPropertiesFix;
import net.minecraft.util.datafix.fixes.JigsawRotationFix;
import net.minecraft.util.datafix.fixes.JukeboxTicksSinceSongStartedFix;
import net.minecraft.util.datafix.fixes.LeavesFix;
import net.minecraft.util.datafix.fixes.LegacyDimensionIdFix;
import net.minecraft.util.datafix.fixes.LegacyDragonFightFix;
import net.minecraft.util.datafix.fixes.LegacyHoverEventFix;
import net.minecraft.util.datafix.fixes.LegacyWorldBorderFix;
import net.minecraft.util.datafix.fixes.LevelDataGeneratorOptionsFix;
import net.minecraft.util.datafix.fixes.LevelFlatGeneratorInfoFix;
import net.minecraft.util.datafix.fixes.LevelLegacyWorldGenSettingsFix;
import net.minecraft.util.datafix.fixes.LevelUUIDFix;
import net.minecraft.util.datafix.fixes.LockComponentPredicateFix;
import net.minecraft.util.datafix.fixes.LodestoneCompassComponentFix;
import net.minecraft.util.datafix.fixes.MapBannerBlockPosFormatFix;
import net.minecraft.util.datafix.fixes.MapIdFix;
import net.minecraft.util.datafix.fixes.MemoryExpiryDataFix;
import net.minecraft.util.datafix.fixes.MissingDimensionFix;
import net.minecraft.util.datafix.fixes.MobEffectIdFix;
import net.minecraft.util.datafix.fixes.MobSpawnerEntityIdentifiersFix;
import net.minecraft.util.datafix.fixes.NamedEntityConvertUncheckedFix;
import net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix;
import net.minecraft.util.datafix.fixes.NamespacedTypeRenameFix;
import net.minecraft.util.datafix.fixes.NewVillageFix;
import net.minecraft.util.datafix.fixes.ObjectiveRenderTypeFix;
import net.minecraft.util.datafix.fixes.OminousBannerBlockEntityRenameFix;
import net.minecraft.util.datafix.fixes.OminousBannerRarityFix;
import net.minecraft.util.datafix.fixes.OminousBannerRenameFix;
import net.minecraft.util.datafix.fixes.OptionsAccessibilityOnboardFix;
import net.minecraft.util.datafix.fixes.OptionsAddTextBackgroundFix;
import net.minecraft.util.datafix.fixes.OptionsAmbientOcclusionFix;
import net.minecraft.util.datafix.fixes.OptionsFancyGraphicsToGraphicsModeFix;
import net.minecraft.util.datafix.fixes.OptionsForceVBOFix;
import net.minecraft.util.datafix.fixes.OptionsGraphicsModeSplitFix;
import net.minecraft.util.datafix.fixes.OptionsKeyLwjgl3Fix;
import net.minecraft.util.datafix.fixes.OptionsKeyTranslationFix;
import net.minecraft.util.datafix.fixes.OptionsLowerCaseLanguageFix;
import net.minecraft.util.datafix.fixes.OptionsMenuBlurrinessFix;
import net.minecraft.util.datafix.fixes.OptionsProgrammerArtFix;
import net.minecraft.util.datafix.fixes.OptionsRenameFieldFix;
import net.minecraft.util.datafix.fixes.OptionsSetGraphicsPresetToCustomFix;
import net.minecraft.util.datafix.fixes.OverreachingTickFix;
import net.minecraft.util.datafix.fixes.ParticleUnflatteningFix;
import net.minecraft.util.datafix.fixes.PlayerEquipmentFix;
import net.minecraft.util.datafix.fixes.PlayerHeadBlockProfileFix;
import net.minecraft.util.datafix.fixes.PlayerRespawnDataFix;
import net.minecraft.util.datafix.fixes.PlayerUUIDFix;
import net.minecraft.util.datafix.fixes.PoiTypeRemoveFix;
import net.minecraft.util.datafix.fixes.PoiTypeRenameFix;
import net.minecraft.util.datafix.fixes.PrimedTntBlockStateFixer;
import net.minecraft.util.datafix.fixes.ProjectileStoredWeaponFix;
import net.minecraft.util.datafix.fixes.RaidRenamesDataFix;
import net.minecraft.util.datafix.fixes.RandomSequenceSettingsFix;
import net.minecraft.util.datafix.fixes.RecipesFix;
import net.minecraft.util.datafix.fixes.RecipesRenameningFix;
import net.minecraft.util.datafix.fixes.RedstoneWireConnectionsFix;
import net.minecraft.util.datafix.fixes.References;
import net.minecraft.util.datafix.fixes.RemapChunkStatusFix;
import net.minecraft.util.datafix.fixes.RemoveBlockEntityTagFix;
import net.minecraft.util.datafix.fixes.RemoveEmptyItemInBrushableBlockFix;
import net.minecraft.util.datafix.fixes.RemoveGolemGossipFix;
import net.minecraft.util.datafix.fixes.RenameEnchantmentsFix;
import net.minecraft.util.datafix.fixes.RenamedCoralFansFix;
import net.minecraft.util.datafix.fixes.RenamedCoralFix;
import net.minecraft.util.datafix.fixes.ReorganizePoi;
import net.minecraft.util.datafix.fixes.SaddleEquipmentSlotFix;
import net.minecraft.util.datafix.fixes.SavedDataFeaturePoolElementFix;
import net.minecraft.util.datafix.fixes.SavedDataUUIDFix;
import net.minecraft.util.datafix.fixes.ScoreboardDisplayNameFix;
import net.minecraft.util.datafix.fixes.ScoreboardDisplaySlotFix;
import net.minecraft.util.datafix.fixes.SignTextStrictJsonFix;
import net.minecraft.util.datafix.fixes.SpawnerDataFix;
import net.minecraft.util.datafix.fixes.StatsCounterFix;
import net.minecraft.util.datafix.fixes.StatsRenameFix;
import net.minecraft.util.datafix.fixes.StriderGravityFix;
import net.minecraft.util.datafix.fixes.StructureReferenceCountFix;
import net.minecraft.util.datafix.fixes.StructureSettingsFlattenFix;
import net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix;
import net.minecraft.util.datafix.fixes.TextComponentHoverAndClickEventFix;
import net.minecraft.util.datafix.fixes.TextComponentStringifiedFlagsFix;
import net.minecraft.util.datafix.fixes.ThrownPotionSplitFix;
import net.minecraft.util.datafix.fixes.TippedArrowPotionToItemFix;
import net.minecraft.util.datafix.fixes.TooltipDisplayComponentFix;
import net.minecraft.util.datafix.fixes.TrappedChestBlockEntityFix;
import net.minecraft.util.datafix.fixes.TrialSpawnerConfigFix;
import net.minecraft.util.datafix.fixes.TrialSpawnerConfigInRegistryFix;
import net.minecraft.util.datafix.fixes.TridentAnimationFix;
import net.minecraft.util.datafix.fixes.UnflattenTextComponentFix;
import net.minecraft.util.datafix.fixes.VariantRenameFix;
import net.minecraft.util.datafix.fixes.VillagerDataFix;
import net.minecraft.util.datafix.fixes.VillagerFollowRangeFix;
import net.minecraft.util.datafix.fixes.VillagerRebuildLevelAndXpFix;
import net.minecraft.util.datafix.fixes.VillagerSetCanPickUpLootFix;
import net.minecraft.util.datafix.fixes.VillagerTradeFix;
import net.minecraft.util.datafix.fixes.WallPropertyFix;
import net.minecraft.util.datafix.fixes.WeaponSmithChestLootTableFix;
import net.minecraft.util.datafix.fixes.WorldBorderWarningTimeFix;
import net.minecraft.util.datafix.fixes.WorldGenSettingsDisallowOldCustomWorldsFix;
import net.minecraft.util.datafix.fixes.WorldGenSettingsFix;
import net.minecraft.util.datafix.fixes.WorldGenSettingsHeightAndBiomeFix;
import net.minecraft.util.datafix.fixes.WorldSpawnDataFix;
import net.minecraft.util.datafix.fixes.WriteAndReadFix;
import net.minecraft.util.datafix.fixes.WrittenBookPagesStrictJsonFix;
import net.minecraft.util.datafix.fixes.ZombieVillagerRebuildXpFix;
import net.minecraft.util.datafix.schemas.NamespacedSchema;
import net.minecraft.util.datafix.schemas.V100;
import net.minecraft.util.datafix.schemas.V102;
import net.minecraft.util.datafix.schemas.V1022;
import net.minecraft.util.datafix.schemas.V106;
import net.minecraft.util.datafix.schemas.V107;
import net.minecraft.util.datafix.schemas.V1125;
import net.minecraft.util.datafix.schemas.V135;
import net.minecraft.util.datafix.schemas.V143;
import net.minecraft.util.datafix.schemas.V1451;
import net.minecraft.util.datafix.schemas.V1451_1;
import net.minecraft.util.datafix.schemas.V1451_2;
import net.minecraft.util.datafix.schemas.V1451_3;
import net.minecraft.util.datafix.schemas.V1451_4;
import net.minecraft.util.datafix.schemas.V1451_5;
import net.minecraft.util.datafix.schemas.V1451_6;
import net.minecraft.util.datafix.schemas.V1458;
import net.minecraft.util.datafix.schemas.V1460;
import net.minecraft.util.datafix.schemas.V1466;
import net.minecraft.util.datafix.schemas.V1470;
import net.minecraft.util.datafix.schemas.V1481;
import net.minecraft.util.datafix.schemas.V1483;
import net.minecraft.util.datafix.schemas.V1486;
import net.minecraft.util.datafix.schemas.V1488;
import net.minecraft.util.datafix.schemas.V1510;
import net.minecraft.util.datafix.schemas.V1800;
import net.minecraft.util.datafix.schemas.V1801;
import net.minecraft.util.datafix.schemas.V1904;
import net.minecraft.util.datafix.schemas.V1906;
import net.minecraft.util.datafix.schemas.V1909;
import net.minecraft.util.datafix.schemas.V1920;
import net.minecraft.util.datafix.schemas.V1928;
import net.minecraft.util.datafix.schemas.V1929;
import net.minecraft.util.datafix.schemas.V1931;
import net.minecraft.util.datafix.schemas.V2100;
import net.minecraft.util.datafix.schemas.V2501;
import net.minecraft.util.datafix.schemas.V2502;
import net.minecraft.util.datafix.schemas.V2505;
import net.minecraft.util.datafix.schemas.V2509;
import net.minecraft.util.datafix.schemas.V2511_1;
import net.minecraft.util.datafix.schemas.V2519;
import net.minecraft.util.datafix.schemas.V2522;
import net.minecraft.util.datafix.schemas.V2551;
import net.minecraft.util.datafix.schemas.V2568;
import net.minecraft.util.datafix.schemas.V2571;
import net.minecraft.util.datafix.schemas.V2684;
import net.minecraft.util.datafix.schemas.V2686;
import net.minecraft.util.datafix.schemas.V2688;
import net.minecraft.util.datafix.schemas.V2704;
import net.minecraft.util.datafix.schemas.V2707;
import net.minecraft.util.datafix.schemas.V2831;
import net.minecraft.util.datafix.schemas.V2832;
import net.minecraft.util.datafix.schemas.V2842;
import net.minecraft.util.datafix.schemas.V3076;
import net.minecraft.util.datafix.schemas.V3078;
import net.minecraft.util.datafix.schemas.V3081;
import net.minecraft.util.datafix.schemas.V3082;
import net.minecraft.util.datafix.schemas.V3083;
import net.minecraft.util.datafix.schemas.V3202;
import net.minecraft.util.datafix.schemas.V3203;
import net.minecraft.util.datafix.schemas.V3204;
import net.minecraft.util.datafix.schemas.V3325;
import net.minecraft.util.datafix.schemas.V3326;
import net.minecraft.util.datafix.schemas.V3327;
import net.minecraft.util.datafix.schemas.V3328;
import net.minecraft.util.datafix.schemas.V3438;
import net.minecraft.util.datafix.schemas.V3439;
import net.minecraft.util.datafix.schemas.V3439_1;
import net.minecraft.util.datafix.schemas.V3448;
import net.minecraft.util.datafix.schemas.V3682;
import net.minecraft.util.datafix.schemas.V3683;
import net.minecraft.util.datafix.schemas.V3685;
import net.minecraft.util.datafix.schemas.V3689;
import net.minecraft.util.datafix.schemas.V3799;
import net.minecraft.util.datafix.schemas.V3807;
import net.minecraft.util.datafix.schemas.V3808;
import net.minecraft.util.datafix.schemas.V3808_1;
import net.minecraft.util.datafix.schemas.V3808_2;
import net.minecraft.util.datafix.schemas.V3813;
import net.minecraft.util.datafix.schemas.V3816;
import net.minecraft.util.datafix.schemas.V3818;
import net.minecraft.util.datafix.schemas.V3818_3;
import net.minecraft.util.datafix.schemas.V3818_4;
import net.minecraft.util.datafix.schemas.V3818_5;
import net.minecraft.util.datafix.schemas.V3825;
import net.minecraft.util.datafix.schemas.V3938;
import net.minecraft.util.datafix.schemas.V4059;
import net.minecraft.util.datafix.schemas.V4067;
import net.minecraft.util.datafix.schemas.V4070;
import net.minecraft.util.datafix.schemas.V4071;
import net.minecraft.util.datafix.schemas.V4290;
import net.minecraft.util.datafix.schemas.V4292;
import net.minecraft.util.datafix.schemas.V4300;
import net.minecraft.util.datafix.schemas.V4301;
import net.minecraft.util.datafix.schemas.V4302;
import net.minecraft.util.datafix.schemas.V4306;
import net.minecraft.util.datafix.schemas.V4307;
import net.minecraft.util.datafix.schemas.V4312;
import net.minecraft.util.datafix.schemas.V4420;
import net.minecraft.util.datafix.schemas.V4421;
import net.minecraft.util.datafix.schemas.V4531;
import net.minecraft.util.datafix.schemas.V4532;
import net.minecraft.util.datafix.schemas.V4533;
import net.minecraft.util.datafix.schemas.V4543;
import net.minecraft.util.datafix.schemas.V4648;
import net.minecraft.util.datafix.schemas.V4656;
import net.minecraft.util.datafix.schemas.V501;
import net.minecraft.util.datafix.schemas.V700;
import net.minecraft.util.datafix.schemas.V701;
import net.minecraft.util.datafix.schemas.V702;
import net.minecraft.util.datafix.schemas.V703;
import net.minecraft.util.datafix.schemas.V704;
import net.minecraft.util.datafix.schemas.V705;
import net.minecraft.util.datafix.schemas.V808;
import net.minecraft.util.datafix.schemas.V99;
public class DataFixers {
private static final BiFunction<Integer, Schema, Schema> SAME = Schema::new;
private static final BiFunction<Integer, Schema, Schema> SAME_NAMESPACED = NamespacedSchema::new;
private static final DataFixerBuilder.Result DATA_FIXER = DataFixers.createFixerUpper();
public static final int BLENDING_VERSION = 4295;
private DataFixers() {
}
public static DataFixer getDataFixer() {
return DATA_FIXER.fixer();
}
private static DataFixerBuilder.Result createFixerUpper() {
DataFixerBuilder fixerUpper = new DataFixerBuilder(SharedConstants.getCurrentVersion().dataVersion().version());
DataFixers.addFixers(fixerUpper);
return fixerUpper.build();
}
public static CompletableFuture<?> optimize(Set<DSL.TypeReference> typesToOptimize) {
if (typesToOptimize.isEmpty()) {
return CompletableFuture.completedFuture(null);
}
ExecutorService executor = Executors.newSingleThreadExecutor(new ThreadFactoryBuilder().setNameFormat("Datafixer Bootstrap").setDaemon(true).setPriority(1).build());
return DATA_FIXER.optimize(typesToOptimize, (Executor)executor);
}
/*
* WARNING - void declaration
*/
private static void addFixers(DataFixerBuilder fixerUpper) {
void v4658;
void v4657;
void v4656;
void v4651;
void v4650;
void v4649;
void v4648;
void v4548;
void v4544;
void v4543;
void v4541;
void v4537;
void v4535;
void v4533;
void v4532;
void v4531;
void v4424;
void v4421;
void v4420;
void v4314;
void v4312;
void v4311;
void v4309;
void v4307;
void v4306;
void v4305;
void v4303;
void v4302;
void v4301;
void v4300;
void v4299;
void v4297;
void v4296;
void blendingSchema;
void v4294;
void v4293;
void v4292;
void v4291;
void v4290;
fixerUpper.addSchema(99, V99::new);
Schema v100 = fixerUpper.addSchema(100, V100::new);
fixerUpper.addFixer((DataFix)new EntityEquipmentToArmorAndHandFix(v100));
Schema v101 = fixerUpper.addSchema(101, SAME);
fixerUpper.addFixer((DataFix)new VillagerSetCanPickUpLootFix(v101));
Schema v102 = fixerUpper.addSchema(102, V102::new);
fixerUpper.addFixer((DataFix)new ItemIdFix(v102, true));
fixerUpper.addFixer((DataFix)new ItemPotionFix(v102, false));
Schema v105 = fixerUpper.addSchema(105, SAME);
fixerUpper.addFixer((DataFix)new ItemSpawnEggFix(v105, true));
Schema v106 = fixerUpper.addSchema(106, V106::new);
fixerUpper.addFixer((DataFix)new MobSpawnerEntityIdentifiersFix(v106, true));
Schema v107 = fixerUpper.addSchema(107, V107::new);
fixerUpper.addFixer((DataFix)new EntityMinecartIdentifiersFix(v107));
Schema v108 = fixerUpper.addSchema(108, SAME);
fixerUpper.addFixer((DataFix)new EntityStringUuidFix(v108, true));
Schema v109 = fixerUpper.addSchema(109, SAME);
fixerUpper.addFixer((DataFix)new EntityHealthFix(v109, true));
Schema v110 = fixerUpper.addSchema(110, SAME);
fixerUpper.addFixer((DataFix)new EntityHorseSaddleFix(v110, true));
Schema v111 = fixerUpper.addSchema(111, SAME);
fixerUpper.addFixer((DataFix)new EntityPaintingItemFrameDirectionFix(v111, true));
Schema v113 = fixerUpper.addSchema(113, SAME);
fixerUpper.addFixer((DataFix)new EntityRedundantChanceTagsFix(v113, true));
Schema v135 = fixerUpper.addSchema(135, V135::new);
fixerUpper.addFixer((DataFix)new EntityRidingToPassengersFix(v135, true));
Schema v143 = fixerUpper.addSchema(143, V143::new);
fixerUpper.addFixer((DataFix)new EntityTippedArrowFix(v143, true));
Schema v147 = fixerUpper.addSchema(147, SAME);
fixerUpper.addFixer((DataFix)new EntityArmorStandSilentFix(v147, true));
Schema v165 = fixerUpper.addSchema(165, SAME);
fixerUpper.addFixer((DataFix)new SignTextStrictJsonFix(v165));
fixerUpper.addFixer((DataFix)new WrittenBookPagesStrictJsonFix(v165));
Schema v501 = fixerUpper.addSchema(501, V501::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v501, "Add 1.10 entities fix", References.ENTITY));
Schema v502 = fixerUpper.addSchema(502, SAME);
fixerUpper.addFixer(ItemRenameFix.create(v502, "cooked_fished item renamer", item -> Objects.equals(NamespacedSchema.ensureNamespaced(item), "minecraft:cooked_fished") ? "minecraft:cooked_fish" : item));
fixerUpper.addFixer((DataFix)new EntityZombieVillagerTypeFix(v502, false));
Schema v505 = fixerUpper.addSchema(505, SAME);
fixerUpper.addFixer((DataFix)new OptionsForceVBOFix(v505, false));
Schema v700 = fixerUpper.addSchema(700, V700::new);
fixerUpper.addFixer((DataFix)new EntityElderGuardianSplitFix(v700, true));
Schema v701 = fixerUpper.addSchema(701, V701::new);
fixerUpper.addFixer((DataFix)new EntitySkeletonSplitFix(v701, true));
Schema v702 = fixerUpper.addSchema(702, V702::new);
fixerUpper.addFixer((DataFix)new EntityZombieSplitFix(v702));
Schema v703 = fixerUpper.addSchema(703, V703::new);
fixerUpper.addFixer((DataFix)new EntityHorseSplitFix(v703, true));
Schema v704 = fixerUpper.addSchema(704, V704::new);
fixerUpper.addFixer((DataFix)new BlockEntityIdFix(v704, true));
Schema v705 = fixerUpper.addSchema(705, V705::new);
fixerUpper.addFixer((DataFix)new EntityIdFix(v705, true));
Schema v804 = fixerUpper.addSchema(804, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ItemBannerColorFix(v804, true));
Schema v806 = fixerUpper.addSchema(806, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ItemWaterPotionFix(v806, false));
Schema v808 = fixerUpper.addSchema(808, V808::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v808, "added shulker box", References.BLOCK_ENTITY));
Schema v808_1 = fixerUpper.addSchema(808, 1, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityShulkerColorFix(v808_1, false));
Schema v813 = fixerUpper.addSchema(813, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ItemShulkerBoxColorFix(v813, false));
fixerUpper.addFixer((DataFix)new BlockEntityShulkerBoxColorFix(v813, false));
Schema v816 = fixerUpper.addSchema(816, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsLowerCaseLanguageFix(v816, false));
Schema v820 = fixerUpper.addSchema(820, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v820, "totem item renamer", DataFixers.createRenamer("minecraft:totem", "minecraft:totem_of_undying")));
Schema v1022 = fixerUpper.addSchema(1022, V1022::new);
fixerUpper.addFixer((DataFix)new WriteAndReadFix(v1022, "added shoulder entities to players", References.PLAYER));
Schema v1125 = fixerUpper.addSchema(1125, V1125::new);
fixerUpper.addFixer((DataFix)new ChunkBedBlockEntityInjecterFix(v1125, true));
fixerUpper.addFixer((DataFix)new BedItemColorFix(v1125, false));
Schema v1344 = fixerUpper.addSchema(1344, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsKeyLwjgl3Fix(v1344, false));
Schema v1446 = fixerUpper.addSchema(1446, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsKeyTranslationFix(v1446, false));
Schema v1450 = fixerUpper.addSchema(1450, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlockStateStructureTemplateFix(v1450, false));
Schema v1451 = fixerUpper.addSchema(1451, V1451::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1451, "AddTrappedChestFix", References.BLOCK_ENTITY));
Schema v1451_1 = fixerUpper.addSchema(1451, 1, V1451_1::new);
fixerUpper.addFixer((DataFix)new ChunkPalettedStorageFix(v1451_1, true));
Schema v1451_2 = fixerUpper.addSchema(1451, 2, V1451_2::new);
fixerUpper.addFixer((DataFix)new BlockEntityBlockStateFix(v1451_2, true));
Schema v1451_3 = fixerUpper.addSchema(1451, 3, V1451_3::new);
fixerUpper.addFixer((DataFix)new EntityBlockStateFix(v1451_3, true));
fixerUpper.addFixer((DataFix)new ItemStackMapIdFix(v1451_3, false));
Schema v1451_4 = fixerUpper.addSchema(1451, 4, V1451_4::new);
fixerUpper.addFixer((DataFix)new BlockNameFlatteningFix(v1451_4, true));
fixerUpper.addFixer((DataFix)new ItemStackTheFlatteningFix(v1451_4, false));
Schema v1451_5 = fixerUpper.addSchema(1451, 5, V1451_5::new);
fixerUpper.addFixer((DataFix)new RemoveBlockEntityTagFix(v1451_5, Set.of("minecraft:noteblock", "minecraft:flower_pot")));
fixerUpper.addFixer((DataFix)new ItemStackSpawnEggFix(v1451_5, false, "minecraft:spawn_egg"));
fixerUpper.addFixer((DataFix)new EntityWolfColorFix(v1451_5, false));
fixerUpper.addFixer((DataFix)new BlockEntityBannerColorFix(v1451_5, false));
fixerUpper.addFixer((DataFix)new LevelFlatGeneratorInfoFix(v1451_5, false));
Schema v1451_6 = fixerUpper.addSchema(1451, 6, V1451_6::new);
fixerUpper.addFixer((DataFix)new StatsCounterFix(v1451_6, true));
fixerUpper.addFixer((DataFix)new BlockEntityJukeboxFix(v1451_6, false));
Schema v1451_8 = fixerUpper.addSchema(1451, 7, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new VillagerTradeFix(v1451_8));
Schema v1456 = fixerUpper.addSchema(1456, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityItemFrameDirectionFix(v1456, false));
Schema v1458 = fixerUpper.addSchema(1458, V1458::new);
fixerUpper.addFixer((DataFix)new EntityCustomNameToComponentFix(v1458));
fixerUpper.addFixer((DataFix)new ItemCustomNameToComponentFix(v1458));
fixerUpper.addFixer((DataFix)new BlockEntityCustomNameToComponentFix(v1458));
Schema v1460 = fixerUpper.addSchema(1460, V1460::new);
fixerUpper.addFixer((DataFix)new EntityPaintingMotiveFix(v1460, false));
Schema v1466 = fixerUpper.addSchema(1466, V1466::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1466, "Add DUMMY block entity", References.BLOCK_ENTITY));
fixerUpper.addFixer((DataFix)new ChunkToProtochunkFix(v1466, true));
Schema v1470 = fixerUpper.addSchema(1470, V1470::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1470, "Add 1.13 entities fix", References.ENTITY));
Schema v1474 = fixerUpper.addSchema(1474, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ColorlessShulkerEntityFix(v1474, false));
fixerUpper.addFixer(BlockRenameFix.create(v1474, "Colorless shulker block fixer", block -> Objects.equals(NamespacedSchema.ensureNamespaced(block), "minecraft:purple_shulker_box") ? "minecraft:shulker_box" : block));
fixerUpper.addFixer(ItemRenameFix.create(v1474, "Colorless shulker item fixer", block -> Objects.equals(NamespacedSchema.ensureNamespaced(block), "minecraft:purple_shulker_box") ? "minecraft:shulker_box" : block));
Schema v1475 = fixerUpper.addSchema(1475, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create(v1475, "Flowing fixer", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:flowing_water", (Object)"minecraft:water", (Object)"minecraft:flowing_lava", (Object)"minecraft:lava"))));
Schema v1480 = fixerUpper.addSchema(1480, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create(v1480, "Rename coral blocks", DataFixers.createRenamer(RenamedCoralFix.RENAMED_IDS)));
fixerUpper.addFixer(ItemRenameFix.create(v1480, "Rename coral items", DataFixers.createRenamer(RenamedCoralFix.RENAMED_IDS)));
Schema v1481 = fixerUpper.addSchema(1481, V1481::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1481, "Add conduit", References.BLOCK_ENTITY));
Schema v1483 = fixerUpper.addSchema(1483, V1483::new);
fixerUpper.addFixer((DataFix)new EntityPufferfishRenameFix(v1483, true));
fixerUpper.addFixer(ItemRenameFix.create(v1483, "Rename pufferfish egg item", DataFixers.createRenamer(EntityPufferfishRenameFix.RENAMED_IDS)));
Schema v1484 = fixerUpper.addSchema(1484, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v1484, "Rename seagrass items", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:sea_grass", (Object)"minecraft:seagrass", (Object)"minecraft:tall_sea_grass", (Object)"minecraft:tall_seagrass"))));
fixerUpper.addFixer(BlockRenameFix.create(v1484, "Rename seagrass blocks", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:sea_grass", (Object)"minecraft:seagrass", (Object)"minecraft:tall_sea_grass", (Object)"minecraft:tall_seagrass"))));
fixerUpper.addFixer((DataFix)new HeightmapRenamingFix(v1484, false));
Schema v1486 = fixerUpper.addSchema(1486, V1486::new);
fixerUpper.addFixer((DataFix)new EntityCodSalmonFix(v1486, true));
fixerUpper.addFixer(ItemRenameFix.create(v1486, "Rename cod/salmon egg items", DataFixers.createRenamer(EntityCodSalmonFix.RENAMED_EGG_IDS)));
Schema v1487 = fixerUpper.addSchema(1487, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v1487, "Rename prismarine_brick(s)_* blocks", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:prismarine_bricks_slab", (Object)"minecraft:prismarine_brick_slab", (Object)"minecraft:prismarine_bricks_stairs", (Object)"minecraft:prismarine_brick_stairs"))));
fixerUpper.addFixer(BlockRenameFix.create(v1487, "Rename prismarine_brick(s)_* items", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:prismarine_bricks_slab", (Object)"minecraft:prismarine_brick_slab", (Object)"minecraft:prismarine_bricks_stairs", (Object)"minecraft:prismarine_brick_stairs"))));
Schema v1488 = fixerUpper.addSchema(1488, V1488::new);
fixerUpper.addFixer(BlockRenameFix.create(v1488, "Rename kelp/kelptop", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:kelp_top", (Object)"minecraft:kelp", (Object)"minecraft:kelp", (Object)"minecraft:kelp_plant"))));
fixerUpper.addFixer(ItemRenameFix.create(v1488, "Rename kelptop", DataFixers.createRenamer("minecraft:kelp_top", "minecraft:kelp")));
fixerUpper.addFixer((DataFix)new NamedEntityWriteReadFix(v1488, true, "Command block block entity custom name fix", References.BLOCK_ENTITY, "minecraft:command_block"){
@Override
protected <T> Dynamic<T> fix(Dynamic<T> input) {
return BlockEntityCustomNameToComponentFix.fixTagCustomName(input);
}
});
fixerUpper.addFixer(new DataFix(v1488, false){
protected TypeRewriteRule makeRule() {
Type entityType = this.getInputSchema().getType(References.ENTITY);
OpticFinder idFinder = DSL.fieldFinder((String)"id", NamespacedSchema.namespacedString());
OpticFinder customNameFinder = entityType.findField("CustomName");
OpticFinder componentFinder = DSL.typeFinder((Type)this.getInputSchema().getType(References.TEXT_COMPONENT));
return this.fixTypeEverywhereTyped("Command block minecart custom name fix", entityType, input -> {
String id = input.getOptional(idFinder).orElse("");
if (!"minecraft:commandblock_minecart".equals(id)) {
return input;
}
return input.updateTyped(customNameFinder, customName -> customName.update(componentFinder, pair -> pair.mapSecond(LegacyComponentDataFixUtils::createTextComponentJson)));
});
}
});
fixerUpper.addFixer((DataFix)new IglooMetadataRemovalFix(v1488, false));
Schema v1490 = fixerUpper.addSchema(1490, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create(v1490, "Rename melon_block", DataFixers.createRenamer("minecraft:melon_block", "minecraft:melon")));
fixerUpper.addFixer(ItemRenameFix.create(v1490, "Rename melon_block/melon/speckled_melon", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:melon_block", (Object)"minecraft:melon", (Object)"minecraft:melon", (Object)"minecraft:melon_slice", (Object)"minecraft:speckled_melon", (Object)"minecraft:glistering_melon_slice"))));
Schema v1492 = fixerUpper.addSchema(1492, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkStructuresTemplateRenameFix(v1492, false));
Schema v1494 = fixerUpper.addSchema(1494, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ItemStackEnchantmentNamesFix(v1494, false));
Schema v1496 = fixerUpper.addSchema(1496, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LeavesFix(v1496, false));
Schema v1500 = fixerUpper.addSchema(1500, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlockEntityKeepPacked(v1500, false));
Schema v1501 = fixerUpper.addSchema(1501, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AdvancementsFix(v1501, false));
Schema v1502 = fixerUpper.addSchema(1502, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v1502, "Recipes fix", References.RECIPE, DataFixers.createRenamer(RecipesFix.RECIPES)));
Schema v1506 = fixerUpper.addSchema(1506, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LevelDataGeneratorOptionsFix(v1506, false));
Schema v1510 = fixerUpper.addSchema(1510, V1510::new);
fixerUpper.addFixer(BlockRenameFix.create(v1510, "Block renamening fix", DataFixers.createRenamer(EntityTheRenameningFix.RENAMED_BLOCKS)));
fixerUpper.addFixer(ItemRenameFix.create(v1510, "Item renamening fix", DataFixers.createRenamer(EntityTheRenameningFix.RENAMED_ITEMS)));
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v1510, "Recipes renamening fix", References.RECIPE, DataFixers.createRenamer(RecipesRenameningFix.RECIPES)));
fixerUpper.addFixer((DataFix)new EntityTheRenameningFix(v1510, true));
fixerUpper.addFixer((DataFix)new StatsRenameFix(v1510, "SwimStatsRenameFix", (Map<String, String>)ImmutableMap.of((Object)"minecraft:swim_one_cm", (Object)"minecraft:walk_on_water_one_cm", (Object)"minecraft:dive_one_cm", (Object)"minecraft:walk_under_water_one_cm")));
Schema v1514 = fixerUpper.addSchema(1514, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ScoreboardDisplayNameFix(v1514, "ObjectiveDisplayNameFix", References.OBJECTIVE));
fixerUpper.addFixer((DataFix)new ScoreboardDisplayNameFix(v1514, "TeamDisplayNameFix", References.TEAM));
fixerUpper.addFixer((DataFix)new ObjectiveRenderTypeFix(v1514));
Schema v1515 = fixerUpper.addSchema(1515, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create(v1515, "Rename coral fan blocks", DataFixers.createRenamer(RenamedCoralFansFix.RENAMED_IDS)));
Schema v1624 = fixerUpper.addSchema(1624, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new TrappedChestBlockEntityFix(v1624, false));
Schema v1800 = fixerUpper.addSchema(1800, V1800::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1800, "Added 1.14 mobs fix", References.ENTITY));
fixerUpper.addFixer(ItemRenameFix.create(v1800, "Rename dye items", DataFixers.createRenamer(DyeItemRenameFix.RENAMED_IDS)));
Schema v1801 = fixerUpper.addSchema(1801, V1801::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1801, "Added Illager Beast", References.ENTITY));
Schema v1802 = fixerUpper.addSchema(1802, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create(v1802, "Rename sign blocks & stone slabs", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:stone_slab", (Object)"minecraft:smooth_stone_slab", (Object)"minecraft:sign", (Object)"minecraft:oak_sign", (Object)"minecraft:wall_sign", (Object)"minecraft:oak_wall_sign"))));
fixerUpper.addFixer(ItemRenameFix.create(v1802, "Rename sign item & stone slabs", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:stone_slab", (Object)"minecraft:smooth_stone_slab", (Object)"minecraft:sign", (Object)"minecraft:oak_sign"))));
Schema v1803 = fixerUpper.addSchema(1803, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ItemLoreFix(v1803));
Schema v1904 = fixerUpper.addSchema(1904, V1904::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1904, "Added Cats", References.ENTITY));
fixerUpper.addFixer((DataFix)new EntityCatSplitFix(v1904, false));
Schema v1905 = fixerUpper.addSchema(1905, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkStatusFix(v1905, false));
Schema v1906 = fixerUpper.addSchema(1906, V1906::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1906, "Add POI Blocks", References.BLOCK_ENTITY));
Schema v1909 = fixerUpper.addSchema(1909, V1909::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1909, "Add jigsaw", References.BLOCK_ENTITY));
Schema v1911 = fixerUpper.addSchema(1911, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkStatusFix2(v1911, false));
Schema v1914 = fixerUpper.addSchema(1914, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WeaponSmithChestLootTableFix(v1914, false));
Schema v1917 = fixerUpper.addSchema(1917, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new CatTypeFix(v1917, false));
Schema v1918 = fixerUpper.addSchema(1918, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new VillagerDataFix(v1918, "minecraft:villager"));
fixerUpper.addFixer((DataFix)new VillagerDataFix(v1918, "minecraft:zombie_villager"));
Schema v1920 = fixerUpper.addSchema(1920, V1920::new);
fixerUpper.addFixer((DataFix)new NewVillageFix(v1920, false));
fixerUpper.addFixer((DataFix)new AddNewChoices(v1920, "Add campfire", References.BLOCK_ENTITY));
Schema v1925 = fixerUpper.addSchema(1925, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new MapIdFix(v1925));
Schema v1928 = fixerUpper.addSchema(1928, V1928::new);
fixerUpper.addFixer((DataFix)new EntityRavagerRenameFix(v1928, true));
fixerUpper.addFixer(ItemRenameFix.create(v1928, "Rename ravager egg item", DataFixers.createRenamer(EntityRavagerRenameFix.RENAMED_IDS)));
Schema v1929 = fixerUpper.addSchema(1929, V1929::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1929, "Add Wandering Trader and Trader Llama", References.ENTITY));
Schema v1931 = fixerUpper.addSchema(1931, V1931::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v1931, "Added Fox", References.ENTITY));
Schema v1936 = fixerUpper.addSchema(1936, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsAddTextBackgroundFix(v1936, false));
Schema v1946 = fixerUpper.addSchema(1946, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ReorganizePoi(v1946, false));
Schema v1948 = fixerUpper.addSchema(1948, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OminousBannerRenameFix(v1948));
Schema v1953 = fixerUpper.addSchema(1953, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OminousBannerBlockEntityRenameFix(v1953, false));
Schema v1955 = fixerUpper.addSchema(1955, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new VillagerRebuildLevelAndXpFix(v1955, false));
fixerUpper.addFixer((DataFix)new ZombieVillagerRebuildXpFix(v1955, false));
Schema v1961 = fixerUpper.addSchema(1961, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkLightRemoveFix(v1961, false));
Schema v1963 = fixerUpper.addSchema(1963, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RemoveGolemGossipFix(v1963, false));
Schema v2100 = fixerUpper.addSchema(2100, V2100::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2100, "Added Bee and Bee Stinger", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddNewChoices(v2100, "Add beehive", References.BLOCK_ENTITY));
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v2100, "Rename sugar recipe", References.RECIPE, DataFixers.createRenamer("minecraft:sugar", "minecraft:sugar_from_sugar_cane")));
fixerUpper.addFixer((DataFix)new AdvancementsRenameFix(v2100, false, "Rename sugar recipe advancement", DataFixers.createRenamer("minecraft:recipes/misc/sugar", "minecraft:recipes/misc/sugar_from_sugar_cane")));
Schema v2202 = fixerUpper.addSchema(2202, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkBiomeFix(v2202, false));
Schema v2209 = fixerUpper.addSchema(2209, SAME_NAMESPACED);
UnaryOperator<String> beehiveRenamer = DataFixers.createRenamer("minecraft:bee_hive", "minecraft:beehive");
fixerUpper.addFixer(ItemRenameFix.create(v2209, "Rename bee_hive item to beehive", beehiveRenamer));
fixerUpper.addFixer((DataFix)new PoiTypeRenameFix(v2209, "Rename bee_hive poi to beehive", beehiveRenamer));
fixerUpper.addFixer(BlockRenameFix.create(v2209, "Rename bee_hive block to beehive", beehiveRenamer));
Schema v2211 = fixerUpper.addSchema(2211, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new StructureReferenceCountFix(v2211, false));
Schema v2218 = fixerUpper.addSchema(2218, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ForcePoiRebuild(v2218, false));
Schema v2501 = fixerUpper.addSchema(2501, V2501::new);
fixerUpper.addFixer((DataFix)new FurnaceRecipeFix(v2501, true));
Schema v2502 = fixerUpper.addSchema(2502, V2502::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2502, "Added Hoglin", References.ENTITY));
Schema v2503 = fixerUpper.addSchema(2503, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WallPropertyFix(v2503, false));
fixerUpper.addFixer((DataFix)new AdvancementsRenameFix(v2503, false, "Composter category change", DataFixers.createRenamer("minecraft:recipes/misc/composter", "minecraft:recipes/decorations/composter")));
Schema v2505 = fixerUpper.addSchema(2505, V2505::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2505, "Added Piglin", References.ENTITY));
fixerUpper.addFixer((DataFix)new MemoryExpiryDataFix(v2505, "minecraft:villager"));
Schema v2508 = fixerUpper.addSchema(2508, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v2508, "Renamed fungi items to fungus", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:warped_fungi", (Object)"minecraft:warped_fungus", (Object)"minecraft:crimson_fungi", (Object)"minecraft:crimson_fungus"))));
fixerUpper.addFixer(BlockRenameFix.create(v2508, "Renamed fungi blocks to fungus", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:warped_fungi", (Object)"minecraft:warped_fungus", (Object)"minecraft:crimson_fungi", (Object)"minecraft:crimson_fungus"))));
Schema v2509 = fixerUpper.addSchema(2509, V2509::new);
fixerUpper.addFixer((DataFix)new EntityZombifiedPiglinRenameFix(v2509));
fixerUpper.addFixer(ItemRenameFix.create(v2509, "Rename zombie pigman egg item", DataFixers.createRenamer(EntityZombifiedPiglinRenameFix.RENAMED_IDS)));
Schema v2511 = fixerUpper.addSchema(2511, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityProjectileOwnerFix(v2511));
Schema v2511_1 = fixerUpper.addSchema(2511, 1, V2511_1::new);
fixerUpper.addFixer((DataFix)new NamedEntityConvertUncheckedFix(v2511_1, "SplashPotionItemFieldRenameFix", References.ENTITY, "minecraft:potion"));
Schema v2514 = fixerUpper.addSchema(2514, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityUUIDFix(v2514));
fixerUpper.addFixer((DataFix)new BlockEntityUUIDFix(v2514));
fixerUpper.addFixer((DataFix)new PlayerUUIDFix(v2514));
fixerUpper.addFixer((DataFix)new LevelUUIDFix(v2514));
fixerUpper.addFixer((DataFix)new SavedDataUUIDFix(v2514));
fixerUpper.addFixer((DataFix)new ItemStackUUIDFix(v2514));
Schema v2516 = fixerUpper.addSchema(2516, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new GossipUUIDFix(v2516, "minecraft:villager"));
fixerUpper.addFixer((DataFix)new GossipUUIDFix(v2516, "minecraft:zombie_villager"));
Schema v2518 = fixerUpper.addSchema(2518, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new JigsawPropertiesFix(v2518, false));
fixerUpper.addFixer((DataFix)new JigsawRotationFix(v2518));
Schema v2519 = fixerUpper.addSchema(2519, V2519::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2519, "Added Strider", References.ENTITY));
Schema v2522 = fixerUpper.addSchema(2522, V2522::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2522, "Added Zoglin", References.ENTITY));
Schema v2523 = fixerUpper.addSchema(2523, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AttributesRenameLegacy(v2523, "Attribute renames", DataFixers.createRenamerNoNamespace((Map<String, String>)ImmutableMap.builder().put((Object)"generic.maxHealth", (Object)"minecraft:generic.max_health").put((Object)"Max Health", (Object)"minecraft:generic.max_health").put((Object)"zombie.spawnReinforcements", (Object)"minecraft:zombie.spawn_reinforcements").put((Object)"Spawn Reinforcements Chance", (Object)"minecraft:zombie.spawn_reinforcements").put((Object)"horse.jumpStrength", (Object)"minecraft:horse.jump_strength").put((Object)"Jump Strength", (Object)"minecraft:horse.jump_strength").put((Object)"generic.followRange", (Object)"minecraft:generic.follow_range").put((Object)"Follow Range", (Object)"minecraft:generic.follow_range").put((Object)"generic.knockbackResistance", (Object)"minecraft:generic.knockback_resistance").put((Object)"Knockback Resistance", (Object)"minecraft:generic.knockback_resistance").put((Object)"generic.movementSpeed", (Object)"minecraft:generic.movement_speed").put((Object)"Movement Speed", (Object)"minecraft:generic.movement_speed").put((Object)"generic.flyingSpeed", (Object)"minecraft:generic.flying_speed").put((Object)"Flying Speed", (Object)"minecraft:generic.flying_speed").put((Object)"generic.attackDamage", (Object)"minecraft:generic.attack_damage").put((Object)"generic.attackKnockback", (Object)"minecraft:generic.attack_knockback").put((Object)"generic.attackSpeed", (Object)"minecraft:generic.attack_speed").put((Object)"generic.armorToughness", (Object)"minecraft:generic.armor_toughness").build())));
Schema v2527 = fixerUpper.addSchema(2527, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BitStorageAlignFix(v2527));
Schema v2528 = fixerUpper.addSchema(2528, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v2528, "Rename soul fire torch and soul fire lantern", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:soul_fire_torch", (Object)"minecraft:soul_torch", (Object)"minecraft:soul_fire_lantern", (Object)"minecraft:soul_lantern"))));
fixerUpper.addFixer(BlockRenameFix.create(v2528, "Rename soul fire torch and soul fire lantern", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:soul_fire_torch", (Object)"minecraft:soul_torch", (Object)"minecraft:soul_fire_wall_torch", (Object)"minecraft:soul_wall_torch", (Object)"minecraft:soul_fire_lantern", (Object)"minecraft:soul_lantern"))));
Schema v2529 = fixerUpper.addSchema(2529, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new StriderGravityFix(v2529, false));
Schema v2531 = fixerUpper.addSchema(2531, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RedstoneWireConnectionsFix(v2531));
Schema v2533 = fixerUpper.addSchema(2533, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new VillagerFollowRangeFix(v2533));
Schema v2535 = fixerUpper.addSchema(2535, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityShulkerRotationFix(v2535));
Schema v2537 = fixerUpper.addSchema(2537, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LegacyDimensionIdFix(v2537));
Schema v2538 = fixerUpper.addSchema(2538, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LevelLegacyWorldGenSettingsFix(v2538));
Schema v2550 = fixerUpper.addSchema(2550, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WorldGenSettingsFix(v2550));
Schema v2551 = fixerUpper.addSchema(2551, V2551::new);
fixerUpper.addFixer((DataFix)new WriteAndReadFix(v2551, "add types to WorldGenData", References.WORLD_GEN_SETTINGS));
Schema v2552 = fixerUpper.addSchema(2552, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v2552, "Nether biome rename", References.BIOME, DataFixers.createRenamer("minecraft:nether", "minecraft:nether_wastes")));
Schema v2553 = fixerUpper.addSchema(2553, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v2553, "Biomes fix", References.BIOME, DataFixers.createRenamer(BiomeFix.BIOMES)));
Schema v2556 = fixerUpper.addSchema(2556, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsFancyGraphicsToGraphicsModeFix(v2556));
Schema v2558 = fixerUpper.addSchema(2558, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new MissingDimensionFix(v2558, false));
fixerUpper.addFixer((DataFix)new OptionsRenameFieldFix(v2558, false, "Rename swapHands setting", "key_key.swapHands", "key_key.swapOffhand"));
Schema v2568 = fixerUpper.addSchema(2568, V2568::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2568, "Added Piglin Brute", References.ENTITY));
Schema v2571 = fixerUpper.addSchema(2571, V2571::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2571, "Added Goat", References.ENTITY));
Schema v2679 = fixerUpper.addSchema(2679, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new CauldronRenameFix(v2679, false));
Schema v2680 = fixerUpper.addSchema(2680, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v2680, "Renamed grass path item to dirt path", DataFixers.createRenamer("minecraft:grass_path", "minecraft:dirt_path")));
fixerUpper.addFixer(BlockRenameFix.create(v2680, "Renamed grass path block to dirt path", DataFixers.createRenamer("minecraft:grass_path", "minecraft:dirt_path")));
Schema v2684 = fixerUpper.addSchema(2684, V2684::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2684, "Added Sculk Sensor", References.BLOCK_ENTITY));
Schema v2686 = fixerUpper.addSchema(2686, V2686::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2686, "Added Axolotl", References.ENTITY));
Schema v2688 = fixerUpper.addSchema(2688, V2688::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2688, "Added Glow Squid", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddNewChoices(v2688, "Added Glow Item Frame", References.ENTITY));
Schema v2690 = fixerUpper.addSchema(2690, SAME_NAMESPACED);
ImmutableMap copperBlocksToRename = ImmutableMap.builder().put((Object)"minecraft:weathered_copper_block", (Object)"minecraft:oxidized_copper_block").put((Object)"minecraft:semi_weathered_copper_block", (Object)"minecraft:weathered_copper_block").put((Object)"minecraft:lightly_weathered_copper_block", (Object)"minecraft:exposed_copper_block").put((Object)"minecraft:weathered_cut_copper", (Object)"minecraft:oxidized_cut_copper").put((Object)"minecraft:semi_weathered_cut_copper", (Object)"minecraft:weathered_cut_copper").put((Object)"minecraft:lightly_weathered_cut_copper", (Object)"minecraft:exposed_cut_copper").put((Object)"minecraft:weathered_cut_copper_stairs", (Object)"minecraft:oxidized_cut_copper_stairs").put((Object)"minecraft:semi_weathered_cut_copper_stairs", (Object)"minecraft:weathered_cut_copper_stairs").put((Object)"minecraft:lightly_weathered_cut_copper_stairs", (Object)"minecraft:exposed_cut_copper_stairs").put((Object)"minecraft:weathered_cut_copper_slab", (Object)"minecraft:oxidized_cut_copper_slab").put((Object)"minecraft:semi_weathered_cut_copper_slab", (Object)"minecraft:weathered_cut_copper_slab").put((Object)"minecraft:lightly_weathered_cut_copper_slab", (Object)"minecraft:exposed_cut_copper_slab").put((Object)"minecraft:waxed_semi_weathered_copper", (Object)"minecraft:waxed_weathered_copper").put((Object)"minecraft:waxed_lightly_weathered_copper", (Object)"minecraft:waxed_exposed_copper").put((Object)"minecraft:waxed_semi_weathered_cut_copper", (Object)"minecraft:waxed_weathered_cut_copper").put((Object)"minecraft:waxed_lightly_weathered_cut_copper", (Object)"minecraft:waxed_exposed_cut_copper").put((Object)"minecraft:waxed_semi_weathered_cut_copper_stairs", (Object)"minecraft:waxed_weathered_cut_copper_stairs").put((Object)"minecraft:waxed_lightly_weathered_cut_copper_stairs", (Object)"minecraft:waxed_exposed_cut_copper_stairs").put((Object)"minecraft:waxed_semi_weathered_cut_copper_slab", (Object)"minecraft:waxed_weathered_cut_copper_slab").put((Object)"minecraft:waxed_lightly_weathered_cut_copper_slab", (Object)"minecraft:waxed_exposed_cut_copper_slab").build();
fixerUpper.addFixer(ItemRenameFix.create(v2690, "Renamed copper block items to new oxidized terms", DataFixers.createRenamer((Map<String, String>)copperBlocksToRename)));
fixerUpper.addFixer(BlockRenameFix.create(v2690, "Renamed copper blocks to new oxidized terms", DataFixers.createRenamer((Map<String, String>)copperBlocksToRename)));
Schema v2691 = fixerUpper.addSchema(2691, SAME_NAMESPACED);
ImmutableMap waxedCopperRename = ImmutableMap.builder().put((Object)"minecraft:waxed_copper", (Object)"minecraft:waxed_copper_block").put((Object)"minecraft:oxidized_copper_block", (Object)"minecraft:oxidized_copper").put((Object)"minecraft:weathered_copper_block", (Object)"minecraft:weathered_copper").put((Object)"minecraft:exposed_copper_block", (Object)"minecraft:exposed_copper").build();
fixerUpper.addFixer(ItemRenameFix.create(v2691, "Rename copper item suffixes", DataFixers.createRenamer((Map<String, String>)waxedCopperRename)));
fixerUpper.addFixer(BlockRenameFix.create(v2691, "Rename copper blocks suffixes", DataFixers.createRenamer((Map<String, String>)waxedCopperRename)));
Schema v2693 = fixerUpper.addSchema(2693, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AddFlagIfNotPresentFix(v2693, References.WORLD_GEN_SETTINGS, "has_increased_height_already", false));
Schema v2696 = fixerUpper.addSchema(2696, SAME_NAMESPACED);
ImmutableMap grimstoneBlocksToRename = ImmutableMap.builder().put((Object)"minecraft:grimstone", (Object)"minecraft:deepslate").put((Object)"minecraft:grimstone_slab", (Object)"minecraft:cobbled_deepslate_slab").put((Object)"minecraft:grimstone_stairs", (Object)"minecraft:cobbled_deepslate_stairs").put((Object)"minecraft:grimstone_wall", (Object)"minecraft:cobbled_deepslate_wall").put((Object)"minecraft:polished_grimstone", (Object)"minecraft:polished_deepslate").put((Object)"minecraft:polished_grimstone_slab", (Object)"minecraft:polished_deepslate_slab").put((Object)"minecraft:polished_grimstone_stairs", (Object)"minecraft:polished_deepslate_stairs").put((Object)"minecraft:polished_grimstone_wall", (Object)"minecraft:polished_deepslate_wall").put((Object)"minecraft:grimstone_tiles", (Object)"minecraft:deepslate_tiles").put((Object)"minecraft:grimstone_tile_slab", (Object)"minecraft:deepslate_tile_slab").put((Object)"minecraft:grimstone_tile_stairs", (Object)"minecraft:deepslate_tile_stairs").put((Object)"minecraft:grimstone_tile_wall", (Object)"minecraft:deepslate_tile_wall").put((Object)"minecraft:grimstone_bricks", (Object)"minecraft:deepslate_bricks").put((Object)"minecraft:grimstone_brick_slab", (Object)"minecraft:deepslate_brick_slab").put((Object)"minecraft:grimstone_brick_stairs", (Object)"minecraft:deepslate_brick_stairs").put((Object)"minecraft:grimstone_brick_wall", (Object)"minecraft:deepslate_brick_wall").put((Object)"minecraft:chiseled_grimstone", (Object)"minecraft:chiseled_deepslate").build();
fixerUpper.addFixer(ItemRenameFix.create(v2696, "Renamed grimstone block items to deepslate", DataFixers.createRenamer((Map<String, String>)grimstoneBlocksToRename)));
fixerUpper.addFixer(BlockRenameFix.create(v2696, "Renamed grimstone blocks to deepslate", DataFixers.createRenamer((Map<String, String>)grimstoneBlocksToRename)));
Schema v2700 = fixerUpper.addSchema(2700, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create(v2700, "Renamed cave vines blocks", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:cave_vines_head", (Object)"minecraft:cave_vines", (Object)"minecraft:cave_vines_body", (Object)"minecraft:cave_vines_plant"))));
Schema v2701 = fixerUpper.addSchema(2701, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new SavedDataFeaturePoolElementFix(v2701));
Schema v2702 = fixerUpper.addSchema(2702, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AbstractArrowPickupFix(v2702));
Schema v2704 = fixerUpper.addSchema(2704, V2704::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2704, "Added Goat", References.ENTITY));
Schema v2707 = fixerUpper.addSchema(2707, V2707::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v2707, "Added Marker", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddFlagIfNotPresentFix(v2707, References.WORLD_GEN_SETTINGS, "has_increased_height_already", true));
Schema v2710 = fixerUpper.addSchema(2710, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new StatsRenameFix(v2710, "Renamed play_one_minute stat to play_time", (Map<String, String>)ImmutableMap.of((Object)"minecraft:play_one_minute", (Object)"minecraft:play_time")));
Schema v2717 = fixerUpper.addSchema(2717, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v2717, "Rename azalea_leaves_flowers", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:azalea_leaves_flowers", (Object)"minecraft:flowering_azalea_leaves"))));
fixerUpper.addFixer(BlockRenameFix.create(v2717, "Rename azalea_leaves_flowers items", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:azalea_leaves_flowers", (Object)"minecraft:flowering_azalea_leaves"))));
Schema v2825 = fixerUpper.addSchema(2825, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AddFlagIfNotPresentFix(v2825, References.WORLD_GEN_SETTINGS, "has_increased_height_already", false));
Schema v2831 = fixerUpper.addSchema(2831, V2831::new);
fixerUpper.addFixer((DataFix)new SpawnerDataFix(v2831));
Schema v2832 = fixerUpper.addSchema(2832, V2832::new);
fixerUpper.addFixer((DataFix)new WorldGenSettingsHeightAndBiomeFix(v2832));
fixerUpper.addFixer((DataFix)new ChunkHeightAndBiomeFix(v2832));
Schema v2833 = fixerUpper.addSchema(2833, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WorldGenSettingsDisallowOldCustomWorldsFix(v2833));
Schema v2838 = fixerUpper.addSchema(2838, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v2838, "Caves and Cliffs biome renames", References.BIOME, DataFixers.createRenamer(CavesAndCliffsRenames.RENAMES)));
Schema v2841 = fixerUpper.addSchema(2841, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkProtoTickListFix(v2841));
Schema v2842 = fixerUpper.addSchema(2842, V2842::new);
fixerUpper.addFixer((DataFix)new ChunkRenamesFix(v2842));
Schema v2843 = fixerUpper.addSchema(2843, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OverreachingTickFix(v2843));
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v2843, "Remove Deep Warm Ocean", References.BIOME, DataFixers.createRenamer("minecraft:deep_warm_ocean", "minecraft:warm_ocean")));
Schema v2846 = fixerUpper.addSchema(2846, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AdvancementsRenameFix(v2846, false, "Rename some C&C part 2 advancements", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:husbandry/play_jukebox_in_meadows", (Object)"minecraft:adventure/play_jukebox_in_meadows", (Object)"minecraft:adventure/caves_and_cliff", (Object)"minecraft:adventure/fall_from_world_height", (Object)"minecraft:adventure/ride_strider_in_overworld_lava", (Object)"minecraft:nether/ride_strider_in_overworld_lava"))));
Schema v2852 = fixerUpper.addSchema(2852, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WorldGenSettingsDisallowOldCustomWorldsFix(v2852));
Schema v2967 = fixerUpper.addSchema(2967, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new StructureSettingsFlattenFix(v2967));
Schema v2970 = fixerUpper.addSchema(2970, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new StructuresBecomeConfiguredFix(v2970));
Schema v3076 = fixerUpper.addSchema(3076, V3076::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3076, "Added Sculk Catalyst", References.BLOCK_ENTITY));
Schema v3077 = fixerUpper.addSchema(3077, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkDeleteIgnoredLightDataFix(v3077));
Schema v3078 = fixerUpper.addSchema(3078, V3078::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3078, "Added Frog", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddNewChoices(v3078, "Added Tadpole", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddNewChoices(v3078, "Added Sculk Shrieker", References.BLOCK_ENTITY));
Schema v3081 = fixerUpper.addSchema(3081, V3081::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3081, "Added Warden", References.ENTITY));
Schema v3082 = fixerUpper.addSchema(3082, V3082::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3082, "Added Chest Boat", References.ENTITY));
Schema v3083 = fixerUpper.addSchema(3083, V3083::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3083, "Added Allay", References.ENTITY));
Schema v3084 = fixerUpper.addSchema(3084, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v3084, "game_event_renames_3084", References.GAME_EVENT_NAME, DataFixers.createRenamer((Map<String, String>)ImmutableMap.builder().put((Object)"minecraft:block_press", (Object)"minecraft:block_activate").put((Object)"minecraft:block_switch", (Object)"minecraft:block_activate").put((Object)"minecraft:block_unpress", (Object)"minecraft:block_deactivate").put((Object)"minecraft:block_unswitch", (Object)"minecraft:block_deactivate").put((Object)"minecraft:drinking_finish", (Object)"minecraft:drink").put((Object)"minecraft:elytra_free_fall", (Object)"minecraft:elytra_glide").put((Object)"minecraft:entity_damaged", (Object)"minecraft:entity_damage").put((Object)"minecraft:entity_dying", (Object)"minecraft:entity_die").put((Object)"minecraft:entity_killed", (Object)"minecraft:entity_die").put((Object)"minecraft:mob_interact", (Object)"minecraft:entity_interact").put((Object)"minecraft:ravager_roar", (Object)"minecraft:entity_roar").put((Object)"minecraft:ring_bell", (Object)"minecraft:block_change").put((Object)"minecraft:shulker_close", (Object)"minecraft:container_close").put((Object)"minecraft:shulker_open", (Object)"minecraft:container_open").put((Object)"minecraft:wolf_shaking", (Object)"minecraft:entity_shake").build())));
Schema v3086 = fixerUpper.addSchema(3086, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityVariantFix(v3086, "Change cat variant type", References.ENTITY, "minecraft:cat", "CatType", arg_0 -> ((Int2ObjectOpenHashMap)Util.make(new Int2ObjectOpenHashMap(), m -> {
m.defaultReturnValue((Object)"minecraft:tabby");
m.put(0, (Object)"minecraft:tabby");
m.put(1, (Object)"minecraft:black");
m.put(2, (Object)"minecraft:red");
m.put(3, (Object)"minecraft:siamese");
m.put(4, (Object)"minecraft:british");
m.put(5, (Object)"minecraft:calico");
m.put(6, (Object)"minecraft:persian");
m.put(7, (Object)"minecraft:ragdoll");
m.put(8, (Object)"minecraft:white");
m.put(9, (Object)"minecraft:jellie");
m.put(10, (Object)"minecraft:all_black");
})).get(arg_0)));
ImmutableMap catAdvancementMigrationMap = ImmutableMap.builder().put((Object)"textures/entity/cat/tabby.png", (Object)"minecraft:tabby").put((Object)"textures/entity/cat/black.png", (Object)"minecraft:black").put((Object)"textures/entity/cat/red.png", (Object)"minecraft:red").put((Object)"textures/entity/cat/siamese.png", (Object)"minecraft:siamese").put((Object)"textures/entity/cat/british_shorthair.png", (Object)"minecraft:british").put((Object)"textures/entity/cat/calico.png", (Object)"minecraft:calico").put((Object)"textures/entity/cat/persian.png", (Object)"minecraft:persian").put((Object)"textures/entity/cat/ragdoll.png", (Object)"minecraft:ragdoll").put((Object)"textures/entity/cat/white.png", (Object)"minecraft:white").put((Object)"textures/entity/cat/jellie.png", (Object)"minecraft:jellie").put((Object)"textures/entity/cat/all_black.png", (Object)"minecraft:all_black").build();
fixerUpper.addFixer((DataFix)new CriteriaRenameFix(v3086, "Migrate cat variant advancement", "minecraft:husbandry/complete_catalogue", s -> (String)catAdvancementMigrationMap.getOrDefault(s, s)));
Schema v3087 = fixerUpper.addSchema(3087, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityVariantFix(v3087, "Change frog variant type", References.ENTITY, "minecraft:frog", "Variant", arg_0 -> ((Int2ObjectOpenHashMap)Util.make(new Int2ObjectOpenHashMap(), m -> {
m.put(0, (Object)"minecraft:temperate");
m.put(1, (Object)"minecraft:warm");
m.put(2, (Object)"minecraft:cold");
})).get(arg_0)));
Schema v3090 = fixerUpper.addSchema(3090, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityFieldsRenameFix(v3090, "EntityPaintingFieldsRenameFix", "minecraft:painting", Map.of("Motive", "variant", "Facing", "facing")));
Schema v3093 = fixerUpper.addSchema(3093, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityGoatMissingStateFix(v3093));
Schema v3094 = fixerUpper.addSchema(3094, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new GoatHornIdFix(v3094));
Schema v3097 = fixerUpper.addSchema(3097, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new FilteredBooksFix(v3097));
fixerUpper.addFixer((DataFix)new FilteredSignsFix(v3097));
Map<String, String> renamedCatCriteria = Map.of("minecraft:british", "minecraft:british_shorthair");
fixerUpper.addFixer((DataFix)new VariantRenameFix(v3097, "Rename british shorthair", References.ENTITY, "minecraft:cat", renamedCatCriteria));
fixerUpper.addFixer((DataFix)new CriteriaRenameFix(v3097, "Migrate cat variant advancement for british shorthair", "minecraft:husbandry/complete_catalogue", s -> renamedCatCriteria.getOrDefault(s, (String)s)));
fixerUpper.addFixer((DataFix)new PoiTypeRemoveFix(v3097, "Remove unpopulated villager PoI types", Set.of("minecraft:unemployed", "minecraft:nitwit")::contains));
Schema v3108 = fixerUpper.addSchema(3108, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlendingDataRemoveFromNetherEndFix(v3108));
Schema v3201 = fixerUpper.addSchema(3201, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsProgrammerArtFix(v3201));
Schema v3202 = fixerUpper.addSchema(3202, V3202::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3202, "Added Hanging Sign", References.BLOCK_ENTITY));
Schema v3203 = fixerUpper.addSchema(3203, V3203::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3203, "Added Camel", References.ENTITY));
Schema v3204 = fixerUpper.addSchema(3204, V3204::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3204, "Added Chiseled Bookshelf", References.BLOCK_ENTITY));
Schema v3209 = fixerUpper.addSchema(3209, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ItemStackSpawnEggFix(v3209, false, "minecraft:pig_spawn_egg"));
Schema v3214 = fixerUpper.addSchema(3214, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsAmbientOcclusionFix(v3214));
Schema v3319 = fixerUpper.addSchema(3319, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsAccessibilityOnboardFix(v3319));
Schema v3322 = fixerUpper.addSchema(3322, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EffectDurationFix(v3322));
Schema v3325 = fixerUpper.addSchema(3325, V3325::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3325, "Added displays", References.ENTITY));
Schema v3326 = fixerUpper.addSchema(3326, V3326::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3326, "Added Sniffer", References.ENTITY));
Schema v3327 = fixerUpper.addSchema(3327, V3327::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3327, "Archaeology", References.BLOCK_ENTITY));
Schema v3328 = fixerUpper.addSchema(3328, V3328::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3328, "Added interaction", References.ENTITY));
Schema v3438 = fixerUpper.addSchema(3438, V3438::new);
fixerUpper.addFixer(BlockEntityRenameFix.create(v3438, "Rename Suspicious Sand to Brushable Block", DataFixers.createRenamer("minecraft:suspicious_sand", "minecraft:brushable_block")));
fixerUpper.addFixer((DataFix)new EntityBrushableBlockFieldsRenameFix(v3438));
fixerUpper.addFixer(ItemRenameFix.create(v3438, "Pottery shard renaming", DataFixers.createRenamer((Map<String, String>)ImmutableMap.of((Object)"minecraft:pottery_shard_archer", (Object)"minecraft:archer_pottery_shard", (Object)"minecraft:pottery_shard_prize", (Object)"minecraft:prize_pottery_shard", (Object)"minecraft:pottery_shard_arms_up", (Object)"minecraft:arms_up_pottery_shard", (Object)"minecraft:pottery_shard_skull", (Object)"minecraft:skull_pottery_shard"))));
fixerUpper.addFixer((DataFix)new AddNewChoices(v3438, "Added calibrated sculk sensor", References.BLOCK_ENTITY));
Schema v3439 = fixerUpper.addSchema(3439, V3439::new);
fixerUpper.addFixer((DataFix)new BlockEntitySignDoubleSidedEditableTextFix(v3439, "Updated sign text format for Signs", "minecraft:sign"));
Schema v3439_1 = fixerUpper.addSchema(3439, 1, V3439_1::new);
fixerUpper.addFixer((DataFix)new BlockEntitySignDoubleSidedEditableTextFix(v3439_1, "Updated sign text format for Hanging Signs", "minecraft:hanging_sign"));
Schema v3440 = fixerUpper.addSchema(3440, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new NamespacedTypeRenameFix(v3440, "Replace experimental 1.20 overworld", References.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST, DataFixers.createRenamer("minecraft:overworld_update_1_20", "minecraft:overworld")));
fixerUpper.addFixer((DataFix)new FeatureFlagRemoveFix(v3440, "Remove 1.20 feature toggle", Set.of("minecraft:update_1_20")));
Schema v3447 = fixerUpper.addSchema(3447, SAME_NAMESPACED);
fixerUpper.addFixer(ItemRenameFix.create(v3447, "Pottery shard item renaming to Pottery sherd", DataFixers.createRenamer(Stream.of("minecraft:angler_pottery_shard", "minecraft:archer_pottery_shard", "minecraft:arms_up_pottery_shard", "minecraft:blade_pottery_shard", "minecraft:brewer_pottery_shard", "minecraft:burn_pottery_shard", "minecraft:danger_pottery_shard", "minecraft:explorer_pottery_shard", "minecraft:friend_pottery_shard", "minecraft:heart_pottery_shard", "minecraft:heartbreak_pottery_shard", "minecraft:howl_pottery_shard", "minecraft:miner_pottery_shard", "minecraft:mourner_pottery_shard", "minecraft:plenty_pottery_shard", "minecraft:prize_pottery_shard", "minecraft:sheaf_pottery_shard", "minecraft:shelter_pottery_shard", "minecraft:skull_pottery_shard", "minecraft:snort_pottery_shard").collect(Collectors.toMap(Function.identity(), key -> key.replace("_pottery_shard", "_pottery_sherd"))))));
Schema v3448 = fixerUpper.addSchema(3448, V3448::new);
fixerUpper.addFixer((DataFix)new DecoratedPotFieldRenameFix(v3448));
Schema v3450 = fixerUpper.addSchema(3450, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RemapChunkStatusFix(v3450, "Remove liquid_carvers and heightmap chunk statuses", DataFixers.createRenamer(Map.of("minecraft:liquid_carvers", "minecraft:carvers", "minecraft:heightmaps", "minecraft:spawn"))));
Schema v3451 = fixerUpper.addSchema(3451, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkDeleteLightFix(v3451));
Schema v3459 = fixerUpper.addSchema(3459, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LegacyDragonFightFix(v3459));
Schema v3564 = fixerUpper.addSchema(3564, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new DropInvalidSignDataFix(v3564, "minecraft:sign"));
Schema v3564_1 = fixerUpper.addSchema(3564, 1, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new DropInvalidSignDataFix(v3564_1, "minecraft:hanging_sign"));
Schema v3565 = fixerUpper.addSchema(3565, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RandomSequenceSettingsFix(v3565));
Schema v3566 = fixerUpper.addSchema(3566, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ScoreboardDisplaySlotFix(v3566));
Schema v3568 = fixerUpper.addSchema(3568, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new MobEffectIdFix(v3568));
Schema v3682 = fixerUpper.addSchema(3682, V3682::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3682, "Added Crafter", References.BLOCK_ENTITY));
Schema v3683 = fixerUpper.addSchema(3683, V3683::new);
fixerUpper.addFixer((DataFix)new PrimedTntBlockStateFixer(v3683));
Schema v3685 = fixerUpper.addSchema(3685, V3685::new);
fixerUpper.addFixer((DataFix)new FixProjectileStoredItem(v3685));
Schema v3689 = fixerUpper.addSchema(3689, V3689::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3689, "Added Breeze", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddNewChoices(v3689, "Added Trial Spawner", References.BLOCK_ENTITY));
Schema v3692 = fixerUpper.addSchema(3692, SAME_NAMESPACED);
UnaryOperator<String> grassRenamer = DataFixers.createRenamer(Map.of("minecraft:grass", "minecraft:short_grass"));
fixerUpper.addFixer(BlockRenameFix.create(v3692, "Rename grass block to short_grass", grassRenamer));
fixerUpper.addFixer(ItemRenameFix.create(v3692, "Rename grass item to short_grass", grassRenamer));
Schema v3799 = fixerUpper.addSchema(3799, V3799::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3799, "Added Armadillo", References.ENTITY));
Schema v3800 = fixerUpper.addSchema(3800, SAME_NAMESPACED);
UnaryOperator<String> scuteRenamer = DataFixers.createRenamer(Map.of("minecraft:scute", "minecraft:turtle_scute"));
fixerUpper.addFixer(ItemRenameFix.create(v3800, "Rename scute item to turtle_scute", scuteRenamer));
Schema v3803 = fixerUpper.addSchema(3803, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RenameEnchantmentsFix(v3803, "Rename sweeping enchant to sweeping_edge", Map.of("minecraft:sweeping", "minecraft:sweeping_edge")));
Schema v3807 = fixerUpper.addSchema(3807, V3807::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3807, "Added Vault", References.BLOCK_ENTITY));
Schema v3807_1 = fixerUpper.addSchema(3807, 1, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new MapBannerBlockPosFormatFix(v3807_1));
Schema v3808 = fixerUpper.addSchema(3808, V3808::new);
fixerUpper.addFixer((DataFix)new HorseBodyArmorItemFix(v3808, "minecraft:horse", "ArmorItem", true));
Schema v3808_1 = fixerUpper.addSchema(3808, 1, V3808_1::new);
fixerUpper.addFixer((DataFix)new HorseBodyArmorItemFix(v3808_1, "minecraft:llama", "DecorItem", false));
Schema v3808_2 = fixerUpper.addSchema(3808, 2, V3808_2::new);
fixerUpper.addFixer((DataFix)new HorseBodyArmorItemFix(v3808_2, "minecraft:trader_llama", "DecorItem", false));
Schema v3809 = fixerUpper.addSchema(3809, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChestedHorsesInventoryZeroIndexingFix(v3809));
Schema v3812 = fixerUpper.addSchema(3812, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new FixWolfHealth(v3812));
Schema v3813 = fixerUpper.addSchema(3813, V3813::new);
fixerUpper.addFixer((DataFix)new BlockPosFormatAndRenamesFix(v3813));
Schema v3814 = fixerUpper.addSchema(3814, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AttributesRenameLegacy(v3814, "Rename jump strength attribute", DataFixers.createRenamer("minecraft:horse.jump_strength", "minecraft:generic.jump_strength")));
Schema v3816 = fixerUpper.addSchema(3816, V3816::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v3816, "Added Bogged", References.ENTITY));
Schema v3818 = fixerUpper.addSchema(3818, V3818::new);
fixerUpper.addFixer((DataFix)new BeehiveFieldRenameFix(v3818));
fixerUpper.addFixer((DataFix)new EmptyItemInHotbarFix(v3818));
Schema v3818_1 = fixerUpper.addSchema(3818, 1, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BannerPatternFormatFix(v3818_1));
Schema v3818_2 = fixerUpper.addSchema(3818, 2, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new TippedArrowPotionToItemFix(v3818_2));
Schema v3818_3 = fixerUpper.addSchema(3818, 3, V3818_3::new);
fixerUpper.addFixer((DataFix)new WriteAndReadFix(v3818_3, "Inject data component types", References.DATA_COMPONENTS));
Schema v3818_4 = fixerUpper.addSchema(3818, 4, V3818_4::new);
fixerUpper.addFixer((DataFix)new ParticleUnflatteningFix(v3818_4));
Schema v3818_5 = fixerUpper.addSchema(3818, 5, V3818_5::new);
fixerUpper.addFixer((DataFix)new ItemStackComponentizationFix(v3818_5));
Schema v3818_6 = fixerUpper.addSchema(3818, 6, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AreaEffectCloudPotionFix(v3818_6));
Schema v3820 = fixerUpper.addSchema(3820, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new PlayerHeadBlockProfileFix(v3820));
fixerUpper.addFixer((DataFix)new LodestoneCompassComponentFix(v3820));
Schema v3825 = fixerUpper.addSchema(3825, V3825::new);
fixerUpper.addFixer((DataFix)new ItemStackCustomNameToOverrideComponentFix(v3825));
fixerUpper.addFixer((DataFix)new BannerEntityCustomNameToOverrideComponentFix(v3825));
fixerUpper.addFixer((DataFix)new TrialSpawnerConfigFix(v3825));
fixerUpper.addFixer((DataFix)new AddNewChoices(v3825, "Added Ominous Item Spawner", References.ENTITY));
Schema v3828 = fixerUpper.addSchema(3828, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EmptyItemInVillagerTradeFix(v3828));
Schema v3833 = fixerUpper.addSchema(3833, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RemoveEmptyItemInBrushableBlockFix(v3833));
Schema v3938 = fixerUpper.addSchema(3938, V3938::new);
fixerUpper.addFixer((DataFix)new ProjectileStoredWeaponFix(v3938));
Schema v3939 = fixerUpper.addSchema(3939, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new FeatureFlagRemoveFix(v3939, "Remove 1.21 feature toggle", Set.of("minecraft:update_1_21")));
Schema v3943 = fixerUpper.addSchema(3943, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsMenuBlurrinessFix(v3943));
Schema v3945 = fixerUpper.addSchema(3945, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AttributeModifierIdFix(v3945));
fixerUpper.addFixer((DataFix)new JukeboxTicksSinceSongStartedFix(v3945));
Schema v4054 = fixerUpper.addSchema(4054, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OminousBannerRarityFix(v4054));
Schema v4055 = fixerUpper.addSchema(4055, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AttributeIdPrefixFix(v4055));
Schema v4057 = fixerUpper.addSchema(4057, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new CarvingStepRemoveFix(v4057));
Schema v4059 = fixerUpper.addSchema(4059, V4059::new);
fixerUpper.addFixer((DataFix)new FoodToConsumableFix(v4059));
Schema v4061 = fixerUpper.addSchema(4061, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new TrialSpawnerConfigInRegistryFix(v4061));
Schema v4064 = fixerUpper.addSchema(4064, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new FireResistantToDamageResistantComponentFix(v4064));
Schema v4067 = fixerUpper.addSchema(4067, V4067::new);
fixerUpper.addFixer((DataFix)new BoatSplitFix(v4067));
fixerUpper.addFixer((DataFix)new FeatureFlagRemoveFix(v4067, "Remove Bundle experimental feature flag", Set.of("minecraft:bundle")));
Schema v4068 = fixerUpper.addSchema(4068, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LockComponentPredicateFix(v4068));
fixerUpper.addFixer((DataFix)new ContainerBlockEntityLockPredicateFix(v4068));
Schema v4070 = fixerUpper.addSchema(4070, V4070::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v4070, "Added Pale Oak Boat and Pale Oak Chest Boat", References.ENTITY));
Schema v4071 = fixerUpper.addSchema(4071, V4071::new);
fixerUpper.addFixer((DataFix)new AddNewChoices(v4071, "Added Creaking", References.ENTITY));
fixerUpper.addFixer((DataFix)new AddNewChoices(v4071, "Added Creaking Heart", References.BLOCK_ENTITY));
Schema v4081 = fixerUpper.addSchema(4081, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntitySalmonSizeFix(v4081));
Schema v4173 = fixerUpper.addSchema(4173, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityFieldsRenameFix(v4173, "Rename TNT Minecart fuse", "minecraft:tnt_minecart", Map.of("TNTFuse", "fuse")));
Schema v4175 = fixerUpper.addSchema(4175, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EquippableAssetRenameFix(v4175));
fixerUpper.addFixer((DataFix)new CustomModelDataExpandFix(v4175));
Schema v4176 = fixerUpper.addSchema(4176, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new InvalidBlockEntityLockFix(v4176));
fixerUpper.addFixer((DataFix)new InvalidLockComponentFix(v4176));
Schema v4180 = fixerUpper.addSchema(4180, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new FeatureFlagRemoveFix(v4180, "Remove Winter Drop toggle", Set.of("minecraft:winter_drop")));
Schema v4181 = fixerUpper.addSchema(4181, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlockEntityFurnaceBurnTimeFix(v4181, "minecraft:furnace"));
fixerUpper.addFixer((DataFix)new BlockEntityFurnaceBurnTimeFix(v4181, "minecraft:smoker"));
fixerUpper.addFixer((DataFix)new BlockEntityFurnaceBurnTimeFix(v4181, "minecraft:blast_furnace"));
Schema v4187 = fixerUpper.addSchema(4187, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityAttributeBaseValueFix(v4187, "Villager follow range fix undo", "minecraft:villager", "minecraft:follow_range", value -> value == 48.0 ? 16.0 : value));
fixerUpper.addFixer((DataFix)new EntityAttributeBaseValueFix(v4187, "Bee follow range fix", "minecraft:bee", "minecraft:follow_range", value -> value == 48.0 ? 16.0 : value));
fixerUpper.addFixer((DataFix)new EntityAttributeBaseValueFix(v4187, "Allay follow range fix", "minecraft:allay", "minecraft:follow_range", value -> value == 48.0 ? 16.0 : value));
fixerUpper.addFixer((DataFix)new EntityAttributeBaseValueFix(v4187, "Llama follow range fix", "minecraft:llama", "minecraft:follow_range", value -> value == 40.0 ? 16.0 : value));
fixerUpper.addFixer((DataFix)new EntityAttributeBaseValueFix(v4187, "Piglin Brute follow range fix", "minecraft:piglin_brute", "minecraft:follow_range", value -> value == 16.0 ? 12.0 : value));
fixerUpper.addFixer((DataFix)new EntityAttributeBaseValueFix(v4187, "Warden follow range fix", "minecraft:warden", "minecraft:follow_range", value -> value == 16.0 ? 24.0 : value));
Schema schema = fixerUpper.addSchema(4290, V4290::new);
fixerUpper.addFixer((DataFix)new UnflattenTextComponentFix((Schema)v4290));
Schema schema2 = fixerUpper.addSchema(4291, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LegacyHoverEventFix((Schema)v4291));
fixerUpper.addFixer((DataFix)new TextComponentStringifiedFlagsFix((Schema)v4291));
Schema schema3 = fixerUpper.addSchema(4292, V4292::new);
fixerUpper.addFixer((DataFix)new TextComponentHoverAndClickEventFix((Schema)v4292));
Schema schema4 = fixerUpper.addSchema(4293, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new DropChancesFormatFix((Schema)v4293));
Schema schema5 = fixerUpper.addSchema(4294, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlockPropertyRenameAndFix((Schema)v4294, "CreakingHeartBlockStateFix", "minecraft:creaking_heart", "active", "creaking_heart_state", value -> value.equals("true") ? "awake" : "uprooted"));
Schema schema6 = fixerUpper.addSchema(4295, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlendingDataFix((Schema)blendingSchema));
Schema schema7 = fixerUpper.addSchema(4296, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AreaEffectCloudDurationScaleFix((Schema)v4296));
Schema schema8 = fixerUpper.addSchema(4297, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ForcedChunkToTicketFix((Schema)v4297));
Schema schema9 = fixerUpper.addSchema(4299, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntitySpawnerItemVariantComponentFix((Schema)v4299));
Schema schema10 = fixerUpper.addSchema(4300, V4300::new);
fixerUpper.addFixer((DataFix)new SaddleEquipmentSlotFix((Schema)v4300));
Schema schema11 = fixerUpper.addSchema(4301, V4301::new);
fixerUpper.addFixer((DataFix)new EquipmentFormatFix((Schema)v4301));
Schema schema12 = fixerUpper.addSchema(4302, V4302::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4302, "Added Test and Test Instance Block Entities", References.BLOCK_ENTITY));
Schema schema13 = fixerUpper.addSchema(4303, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new EntityFallDistanceFloatToDoubleFix((Schema)v4303, References.ENTITY));
fixerUpper.addFixer((DataFix)new EntityFallDistanceFloatToDoubleFix((Schema)v4303, References.PLAYER));
Schema schema14 = fixerUpper.addSchema(4305, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new BlockPropertyRenameAndFix((Schema)v4305, "rename test block mode", "minecraft:test_block", "test_block_mode", "mode", a -> a));
Schema schema15 = fixerUpper.addSchema(4306, V4306::new);
fixerUpper.addFixer((DataFix)new ThrownPotionSplitFix((Schema)v4306));
Schema schema16 = fixerUpper.addSchema(4307, V4307::new);
fixerUpper.addFixer((DataFix)new TooltipDisplayComponentFix((Schema)v4307));
Schema schema17 = fixerUpper.addSchema(4309, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new RaidRenamesDataFix((Schema)v4309));
fixerUpper.addFixer((DataFix)new ChunkTicketUnpackPosFix((Schema)v4309));
Schema schema18 = fixerUpper.addSchema(4311, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new AdvancementsRenameFix((Schema)v4311, false, "Use lodestone category change", DataFixers.createRenamer("minecraft:nether/use_lodestone", "minecraft:adventure/use_lodestone")));
Schema schema19 = fixerUpper.addSchema(4312, V4312::new);
fixerUpper.addFixer((DataFix)new PlayerEquipmentFix((Schema)v4312));
Schema schema20 = fixerUpper.addSchema(4314, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new InlineBlockPosFormatFix((Schema)v4314));
Schema schema21 = fixerUpper.addSchema(4420, V4420::new);
fixerUpper.addFixer((DataFix)new NamedEntityConvertUncheckedFix((Schema)v4420, "AreaEffectCloudCustomParticleFix", References.ENTITY, "minecraft:area_effect_cloud"));
Schema schema22 = fixerUpper.addSchema(4421, V4421::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4421, "Added Happy Ghast", References.ENTITY));
Schema schema23 = fixerUpper.addSchema(4424, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new FeatureFlagRemoveFix((Schema)v4424, "Remove Locator Bar experimental feature flag", Set.of("minecraft:locator_bar")));
fixerUpper.addFixer((DataFix)new AddFieldFix((Schema)v4424, References.PLAYER, "style", field -> field.createString("minecraft:default"), "locator_bar_icon"));
fixerUpper.addFixer((DataFix)new AddFieldFix((Schema)v4424, References.ENTITY, "style", field -> field.createString("minecraft:default"), "locator_bar_icon"));
Schema schema24 = fixerUpper.addSchema(4531, V4531::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4531, "Added Copper Golem", References.ENTITY));
Schema schema25 = fixerUpper.addSchema(4532, V4532::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4532, "Added Copper Golem Statue Block Entity", References.BLOCK_ENTITY));
Schema schema26 = fixerUpper.addSchema(4533, V4533::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4533, "Added Shelf", References.BLOCK_ENTITY));
Schema schema27 = fixerUpper.addSchema(4535, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new CopperGolemWeatherStateFix((Schema)v4535));
Schema schema28 = fixerUpper.addSchema(4537, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new ChunkDeleteLightFix((Schema)v4537));
Schema schema29 = fixerUpper.addSchema(4541, SAME_NAMESPACED);
fixerUpper.addFixer(BlockRenameFix.create((Schema)v4541, "Rename chain to iron_chain", DataFixers.createRenamer("minecraft:chain", "minecraft:iron_chain")));
fixerUpper.addFixer(ItemRenameFix.create((Schema)v4541, "Rename chain to iron_chain", DataFixers.createRenamer("minecraft:chain", "minecraft:iron_chain")));
Schema schema30 = fixerUpper.addSchema(4543, V4543::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4543, "Added Mannequin", References.ENTITY));
Schema schema31 = fixerUpper.addSchema(4544, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new LegacyWorldBorderFix((Schema)v4544));
Schema schema32 = fixerUpper.addSchema(4548, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WorldSpawnDataFix((Schema)v4548));
fixerUpper.addFixer((DataFix)new PlayerRespawnDataFix((Schema)v4548));
Schema schema33 = fixerUpper.addSchema(4648, V4648::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4648, "Added Nautilus and Zombie Nautilus", References.ENTITY));
Schema schema34 = fixerUpper.addSchema(4649, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new TridentAnimationFix((Schema)v4649));
Schema schema35 = fixerUpper.addSchema(4650, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new DebugProfileOverlayReferenceFix((Schema)v4650));
Schema schema36 = fixerUpper.addSchema(4651, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new OptionsGraphicsModeSplitFix((Schema)v4651, "cutoutLeaves", "false", "true", "true"));
fixerUpper.addFixer((DataFix)new OptionsGraphicsModeSplitFix((Schema)v4651, "weatherRadius", "5", "10", "10"));
fixerUpper.addFixer((DataFix)new OptionsGraphicsModeSplitFix((Schema)v4651, "vignette", "false", "true", "true"));
fixerUpper.addFixer((DataFix)new OptionsGraphicsModeSplitFix((Schema)v4651, "improvedTransparency", "false", "false", "true"));
fixerUpper.addFixer((DataFix)new OptionsSetGraphicsPresetToCustomFix((Schema)v4651));
Schema schema37 = fixerUpper.addSchema(4656, V4656::new);
fixerUpper.addFixer((DataFix)new AddNewChoices((Schema)v4656, "Added Parched and Camel Husk", References.ENTITY));
Schema schema38 = fixerUpper.addSchema(4657, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new WorldBorderWarningTimeFix((Schema)v4657));
Schema schema39 = fixerUpper.addSchema(4658, SAME_NAMESPACED);
fixerUpper.addFixer((DataFix)new GameRuleRegistryFix((Schema)v4658));
}
private static UnaryOperator<String> createRenamerNoNamespace(Map<String, String> map) {
return id -> map.getOrDefault(id, (String)id);
}
private static UnaryOperator<String> createRenamer(Map<String, String> map) {
return id -> map.getOrDefault(NamespacedSchema.ensureNamespaced(id), (String)id);
}
private static UnaryOperator<String> createRenamer(String from, String to) {
return id -> Objects.equals(NamespacedSchema.ensureNamespaced(id), from) ? to : id;
}
}