@Immutable @ParametersAreNonnullByDefault public class NbtMap extends AbstractMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>clear, clone, containsKey, containsValue, isEmpty, put, putAll, remove, sizefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final NbtMap EMPTY
public static NbtMapBuilder builder()
public NbtMapBuilder toBuilder()
public Collection<Object> values()
public boolean getBoolean(String key)
public boolean getBoolean(String key, boolean defaultValue)
public void listenForBoolean(String key, BooleanConsumer consumer)
public byte getByte(String key)
public byte getByte(String key, byte defaultValue)
public void listenForByte(String key, ByteConsumer consumer)
public short getShort(String key)
public short getShort(String key, short defaultValue)
public void listenForShort(String key, ShortConsumer consumer)
public int getInt(String key)
public int getInt(String key, int defaultValue)
public void listenForInt(String key, IntConsumer consumer)
public long getLong(String key)
public long getLong(String key, long defaultValue)
public void listenForLong(String key, LongConsumer consumer)
public float getFloat(String key)
public float getFloat(String key, float defaultValue)
public void listenForFloat(String key, FloatConsumer consumer)
public double getDouble(String key)
public double getDouble(String key, double defaultValue)
public void listenForDouble(String key, DoubleConsumer consumer)
public byte[] getByteArray(String key)
public int[] getIntArray(String key)
public long[] getLongArray(String key)
public <T> void listenForList(String key, NbtType<T> type, Consumer<List<T>> consumer)
public void listenForNumber(String key, NumberConsumer consumer)
public boolean equals(Object o)
public int hashCode()
public String toString()
toString in class AbstractMap<String,Object>Copyright © 2020. All rights reserved.