YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.WorldSavedData Class Referenceabstract
Inheritance diagram for net.minecraft.world.WorldSavedData:
net.minecraft.scoreboard.ScoreboardSaveData net.minecraft.village.VillageCollection net.minecraft.world.storage.MapData

Public Member Functions

 WorldSavedData (String par1Str)
 
abstract void readFromNBT (NBTTagCompound nbttagcompound)
 
abstract void writeToNBT (NBTTagCompound nbttagcompound)
 
void markDirty ()
 
void setDirty (boolean par1)
 
boolean isDirty ()
 

Public Attributes

final String mapName
 

Constructor & Destructor Documentation

net.minecraft.world.WorldSavedData.WorldSavedData ( String  par1Str)

Member Function Documentation

boolean net.minecraft.world.WorldSavedData.isDirty ( )

Whether this MapDataBase needs saving to disk.

void net.minecraft.world.WorldSavedData.markDirty ( )

Marks this MapDataBase dirty, to be saved to disk when the level next saves.

abstract void net.minecraft.world.WorldSavedData.readFromNBT ( NBTTagCompound  nbttagcompound)
pure virtual

reads in data from the NBTTagCompound into this MapDataBase

Implemented in net.minecraft.village.VillageCollection, net.minecraft.world.storage.MapData, and net.minecraft.scoreboard.ScoreboardSaveData.

void net.minecraft.world.WorldSavedData.setDirty ( boolean  par1)

Sets the dirty state of this MapDataBase, whether it needs saving to disk.

abstract void net.minecraft.world.WorldSavedData.writeToNBT ( NBTTagCompound  nbttagcompound)
pure virtual

write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities

Implemented in net.minecraft.village.VillageCollection, net.minecraft.scoreboard.ScoreboardSaveData, and net.minecraft.world.storage.MapData.

Member Data Documentation

final String net.minecraft.world.WorldSavedData.mapName

The name of the map data nbt


The documentation for this class was generated from the following file: