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

Method setItemData

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

Assigns the given String id to the given MapDataBase using the MapStorage, removing any existing ones of the same id.

(String dataID, WorldSavedData worldSavedDataIn)

Source from the content-addressed store, hash-verified

3602 * id.
3603 */
3604 public void setItemData(String dataID, WorldSavedData worldSavedDataIn)
3605 {
3606 this.mapStorage.setData(dataID, worldSavedDataIn);
3607 }
3608
3609 /**
3610 * Loads an existing MapDataBase corresponding to the given String id from disk using the MapStorage, instantiating

Callers 5

loadMapDataMethod · 0.80
getMapDataMethod · 0.80
onCreatedMethod · 0.80
onItemRightClickMethod · 0.80
func_143027_aMethod · 0.80

Calls 1

setDataMethod · 0.45

Tested by

no test coverage detected