Skip to content

Instantly share code, notes, and snippets.

@rrehbein
Last active April 30, 2024 21:54
Show Gist options
  • Save rrehbein/f884960d0b166a5f49b7a2d6127f1763 to your computer and use it in GitHub Desktop.
Save rrehbein/f884960d0b166a5f49b7a2d6127f1763 to your computer and use it in GitHub Desktop.
Minecraft class name changes from 1.16 to 1.18
<?xml version="1.0" encoding="UTF-8"?>
<migrationMap>
<name value="Minecraft 1.16 to 1.18 (Forge)"/>
<order value="0"/>
<description value="Minecraft class rename plus some Forge classes"/>
<entry oldName="com.mojang.blaze3d.matrix.MatrixStack" newName="com.mojang.blaze3d.vertex.PoseStack" type="class"/>
<entry oldName="com.mojang.blaze3d.vertex.IVertexBuilder" newName="com.mojang.blaze3d.vertex.VertexConsumer" type="class"/>
<entry oldName="net.minecraft.block.AbstractBlock.Properties" newName="net.minecraft.world.level.block.state.BlockBehaviour.Properties" type="class"/>
<entry oldName="net.minecraft.block.Block" newName="net.minecraft.world.level.block.Block" type="class"/>
<entry oldName="net.minecraft.block.Blocks" newName="net.minecraft.world.level.block.Blocks" type="class"/>
<entry oldName="net.minecraft.block.BlockState" newName="net.minecraft.world.level.block.state.BlockState" type="class"/>
<entry oldName="net.minecraft.block.material.Material" newName="net.minecraft.world.level.material.Material" type="class"/>
<entry oldName="net.minecraft.block.PaneBlock" newName="net.minecraft.world.level.block.IronBarsBlock" type="class"/>
<entry oldName="net.minecraft.block.RedstoneWireBlock" newName="net.minecraft.world.level.block.RedStoneWireBlock" type="class"/>
<entry oldName="net.minecraft.block.SlabBlock" newName="net.minecraft.world.level.block.SlabBlock" type="class"/>
<entry oldName="net.minecraft.block.SoundType" newName="net.minecraft.world.level.block.SoundType" type="class"/>
<entry oldName="net.minecraft.client.audio.ISound.AttenuationType" newName="net.minecraft.client.resources.sounds.SoundInstance.Attenuation" type="class"/>
<entry oldName="net.minecraft.client.audio.TickableSound" newName="net.minecraft.client.resources.sounds.AbstractTickableSoundInstance" type="class"/>
<entry oldName="net.minecraft.client.gui.FontRenderer" newName="net.minecraft.client.gui.Font" type="class"/>
<entry oldName="net.minecraft.client.renderer.BufferBuilder" newName="com.mojang.blaze3d.vertex.BufferBuilder" type="class"/>
<entry oldName="net.minecraft.client.renderer.entity.BipedRenderer" newName="net.minecraft.client.renderer.entity.HumanoidMobRenderer" type="class"/>
<entry oldName="net.minecraft.client.renderer.entity.EntityRendererManager" newName="net.minecraft.client.renderer.entity.EntityRendererProvider.Context" type="class"/>
<entry oldName="net.minecraft.client.renderer.entity.LivingRenderer" newName="net.minecraft.client.renderer.entity.LivingEntityRenderer" type="class"/>
<entry oldName="net.minecraft.client.renderer.entity.model.AbstractZombieModel" newName="net.minecraft.client.model.AbstractZombieModel" type="class"/>
<entry oldName="net.minecraft.client.renderer.entity.model.BipedModel" newName="net.minecraft.client.model.HumanoidModel" type="class"/>
<entry oldName="net.minecraft.client.renderer.entity.model.EntityModel" newName="net.minecraft.client.model.EntityModel" type="class"/>
<entry oldName="net.minecraft.client.renderer.IRenderTypeBuffer" newName="net.minecraft.client.renderer.MultiBufferSource" type="class"/>
<entry oldName="net.minecraft.client.renderer.ItemRenderer" newName="net.minecraft.client.renderer.entity.ItemRenderer" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.BakedQuad" newName="net.minecraft.client.renderer.block.model.BakedQuad" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.IBakedModel" newName="net.minecraft.client.resources.model.BakedModel" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.IModelTransform" newName="net.minecraft.client.resources.model.ModelState" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.ItemCameraTransforms" newName="net.minecraft.client.renderer.block.model.ItemTransforms" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.ItemOverrideList" newName="net.minecraft.client.renderer.block.model.ItemOverrides" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.IUnbakedModel" newName="net.minecraft.client.resources.model.UnbakedModel" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.ModelBakery" newName="net.minecraft.client.resources.model.ModelBakery" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.ModelResourceLocation" newName="net.minecraft.client.resources.model.ModelResourceLocation" type="class"/>
<entry oldName="net.minecraft.client.renderer.model.RenderMaterial" newName="net.minecraft.client.resources.model.Material" type="class"/>
<entry oldName="net.minecraft.client.renderer.RenderState" newName="net.minecraft.client.renderer.RenderStateShard" type="class"/>
<entry oldName="net.minecraft.client.renderer.RenderStateShard.TextureState" newName="net.minecraft.client.renderer.RenderStateShard.TextureStateShard" type="class"/>
<entry oldName="net.minecraft.client.renderer.RenderType.State" newName="net.minecraft.client.renderer.RenderType.CompositeState" type="class"/>
<entry oldName="net.minecraft.client.renderer.RenderTypeLookup" newName="net.minecraft.client.renderer.ItemBlockRenderTypes" type="class"/>
<entry oldName="net.minecraft.client.renderer.Tessellator" newName="com.mojang.blaze3d.vertex.Tesselator" type="class"/>
<entry oldName="net.minecraft.client.renderer.texture.AtlasTexture" newName="net.minecraft.client.renderer.texture.TextureAtlas" type="class"/>
<entry oldName="net.minecraft.client.renderer.texture.SpriteUploader" newName="net.minecraft.client.resources.TextureAtlasHolder" type="class"/>
<entry oldName="net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer" newName="net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer" type="class"/>
<entry oldName="net.minecraft.client.renderer.tileentity.TileEntityRenderer" newName="net.minecraft.client.renderer.blockentity.BlockEntityRenderer" type="class"/>
<entry oldName="net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher" newName="net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher" type="class"/>
<entry oldName="net.minecraft.client.renderer.vertex.DefaultVertexFormats" newName="com.mojang.blaze3d.vertex.DefaultVertexFormat" type="class"/>
<entry oldName="net.minecraft.client.renderer.vertex.VertexFormat" newName="com.mojang.blaze3d.vertex.VertexFormat" type="class"/>
<entry oldName="net.minecraft.client.settings.KeyBinding" newName="net.minecraft.client.KeyMapping" type="class"/>
<entry oldName="net.minecraft.client.util.ITooltipFlag" newName="net.minecraft.world.item.TooltipFlag" type="class"/>
<entry oldName="net.minecraft.client.world.ClientWorld" newName="net.minecraft.client.multiplayer.ClientLevel" type="class"/>
<entry oldName="net.minecraft.command.Commands" newName="net.minecraft.commands.Commands" type="class"/>
<entry oldName="net.minecraft.command.CommandSource" newName="net.minecraft.commands.CommandSourceStack" type="class"/>
<entry oldName="net.minecraft.data.BlockTagsProvider" newName="net.minecraft.data.tags.BlockTagsProvider" type="class"/>
<entry oldName="net.minecraft.data.IFinishedRecipe" newName="net.minecraft.data.recipes.FinishedRecipe" type="class"/>
<entry oldName="net.minecraft.data.ItemTagsProvider" newName="net.minecraft.data.tags.ItemTagsProvider" type="class"/>
<entry oldName="net.minecraft.data.ShapedRecipeBuilder" newName="net.minecraft.data.recipes.ShapedRecipeBuilder" type="class"/>
<entry oldName="net.minecraft.data.ShapelessRecipeBuilder" newName="net.minecraft.data.recipes.ShapelessRecipeBuilder" type="class"/>
<entry oldName="net.minecraft.data.TagsProvider" newName="net.minecraft.data.tags.TagsProvider" type="class"/>
<entry oldName="net.minecraft.enchantment.Enchantment" newName="net.minecraft.world.item.enchantment.Enchantment" type="class"/>
<entry oldName="net.minecraft.enchantment.EnchantmentHelper" newName="net.minecraft.world.item.enchantment.EnchantmentHelper" type="class"/>
<entry oldName="net.minecraft.enchantment.Enchantments" newName="net.minecraft.world.item.enchantment.Enchantments" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.Attribute" newName="net.minecraft.world.entity.ai.attributes.Attribute" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.AttributeModifier" newName="net.minecraft.world.entity.ai.attributes.AttributeModifier" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.AttributeModifierMap" newName="net.minecraft.world.entity.ai.attributes.AttributeSupplier" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.Attributes" newName="net.minecraft.world.entity.ai.attributes.Attributes" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.AttributeSupplier.MutableAttribute" newName="net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.GlobalEntityTypeAttributes" newName="net.minecraft.world.entity.ai.attributes.DefaultAttributes" type="class"/>
<entry oldName="net.minecraft.entity.ai.attributes.ModifiableAttributeInstance" newName="net.minecraft.world.entity.ai.attributes.AttributeInstance" type="class"/>
<entry oldName="net.minecraft.entity.ai.controller.MovementController" newName="net.minecraft.world.entity.ai.control.MoveControl" type="class"/>
<entry oldName="net.minecraft.entity.ai.controller.MovementController.Action" newName="net.minecraft.world.entity.ai.control.MoveControl.Operation" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.Goal" newName="net.minecraft.world.entity.ai.goal.Goal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.HurtByTargetGoal" newName="net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.LookAtGoal" newName="net.minecraft.world.entity.ai.goal.LookAtPlayerGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.LookRandomlyGoal" newName="net.minecraft.world.entity.ai.goal.RandomLookAroundGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.MeleeAttackGoal" newName="net.minecraft.world.entity.ai.goal.MeleeAttackGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.MoveTowardsRestrictionGoal" newName="net.minecraft.world.entity.ai.goal.MoveTowardsRestrictionGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.NearestAttackableTargetGoal" newName="net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.goal.SwimGoal" newName="net.minecraft.world.entity.ai.goal.RandomSwimmingGoal" type="class"/>
<entry oldName="net.minecraft.entity.ai.RandomPositionGenerator" newName="net.minecraft.world.entity.ai.util.LandRandomPos" type="class"/>
<entry oldName="net.minecraft.entity.CreatureEntity" newName="net.minecraft.world.entity.PathfinderMob" type="class"/>
<entry oldName="net.minecraft.entity.Entity" newName="net.minecraft.world.entity.Entity" type="class"/>
<entry oldName="net.minecraft.entity.EntityClassification" newName="net.minecraft.world.entity.MobCategory" type="class"/>
<entry oldName="net.minecraft.entity.EntityType" newName="net.minecraft.world.entity.EntityType" type="class"/>
<entry oldName="net.minecraft.entity.FlyingEntity" newName="net.minecraft.world.entity.FlyingMob" type="class"/>
<entry oldName="net.minecraft.entity.item.ItemEntity" newName="net.minecraft.world.entity.item.ItemEntity" type="class"/>
<entry oldName="net.minecraft.entity.LivingEntity" newName="net.minecraft.world.entity.LivingEntity" type="class"/>
<entry oldName="net.minecraft.entity.monster.MonsterEntity" newName="net.minecraft.world.entity.monster.Monster" type="class"/>
<entry oldName="net.minecraft.entity.monster.ZombifiedPiglinEntity" newName="net.minecraft.world.entity.monster.ZombifiedPiglin" type="class"/>
<entry oldName="net.minecraft.entity.MoverType" newName="net.minecraft.world.entity.MoverType" type="class"/>
<entry oldName="net.minecraft.entity.passive.IronGolemEntity" newName="net.minecraft.world.entity.animal.IronGolem" type="class"/>
<entry oldName="net.minecraft.entity.player.PlayerEntity" newName="net.minecraft.world.entity.player.Player" type="class"/>
<entry oldName="net.minecraft.entity.player.PlayerInventory" newName="net.minecraft.world.entity.player.Inventory" type="class"/>
<entry oldName="net.minecraft.entity.player.ServerPlayerEntity" newName="net.minecraft.server.level.ServerPlayer" type="class"/>
<entry oldName="net.minecraft.entity.projectile.ArrowEntity" newName="net.minecraft.world.entity.projectile.Arrow" type="class"/>
<entry oldName="net.minecraft.entity.projectile.ProjectileEntity" newName="net.minecraft.world.entity.projectile.Projectile" type="class"/>
<entry oldName="net.minecraft.entity.projectile.ProjectileHelper" newName="net.minecraft.world.entity.projectile.ProjectileUtil" type="class"/>
<entry oldName="net.minecraft.entity.projectile.ThrowableEntity" newName="net.minecraft.world.entity.projectile.ThrowableProjectile" type="class"/>
<entry oldName="net.minecraft.entity.SpawnReason" newName="net.minecraft.world.entity.MobSpawnType" type="class"/>
<entry oldName="net.minecraft.fluid.FluidState" newName="net.minecraft.world.level.material.FluidState" type="class"/>
<entry oldName="net.minecraft.inventory.container.ContainerType" newName="net.minecraft.world.inventory.MenuType" type="class"/>
<entry oldName="net.minecraft.inventory.container.PlayerContainer" newName="net.minecraft.world.inventory.InventoryMenu" type="class"/>
<entry oldName="net.minecraft.inventory.EquipmentSlotType" newName="net.minecraft.world.entity.EquipmentSlot" type="class"/>
<entry oldName="net.minecraft.inventory.IInventory" newName="net.minecraft.world.Container" type="class"/>
<entry oldName="net.minecraft.item.ArmorItem" newName="net.minecraft.world.item.ArmorItem" type="class"/>
<entry oldName="net.minecraft.item.ArmorMaterial" newName="net.minecraft.world.item.ArmorMaterial" type="class"/>
<entry oldName="net.minecraft.item.BlockItem" newName="net.minecraft.world.item.BlockItem" type="class"/>
<entry oldName="net.minecraft.item.BlockItemUseContext" newName="net.minecraft.world.item.context.BlockPlaceContext" type="class"/>
<entry oldName="net.minecraft.item.crafting.IRecipe" newName="net.minecraft.world.item.crafting.Recipe" type="class"/>
<entry oldName="net.minecraft.item.crafting.IRecipeSerializer" newName="net.minecraft.world.item.crafting.RecipeSerializer" type="class"/>
<entry oldName="net.minecraft.item.crafting.IRecipeType" newName="net.minecraft.world.item.crafting.RecipeType" type="class"/>
<entry oldName="net.minecraft.item.DyeColor" newName="net.minecraft.world.item.DyeColor" type="class"/>
<entry oldName="net.minecraft.item.Item" newName="net.minecraft.world.item.Item" type="class"/>
<entry oldName="net.minecraft.item.ItemGroup" newName="net.minecraft.world.item.CreativeModeTab" type="class"/>
<entry oldName="net.minecraft.item.Items" newName="net.minecraft.world.item.Items" type="class"/>
<entry oldName="net.minecraft.item.ItemStack" newName="net.minecraft.world.item.ItemStack" type="class"/>
<entry oldName="net.minecraft.item.ItemTier" newName="net.minecraft.world.item.Tiers" type="class"/>
<entry oldName="net.minecraft.item.ItemUseContext" newName="net.minecraft.world.item.context.UseOnContext" type="class"/>
<entry oldName="net.minecraft.loot.conditions.ILootCondition" newName="net.minecraft.world.level.storage.loot.predicates.LootItemConditions" type="class"/>
<entry oldName="net.minecraft.loot.LootContext" newName="net.minecraft.world.level.storage.loot.LootContext" type="class"/>
<entry oldName="net.minecraft.loot.LootFunction" newName="net.minecraft.world.level.storage.loot.functions.LootItemFunction" type="class"/>
<entry oldName="net.minecraft.loot.LootFunctionType" newName="net.minecraft.world.level.storage.loot.functions.LootItemFunctionType" type="class"/>
<entry oldName="net.minecraft.loot.LootPool" newName="net.minecraft.world.level.storage.loot.LootPool" type="class"/>
<entry oldName="net.minecraft.loot.LootTable" newName="net.minecraft.world.level.storage.loot.LootTable" type="class"/>
<entry oldName="net.minecraft.loot.LootTableManager" newName="net.minecraft.world.level.storage.loot.LootTables" type="class"/>
<entry oldName="net.minecraft.loot.LootTables" newName="net.minecraft.world.level.storage.loot.LootTables" type="class"/>
<entry oldName="net.minecraft.nbt.CompoundNBT" newName="net.minecraft.nbt.CompoundTag" type="class"/>
<entry oldName="net.minecraft.nbt.ListNBT" newName="net.minecraft.nbt.ListTag" type="class"/>
<entry oldName="net.minecraft.nbt.NBTUtil" newName="net.minecraft.nbt.NbtUtils" type="class"/>
<entry oldName="net.minecraft.nbt.StringNBT" newName="net.minecraft.nbt.StringTag" type="class"/>
<entry oldName="net.minecraft.network.datasync.DataParameter" newName="net.minecraft.network.syncher.EntityDataAccessor" type="class"/>
<entry oldName="net.minecraft.network.datasync.DataSerializers" newName="net.minecraft.network.syncher.EntityDataSerializers" type="class"/>
<entry oldName="net.minecraft.network.datasync.EntityDataManager" newName="net.minecraft.network.syncher.SynchedEntityData" type="class"/>
<entry oldName="net.minecraft.network.datasync.IDataSerializer" newName="net.minecraft.network.syncher.EntityDataSerializer" type="class"/>
<entry oldName="net.minecraft.network.IPacket" newName="net.minecraft.network.protocol.Packet" type="class"/>
<entry oldName="net.minecraft.network.NetworkManager" newName="net.minecraft.network.Connection" type="class"/>
<entry oldName="net.minecraft.network.PacketBuffer" newName="net.minecraft.network.FriendlyByteBuf" type="class"/>
<entry oldName="net.minecraft.network.play.server.SUpdateTileEntityPacket" newName="net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket" type="class"/>
<entry oldName="net.minecraft.particles.ParticleType" newName="net.minecraft.core.particles.ParticleType" type="class"/>
<entry oldName="net.minecraft.particles.ParticleTypes" newName="net.minecraft.core.particles.ParticleTypes" type="class"/>
<entry oldName="net.minecraft.pathfinding.PathNodeType" newName="net.minecraft.world.level.pathfinder.BlockPathTypes" type="class"/>
<entry oldName="net.minecraft.potion.Effect" newName="net.minecraft.world.effect.MobEffect" type="class"/>
<entry oldName="net.minecraft.potion.EffectInstance" newName="net.minecraft.world.effect.MobEffectInstance" type="class"/>
<entry oldName="net.minecraft.potion.Effects" newName="net.minecraft.world.effect.MobEffects" type="class"/>
<entry oldName="net.minecraft.resources.IReloadableResourceManager" newName="net.minecraft.server.packs.resources.ReloadableResourceManager" type="class"/>
<entry oldName="net.minecraft.resources.IResourceManager" newName="net.minecraft.server.packs.resources.ResourceManager" type="class"/>
<entry oldName="net.minecraft.scoreboard.Team" newName="net.minecraft.world.scores.Team" type="class"/>
<entry oldName="net.minecraft.state.BooleanProperty" newName="net.minecraft.world.level.block.state.properties.BooleanProperty" type="class"/>
<entry oldName="net.minecraft.state.EnumProperty" newName="net.minecraft.world.level.block.state.properties.EnumProperty" type="class"/>
<entry oldName="net.minecraft.state.properties.BlockStateProperties" newName="net.minecraft.world.level.block.state.properties.BlockStateProperties" type="class"/>
<entry oldName="net.minecraft.state.properties.RailShape" newName="net.minecraft.world.level.block.state.properties.RailShape" type="class"/>
<entry oldName="net.minecraft.state.properties.SlabType" newName="net.minecraft.world.level.block.state.properties.SlabType" type="class"/>
<entry oldName="net.minecraft.state.Property" newName="net.minecraft.world.level.block.state.properties.Property" type="class"/>
<entry oldName="net.minecraft.state.StateContainer" newName="net.minecraft.world.level.block.state.StateDefinition" type="class"/>
<entry oldName="net.minecraft.tags.ITag" newName="net.minecraft.tags.Tag" type="class"/>
<entry oldName="net.minecraft.tags.ITag.INamedTag" newName="net.minecraft.tags.Tag.Named" type="class"/>
<entry oldName="net.minecraft.tileentity.TileEntity" newName="net.minecraft.world.level.block.entity.BlockEntity" type="class"/>
<entry oldName="net.minecraft.tileentity.TileEntityType" newName="net.minecraft.world.level.block.entity.BlockEntityType" type="class"/>
<entry oldName="net.minecraft.util.ActionResult" newName="net.minecraft.world.InteractionResultHolder" type="class"/>
<entry oldName="net.minecraft.util.ActionResultType" newName="net.minecraft.world.InteractionResult" type="class"/>
<entry oldName="net.minecraft.util.DamageSource" newName="net.minecraft.world.damagesource.DamageSource" type="class"/>
<entry oldName="net.minecraft.util.Direction" newName="net.minecraft.core.Direction" type="class"/>
<entry oldName="net.minecraft.util.Hand" newName="net.minecraft.world.InteractionHand" type="class"/>
<entry oldName="net.minecraft.util.IStringSerializable" newName="net.minecraft.util.StringRepresentable" type="class"/>
<entry oldName="net.minecraft.util.JSONUtils" newName="net.minecraft.util.GsonHelper" type="class"/>
<entry oldName="net.minecraft.util.math.AxisAlignedBB" newName="net.minecraft.world.phys.AABB" type="class"/>
<entry oldName="net.minecraft.util.math.BlockPos" newName="net.minecraft.core.BlockPos" type="class"/>
<entry oldName="net.minecraft.util.math.BlockRayTraceResult" newName="net.minecraft.world.phys.BlockHitResult" type="class"/>
<entry oldName="net.minecraft.util.math.ChunkPos" newName="net.minecraft.world.level.ChunkPos" type="class"/>
<entry oldName="net.minecraft.util.math.EntityRayTraceResult" newName="net.minecraft.world.phys.EntityHitResult" type="class"/>
<entry oldName="net.minecraft.util.math.MathHelper" newName="net.minecraft.util.Mth" type="class"/>
<entry oldName="net.minecraft.util.math.RayTraceContext" newName="net.minecraft.world.level.ClipContext" type="class"/>
<entry oldName="net.minecraft.util.math.RayTraceResult" newName="net.minecraft.world.phys.HitResult" type="class"/>
<entry oldName="net.minecraft.util.math.shapes.IBooleanFunction" newName="net.minecraft.world.phys.shapes.BooleanOp" type="class"/>
<entry oldName="net.minecraft.util.math.shapes.ISelectionContext" newName="net.minecraft.world.phys.shapes.CollisionContext" type="class"/>
<entry oldName="net.minecraft.util.math.shapes.VoxelShape" newName="net.minecraft.world.phys.shapes.VoxelShape" type="class"/>
<entry oldName="net.minecraft.util.math.shapes.VoxelShapes" newName="net.minecraft.world.phys.shapes.Shapes" type="class"/>
<entry oldName="net.minecraft.util.math.vector.Matrix4f" newName="com.mojang.math.Matrix4f" type="class"/>
<entry oldName="net.minecraft.util.math.vector.Quaternion" newName="com.mojang.math.Quaternion" type="class"/>
<entry oldName="net.minecraft.util.math.vector.Vector2f" newName="net.minecraft.world.phys.Vec2" type="class"/>
<entry oldName="net.minecraft.util.math.vector.Vector3d" newName="net.minecraft.world.phys.Vec3" type="class"/>
<entry oldName="net.minecraft.util.math.vector.Vector3f" newName="com.mojang.math.Vector3f" type="class"/>
<entry oldName="net.minecraft.util.NonNullList" newName="net.minecraft.core.NonNullList" type="class"/>
<entry oldName="net.minecraft.util.registry.Registry" newName="net.minecraft.core.Registry" type="class"/>
<entry oldName="net.minecraft.util.RegistryKey" newName="net.minecraft.resources.ResourceKey" type="class"/>
<entry oldName="net.minecraft.util.ResourceLocation" newName="net.minecraft.resources.ResourceLocation" type="class"/>
<entry oldName="net.minecraft.util.Rotation" newName="net.minecraft.world.level.block.Rotation" type="class"/>
<entry oldName="net.minecraft.util.SoundCategory" newName="net.minecraft.sounds.SoundSource" type="class"/>
<entry oldName="net.minecraft.util.SoundEvent" newName="net.minecraft.sounds.SoundEvent" type="class"/>
<entry oldName="net.minecraft.util.SoundEvents" newName="net.minecraft.sounds.SoundEvents" type="class"/>
<entry oldName="net.minecraft.util.text.ITextComponent" newName="net.minecraft.network.chat.TextComponent" type="class"/>
<entry oldName="net.minecraft.util.text.StringTextComponent" newName="net.minecraft.network.chat.TextComponent" type="class"/>
<entry oldName="net.minecraft.util.text.TextFormatting" newName="net.minecraft.ChatFormatting" type="class"/>
<entry oldName="net.minecraft.world.DimensionType" newName="net.minecraft.world.level.dimension.DimensionType" type="class"/>
<entry oldName="net.minecraft.world.entity.ai.attributes.AttributeSupplier.MutableAttribute" newName="net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder" type="class"/>
<entry oldName="net.minecraft.world.Explosion" newName="net.minecraft.world.level.Explosion" type="class"/>
<entry oldName="net.minecraft.world.GameRules" newName="net.minecraft.world.level.GameRules" type="class"/>
<entry oldName="net.minecraft.world.IBlockReader" newName="net.minecraft.world.level.BlockGetter" type="class"/>
<entry oldName="net.minecraft.world.IWorld" newName="net.minecraft.world.level.Level" type="class"/>
<entry oldName="net.minecraft.world.IWorldReader" newName="net.minecraft.world.level.BlockGetter" type="class"/>
<entry oldName="net.minecraft.world.server.ChunkHolder" newName="net.minecraft.server.level.ChunkHolder" type="class"/>
<entry oldName="net.minecraft.world.server.ServerWorld" newName="net.minecraft.server.level.ServerLevel" type="class"/>
<entry oldName="net.minecraft.world.storage.IWorldInfo" newName="net.minecraft.world.level.storage.LevelData" type="class"/>
<entry oldName="net.minecraft.world.World" newName="net.minecraft.world.level.Level" type="class"/>
<entry oldName="net.minecraftforge.client.event.DrawHighlightEvent" newName="net.minecraftforge.client.event.DrawSelectionEvent" type="class"/>
<entry oldName="net.minecraftforge.client.event.RenderWorldLastEvent" newName="net.minecraftforge.client.event.RenderLevelLastEvent" type="class"/>
<entry oldName="net.minecraftforge.fml.client.gui.GuiUtils" newName="net.minecraftforge.client.gui.GuiUtils" type="class"/>
<entry oldName="net.minecraftforge.fml.client.registry.ClientRegistry" newName="net.minecraftforge.client.ClientRegistry" type="class"/>
<entry oldName="net.minecraftforge.fml.client.registry.IRenderFactory" newName="net.minecraft.client.renderer.entity.EntityRendererProvider" type="class"/>
<entry oldName="net.minecraftforge.fml.event.lifecycle.GatherDataEvent" newName="net.minecraftforge.forge.event.lifecycle.GatherDataEvent" type="class"/>
<entry oldName="net.minecraftforge.fml.network.NetworkDirection" newName="net.minecraftforge.network.NetworkDirection" type="class"/>
<entry oldName="net.minecraftforge.fml.network.NetworkEvent" newName="net.minecraftforge.network.NetworkEvent" type="class"/>
<entry oldName="net.minecraftforge.fml.network.NetworkHooks" newName="net.minecraftforge.network.NetworkHooks" type="class"/>
<entry oldName="net.minecraftforge.fml.network.NetworkRegistry" newName="net.minecraftforge.network.NetworkRegistry" type="class"/>
<entry oldName="net.minecraftforge.fml.network.PacketDistributor" newName="net.minecraftforge.network.PacketDistributor" type="class"/>
<entry oldName="net.minecraftforge.fml.network.simple.SimpleChannel" newName="net.minecraftforge.network.simple.SimpleChannel" type="class"/>
<entry oldName="net.minecraftforge.fml.RegistryObject" newName="net.minecraftforge.registries.RegistryObject" type="class"/>
<entry oldName="net.minecraftforge.fmlclient.gui.GuiUtils" newName="net.minecraftforge.client.gui.GuiUtils" type="class"/>
</migrationMap>
@rrehbein
Copy link
Author

rrehbein commented Dec 18, 2021

Usage instructions are the same as https://gist.github.com/gigaherz/aef4327298473307ae92a6e754fce0d2#gistcomment-3979225

The goal was official 1.16 to official 1.18, rather than MCP 1.16 to official 1.18.

Follow https://gist.github.com/gigaherz/6fc52ee532f36ec432db62458c1620b5 for mapping MCP 1.16 to official 1.16 mappings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment