Package net.minecraft.nbt

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


    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

TOP

Related Classes of net.minecraft.nbt.NBTTagString

Copyright © 2018 www.massapicom. 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.