Un-hardcode block documentation
Opens it up for all our custom blocks to be able to provide information. Need a texture from @Yulife.
This commit is contained in:
parent
e406a4fa6f
commit
d0c0700fda
9 changed files with 166 additions and 28 deletions
|
@ -95,6 +95,11 @@ public class Utils
|
|||
return String.valueOf(input.charAt(0)).toUpperCase(Locale.ENGLISH) + input.substring(1);
|
||||
}
|
||||
|
||||
public static String prettifyBlockPosString(BlockPos pos)
|
||||
{
|
||||
return "[" + pos.getX() + ", " + pos.getY() + ", " + pos.getZ() + "]";
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tile
|
||||
* - The {@link TileInventory} to input the item to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue