net.minecraft.src
Class MapData
java.lang.Object
net.minecraft.src.WorldSavedData
net.minecraft.src.MapData
public class MapData
- extends WorldSavedData
xCenter
public int xCenter
zCenter
public int zCenter
dimension
public int dimension
scale
public byte scale
colors
public byte[] colors
- colours
playersArrayList
public List playersArrayList
- Holds a reference to the MapInfo of the players who own a copy of the map
playersVisibleOnMap
public Map playersVisibleOnMap
MapData
public MapData(String par1Str)
readFromNBT
public void readFromNBT(NBTTagCompound par1NBTTagCompound)
- reads in data from the NBTTagCompound into this MapDataBase
- Specified by:
readFromNBT
in class WorldSavedData
writeToNBT
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
- write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities
- Specified by:
writeToNBT
in class WorldSavedData
updateVisiblePlayers
public void updateVisiblePlayers(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
- Adds the player passed to the list of visible players and checks to see which players are visible
func_76193_a
public byte[] func_76193_a(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
func_76194_a
public void func_76194_a(int par1,
int par2,
int par3)
updateMPMapData
public void updateMPMapData(byte[] par1ArrayOfByte)
func_82568_a
public MapInfo func_82568_a(EntityPlayer par1EntityPlayer)