cpw.mods.fml.common.registry
Class GameData
java.lang.Object
cpw.mods.fml.common.registry.GameData
public class GameData
- extends Object
GameData
public GameData()
newItemAdded
public static void newItemAdded(Item item)
validateWorldSave
public static void validateWorldSave(Set<ItemData> worldSaveItems)
writeItemData
public static void writeItemData(NBTTagList itemList)
initializeServerGate
public static void initializeServerGate(int gateCount)
- Initialize the server gate
- Parameters:
gateCount
- the countdown amount. If it's 2 we're on the client and the client and server
will wait at the latch. 1 is a server and the server will proceed
gateWorldLoadingForValidation
public static com.google.common.collect.MapDifference<Integer,ItemData> gateWorldLoadingForValidation()
releaseGate
public static void releaseGate(boolean carryOn)
buildWorldItemData
public static Set<ItemData> buildWorldItemData(NBTTagList modList)