Updated Forge to 1.12.2 RB (#3141)

* Updated Forge to 1.12.2 RB

Updated mappings to the MDK defaults for 1.12.2
Updated related depdencies

* With Forge 14.23 not available for < 1.12.2, we have to drop support.

With one potential fix for TE corruption, this step should be
reasonable.
This commit is contained in:
yueh
2017-10-08 17:34:05 +02:00
committed by GitHub
parent 95b27f490c
commit 644194d0d6
6 changed files with 11 additions and 11 deletions
@@ -79,7 +79,7 @@ public class FacadeWithBlockBakedModel implements IBakedModel
{
if( sprite.getTint() != -1 )
{
builder.setColor( Minecraft.getMinecraft().getItemColors().getColorFromItemstack( this.textureItem, sprite.getTint() ) );
builder.setColor( Minecraft.getMinecraft().getItemColors().colorMultiplier( this.textureItem, sprite.getTint() ) );
}
builder.setTexture( sprite.getSprite() );
builder.setDrawFaces( EnumSet.of( EnumFacing.NORTH ) );
@@ -39,7 +39,7 @@ public class StaticItemColor implements IItemColor
}
@Override
public int getColorFromItemstack( ItemStack stack, int tintIndex )
public int colorMultiplier( ItemStack stack, int tintIndex )
{
return this.color.getVariantByTintIndex( tintIndex );
}
@@ -44,7 +44,7 @@ public class FacadeRenderState
public int resolveTintColor( int tintIndex )
{
return Minecraft.getMinecraft().getItemColors().getColorFromItemstack( this.textureItem, tintIndex );
return Minecraft.getMinecraft().getItemColors().colorMultiplier( this.textureItem, tintIndex );
}
}
+1 -1
View File
@@ -68,7 +68,7 @@ import appeng.services.version.VersionCheckerConfig;
import appeng.util.Platform;
@Mod( modid = AppEng.MOD_ID, acceptedMinecraftVersions = "[1.12,1.12.1]", name = AppEng.MOD_NAME, version = AEConfig.VERSION, dependencies = AppEng.MOD_DEPENDENCIES, guiFactory = "appeng.client.gui.config.AEConfigGuiFactory" )
@Mod( modid = AppEng.MOD_ID, acceptedMinecraftVersions = "[1.12.2]", name = AppEng.MOD_NAME, version = AEConfig.VERSION, dependencies = AppEng.MOD_DEPENDENCIES, guiFactory = "appeng.client.gui.config.AEConfigGuiFactory" )
public final class AppEng
{
@SidedProxy( clientSide = "appeng.client.ClientHelper", serverSide = "appeng.server.ServerHelper", modId = AppEng.MOD_ID )
@@ -128,7 +128,7 @@ public class PartCableAnchor implements IPart
@Override
public boolean isLadder( final EntityLivingBase entity )
{
return this.mySide.yOffset == 0 && ( entity.isCollidedHorizontally || !entity.onGround );
return this.mySide.yOffset == 0 && ( entity.collidedHorizontally || !entity.onGround );
}
@Override