remove useless mipped layer

This commit is contained in:
Sen 2025-07-25 10:44:34 +02:00
parent af68ad3f30
commit 95948c7602
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
14 changed files with 17 additions and 22 deletions

View file

@ -183,7 +183,7 @@ public class BlockPane extends Block
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
protected Property[] getProperties()

View file

@ -57,7 +57,7 @@ public class BlockDryLeaves extends BlockLeavesBase
//
// public EnumWorldBlockLayer getBlockLayer()
// {
// return this.isTransparent ? EnumWorldBlockLayer.CUTOUT_MIPPED : EnumWorldBlockLayer.SOLID;
// return this.isTransparent ? EnumWorldBlockLayer.CUTOUT : EnumWorldBlockLayer.SOLID;
// }
//
// public boolean isVisuallyOpaque()

View file

@ -94,7 +94,7 @@ public class BlockGrass extends Block implements IGrowable
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
public Model getModel(ModelProvider provider, String name, State state) {

View file

@ -28,7 +28,7 @@ public class BlockLeavesBase extends Block
public BlockLayer getRenderLayer()
{
return /* this.transparent ? */ BlockLayer.CUTOUT_MIPPED; // : BlockLayer.SOLID;
return /* this.transparent ? */ BlockLayer.CUTOUT; // : BlockLayer.SOLID;
}
public boolean isVisuallyOpaque()

View file

@ -95,7 +95,7 @@ public class BlockMycelium extends Block
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
public Model getModel(ModelProvider provider, String name, State state) {

View file

@ -52,7 +52,7 @@ public class BlockSwamp extends Block
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
public Model getModel(ModelProvider provider, String name, State state) {

View file

@ -44,7 +44,7 @@ public class BlockTianSoil extends Block
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
public Model getModel(ModelProvider provider, String name, State state) {

View file

@ -40,7 +40,7 @@ public class BlockPodzol extends Block {
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
public Model getModel(ModelProvider provider, String name, State state) {

View file

@ -181,7 +181,7 @@ public class BlockHopper extends Block implements ITileEntityProvider, Direction
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
protected Property[] getProperties()

View file

@ -327,7 +327,7 @@ public class BlockTripWireHook extends Block implements Rotatable
public BlockLayer getRenderLayer()
{
return BlockLayer.CUTOUT_MIPPED;
return BlockLayer.CUTOUT;
}
protected Property[] getProperties()

View file

@ -5,7 +5,6 @@ import common.util.Clientside;
@Clientside
public enum BlockLayer {
SOLID("Solid"),
CUTOUT_MIPPED("Mipped Cutout"),
CUTOUT("Cutout"),
TRANSLUCENT("Translucent");