Examples of func_150296_c()


Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

                if (tag.hasKey("Flags")) {
                    final HashMap<String, Boolean> flags = new HashMap<String, Boolean>();
                    output.put("flags", flags);

                    final NBTTagCompound flagsNbt = tag.getCompoundTag("Flags");
                    for (Object flag : flagsNbt.func_150296_c()) {
                        final String key = (String) flag;
                        flags.put(key, flagsNbt.getBoolean(key));
                    }
                }
            }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

                val = vlist;
                break;
            case 10: // Map
                NBTTagCompound tc = (NBTTagCompound) v;
                HashMap<String, Object> vmap = new HashMap<String, Object>();
                for (Object t : tc.func_150296_c()) {
                    String st = (String) t;
                    NBTBase tg = tc.getTag(st);
                    vmap.put(st, getNBTValue(tg));
                }
                val = vmap;
View Full Code Here

Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

    } else {
     
      NBTTagCompound items = (NBTTagCompound)itemsTag;
      for (EnumArmorStandRegion region : EnumArmorStandRegion.values()) {
        NBTTagCompound regionItems = items.getCompoundTag(region.toString());
        for (String id : (Set<String>)regionItems.func_150296_c()) {
          ItemStack item = ItemStack.loadItemStackFromNBT(regionItems.getCompoundTag(id));
          ArmorStandEquipHandler handler = BetterStorageArmorStand.getEquipHandler(region, id);
          setItem(handler, item);
        }
      }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

        NBTTagCompound nbt = (NBTTagCompound) obj;

        TypeData data;
        NBTBase tag;
        for (String name : (Collection<String>) nbt.func_150296_c())
        {
            tag = nbt.getTag(name);
            data = getEntryData();
            data.putField(TYPE, tag.getId());
            data.putField(KEY, name);
View Full Code Here

Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

    securityKey = data.getLong( "securityKey" );
    configSlot.readFromNBT( data, "config" );

    NBTTagCompound storedItems = data.getCompoundTag( "storedItems" );
    for (Object key : storedItems.func_150296_c())
    {
      NBTBase obj = storedItems.getTag( (String) key );
      if ( obj instanceof NBTTagCompound )
      {
        inventory.storedItems.add( AEItemStack.create( ItemStack.loadItemStackFromNBT( (NBTTagCompound) obj ) ) );
View Full Code Here

Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

      {
        NBTTagCompound ctA = (NBTTagCompound) A;
        NBTTagCompound ctB = (NBTTagCompound) B;

        Set<String> cA = ctA.func_150296_c();
        Set<String> cB = ctB.func_150296_c();

        if ( cA.size() != cB.size() )
          return false;

        for (String name : cA)
View Full Code Here

Examples of net.minecraft.nbt.NBTTagCompound.func_150296_c()

    {
    case 10:
    {
      NBTTagCompound ctA = (NBTTagCompound) A;

      Set<String> cA = ctA.func_150296_c();

      for (String name : cA)
      {
        hash += name.hashCode() ^ NBTOrderlessHash( ctA.getTag( name ) );
      }
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.