MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / loadItemData

Method loadItemData

src/main/java/net/minecraft/world/World.java:3613–3616  ·  view source on GitHub ↗

Loads an existing MapDataBase corresponding to the given String id from disk using the MapStorage, instantiating the given Class, or returns null if none such file exists. args: Class to instantiate, String dataid

(Class <? extends WorldSavedData > clazz, String dataID)

Source from the content-addressed store, hash-verified

3611 * the given Class, or returns null if none such file exists. args: Class to instantiate, String dataid
3612 */
3613 public WorldSavedData loadItemData(Class <? extends WorldSavedData > clazz, String dataID)
3614 {
3615 return this.mapStorage.loadData(clazz, dataID);
3616 }
3617
3618 /**
3619 * Returns an unique new data id from the MapStorage for the given prefix and saves the idCounts map to the

Callers 3

loadMapDataMethod · 0.80
getMapDataMethod · 0.80
func_143027_aMethod · 0.80

Calls 1

loadDataMethod · 0.45

Tested by

no test coverage detected