Skip to content

Instantly share code, notes, and snippets.

@sobrinth
Last active June 26, 2020 19:50
Show Gist options
  • Save sobrinth/a0037ac1d9e81d352ae6089d40412814 to your computer and use it in GitHub Desktop.
Save sobrinth/a0037ac1d9e81d352ae6089d40412814 to your computer and use it in GitHub Desktop.
1.15.2 -> 1.16.1 migration mappings for intellij
<?xml version="1.0" encoding="UTF-8"?>
<migrationMap>
<name value="1.15.2 to 1.16.1"/>
<description value="1.15.2 to 1.16.1 MCPConfig changes"/>
<entry oldName="net.minecraft.entity.item.minecart.MinecartCommandBlockEntity" newName="net.minecraft.entity.item.minecart.CommandBlockMinecartEntity" type="class" />
<entry oldName="net.minecraft.util.math.Matrix3f" newName="net.minecraft.util.math.vector.Matrix3f" type="class" />
<entry oldName="net.minecraft.util.math.Matrix4f" newName="net.minecraft.util.math.vector.Matrix4f" type="class" />
<entry oldName="net.minecraft.util.math.Vector3f" newName="net.minecraft.util.math.vector.Vector3f" type="class" />
<entry oldName="net.minecraft.util.math.Vector4f" newName="net.minecraft.util.math.vector.Vector4f" type="class" />
<entry oldName="net.minecraft.util.math.Vec2f" newName="net.minecraft.util.math.vector.Vector2f" type="class" />
<entry oldName="net.minecraft.util.math.Vec3d" newName="net.minecraft.util.math.vector.Vector3d" type="class" />
<entry oldName="net.minecraft.util.math.Vec3i" newName="net.minecraft.util.math.vector.Vector3i" type="class" />
<entry oldName="net.minecraft.util.math.TransformationMatrix" newName="net.minecraft.util.math.vector.TransformationMatrix" type="class" />
<entry oldName="net.minecraft.client.renderer.Quaternion" newName="net.minecraft.util.math.vector.Quaternion" type="class" />
<entry oldName="net.minecraft.client.renderer.Vector3d" newName="net.minecraft.util.math.Tuple3d" type="class" />
<entry oldName="net.minecraft.util.math.Orientation" newName="net.minecraft.util.math.vector.Orientation" type="class" />
<entry oldName="net.minecraft.world.ILightReader" newName="net.minecraft.world.IBlockDisplayReader" type="class" />
<entry oldName="net.minecraft.client.renderer.model.Material" newName="net.minecraft.client.renderer.model.RenderMaterial" type="class" />
<entry oldName="net.minecraft.util.palette.PaletteArray" newName="net.minecraft.util.palette.ArrayPalette" type="class" />
<entry oldName="net.minecraft.util.palette.PaletteHashMap" newName="net.minecraft.util.palette.HashMapPalette" type="class" />
<entry oldName="net.minecraft.util.palette.PaletteIdentity" newName="net.minecraft.util.palette.IdentityPalette" type="class" />
<entry oldName="net.minecraft.client.renderer.culling.ClippingHelperImpl" newName="net.minecraft.client.renderer.culling.ClippingHelper" type="class" />
<entry oldName="net.minecraft.entity.passive.PandaEntity$Type" newName="net.minecraft.entity.passive.PandaEntity$Gene" type="class" />
<entry oldName="net.minecraft.world.storage.loot" newName="net.minecraft.loot" type="package" recursive="true" />
<entry oldName="net.minecraft.entity.ai.attributes.IAttribute" newName="net.minecraft.entity.ai.attributes.Attribute" type="class" />
<entry oldName="net.minecraft.fluid.IFluidState" newName="net.minecraft.fluid.FluidState" type="class" />
<entry oldName="net.minecraft.entity.projectile.Projectile" newName="net.minecraft.entity.projectile.ProjectileEntity" type="class" />
<entry oldName="net.minecraft.state.IProperty" newName="net.minecraft.state.Property" type="class" />
<entry oldName="net.minecraft.state.IStateHolder" newName="net.minecraft.state.StateHolder" type="class" />
<entry oldName="net.minecraft.tags.Tag" newName="net.minecraft.tags.ITag" type="class" />
<entry oldName="net.minecraft.world.storage.WorldInfo" newName="net.minecraft.world.storage.IWorldInfo" type="class" />
<entry oldName="com.mojang.realmsclient.gui.screens.RealmsScreenWithCallback" newName="com.mojang.realmsclient.gui.screens.NotifableRealmsScreen" type="class" />
<entry oldName="net.minecraft.realms.RealmsBridge" newName="net.minecraft.realms.RealmsBridgeScreen" type="class" />
<entry oldName="net.minecraft.entity.item.EyeOfEnderEntity" newName="net.minecraft.entity.projectile.EyeOfEnderEntity" type="class" />
<entry oldName="net.minecraft.entity.item.FireworkRocketEntity" newName="net.minecraft.entity.projectile.FireworkRocketEntity" type="class" />
<entry oldName="net.minecraft.client.renderer.Matrix3f" newName="net.minecraft.util.math.Matrix3f" type="class" />
<entry oldName="net.minecraft.client.renderer.Matrix4f" newName="net.minecraft.util.math.Matrix4f" type="class" />
<entry oldName="net.minecraft.client.renderer.Vector3f" newName="net.minecraft.util.math.Vector3f" type="class" />
<entry oldName="net.minecraft.client.renderer.Vector4f" newName="net.minecraft.util.math.Vector4f" type="class" />
<entry oldName="net.minecraft.client.renderer.TransformationMatrix" newName="net.minecraft.util.math.TransformationMatrix" type="class" />
<entry oldName="net.minecraft.client.settings.AbstractOption" newName="net.minecraft.client.AbstractOption" type="class" />
<entry oldName="net.minecraft.world.dimension.DimensionType" newName="net.minecraft.world.DimensionType" type="class" />
<entry oldName="net.minecraft.world.gen.settings.Dimension" newName="net.minecraft.world.Dimension" type="class" />
<entry oldName="net.minecraft.world.storage.FolderNames" newName="net.minecraft.world.storage.FolderName" type="class" />
<entry oldName="net.minecraft.world.gen.DimensionSettings$Presets" newName="net.minecraft.world.gen.DimensionSettings$Preset" type="class" />
</migrationMap>
@sobrinth
Copy link
Author

Probably incomplete, but 🤷

More Instructions can be found: https://gist.github.com/williewillus/2dfc945b7b7fdb69cc3ff830072d22fe#gistcomment-2913366

@gigaherz
Copy link

Cos it took me like an hour to find the path for ij2020.1: %APPDATA%\JetBrains\IdeaIC2020.1\migration

@gigaherz
Copy link

Btw, the XML is broken. The names need to use . not /
I fixed that, and the loot package declaration here: https://gist.github.com/gigaherz/2dfa77c6efc7d1248ef88ec1920c0a93 but it's still missing a few classes.

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