| Constructor and Description |
|---|
CompoundTag(String name) |
CompoundTag(String name,
Map<String,Tag<?>> value) |
public CompoundTag(String name)
public static CompoundTag createFromList(String name, List<Tag<?>> list)
public void remove(String name)
public CompoundTag tag(Tag<?> tag)
public CompoundTag tagByte(String name, byte value)
public CompoundTag tagByteArray(String name, byte[] value)
public CompoundTag tagDouble(String name, double value)
public CompoundTag tagFloat(String name, float value)
public CompoundTag tagIntArray(String name, int[] value)
public CompoundTag tagInt(String name, int value)
public CompoundTag tagLong(String name, long value)
public CompoundTag tagShort(String name, short value)
public CompoundTag tagString(String name, String value)
public CompoundTag tagCompoundTag(String name, CompoundTag value)
public CompoundTag tagListTag(String name, ListTag value)
public CompoundTagBuilder toBuilder()
public Optional<ByteArrayTag> getAsByteArray(String key)
public Optional<CompoundTag> getAsCompound(String key)
public Optional<IntArrayTag> getAsIntArray(String key)
Copyright © 2018. All rights reserved.