Package org.cloudburstmc.nbt
Class NbtMapBuilder
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Method Summary
Modifier and TypeMethodDescriptionbuild()static NbtMapBuilderputBoolean(String name, boolean value) putByteArray(String name, byte[] value) putCompound(String name, NbtMap value) putIntArray(String name, int[] value) <T> NbtMapBuilderfinal <T> NbtMapBuilderputLongArray(String name, long[] value) toString()Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCodeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Method Details
-
from
-
put
-
putBoolean
-
putByte
-
putByteArray
-
putDouble
-
putFloat
-
putIntArray
-
putLongArray
-
putInt
-
putLong
-
putShort
-
putString
-
putCompound
-
putList
-
putList
-
rename
-
build
-
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-