use of net.minecraft.item.map.MapState in project Client by MatHax.
the class SaveMapCommand method getMapState.
private MapState getMapState() {
ItemStack map = getMap();
if (map == null)
return null;
MapState state = FilledMapItem.getMapState(FilledMapItem.getMapId(map), mc.world);
if (state == null)
return null;
return state;
}
Aggregations