Examples of NBTTagString


Examples of net.minecraft.nbt.NBTTagString

      nbt.setByte(NBT_TAG_MAT, (byte) material.ordinal());
      nbt.setByte(NBT_TAG_LOGIC, (byte) logic.ordinal());

      NBTTagList expansionsList = nbt.getTagList(NBT_TAG_EX, Constants.NBT.TAG_STRING);
      for (IGateExpansion expansion : expansions) {
        expansionsList.appendTag(new NBTTagString(expansion.getUniqueIdentifier()));
      }
      nbt.setTag(NBT_TAG_EX, expansionsList);
    }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagString

    NBTTagCompound nbt = getItemData(stack);
    NBTTagCompound display = nbt.getCompoundTag("display");
    nbt.setTag("display", display);
    NBTTagList lore = display.getTagList("Lore", Constants.NBT.TAG_STRING);
    display.setTag("Lore", lore);
    lore.appendTag(new NBTTagString(msg));
  }
View Full Code Here

Examples of net.minecraft.server.v1_4_R1.NBTTagString

      NBTTagList  list  = new NBTTagList();
      for (int i = 0; i < pSize; i++) {
        String       page  = storage.getString(tagStringPagePref+i);
       
        if (page != null) {
          NBTTagString tag  = new NBTTagString(page);
          tag.data      = page;
          list.add(tag);
        }
      }
     
View Full Code Here

Examples of net.minecraft.src.NBTTagString

      }

      NBTTagList loreTagList = new NBTTagList();

      for (String l : getLore()) {
        loreTagList.appendTag(new NBTTagString(l));
      }

      itemstack.stackTagCompound.getCompoundTag("display").setTag("Lore", loreTagList);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.