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:
@@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user