Created the BlockBiomeCouple

This commit is contained in:
Morippi
2021-12-09 13:50:38 +01:00
parent 3349606413
commit dcd5ae3256
2 changed files with 12 additions and 1 deletions
@@ -95,6 +95,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
//System.out.println(block + " color " + Integer.toHexString(color) + " to tint " + toTint + " folliageTint " + folliageTint + " grassTint " + grassTint + " waterTint " + waterTint);
}
/**
* this return a wrapper of the block in input
* @param block object of the block to wrap
@@ -264,7 +265,12 @@ public class BlockColorWrapper implements IBlockColorWrapper
{
return block == Blocks.WATER;
}
@Override
public String getName(){
return block.getName().toString();
}
//--------------//
//Colors getters//
//--------------//
@@ -120,6 +120,11 @@ public class BiomeWrapper implements IBiomeWrapper
return colorInt;
}
@Override
public String getName(){
return biome.toString();
}
@Override
public int getGrassTint(int x, int z)
{