예제 #1
0
 public Tag copy() {
   CompoundTag tag = new CompoundTag(getName());
   for (String key : tags.keySet()) {
     tag.put(key, tags.get(key).copy());
   }
   return tag;
 }
예제 #2
0
 public void putCompound(String name, CompoundTag value) {
   tags.put(name, value.setName(name));
 }