(BlockPos pos)
| 88 | } |
| 89 | |
| 90 | public static NBTTagIntArray writeBlockPos(BlockPos pos) { |
| 91 | if (pos == null) return null; |
| 92 | return new NBTTagIntArray(new int[] { pos.getX(), pos.getY(), pos.getZ() }); |
| 93 | } |
| 94 | |
| 95 | public static BlockPos readBlockPos(NBTBase base) { |
| 96 | if (base == null) return null; |
no test coverage detected