nmsTag.setInteger("z", z);
// Add that data to the current tile entity in the world
TileEntity tileEntity = world.getTileEntity(x, y, z);
if (tileEntity != null)
{
tileEntity.readFromNBT(nmsTag);
} else
{
TerrainControl.log(LogMarker.DEBUG, "Skipping tile entity with id {}, cannot be placed at {},{},{} on id {}", new Object[] {
nmsTag.getString("id"), x, y, z, getMaterial(x, y, z)});
}