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 );
}
}