Examples of func_150309_d()


Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  @Override
  public void rotateLeft(IBuilderContext context) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position pos = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));
    pos = context.rotatePositionLeft(pos);
    entityNBT.setTag("Pos",
        this.newDoubleNBTList(pos.x, pos.y, pos.z));

    nbttaglist = entityNBT.getTagList("Rotation", 5);
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

    return nbttaglist;
  }

  public boolean isAlreadyBuilt(IBuilderContext context) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position newPosition = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));

    for (Object o : context.world().loadedEntityList) {
      Entity e = (Entity) o;
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  }

  public boolean isAlreadyBuilt(IBuilderContext context) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position newPosition = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));

    for (Object o : context.world().loadedEntityList) {
      Entity e = (Entity) o;

      Position existingPositon = new Position(e.posX, e.posY, e.posZ);
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  }

  public boolean isAlreadyBuilt(IBuilderContext context) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position newPosition = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));

    for (Object o : context.world().loadedEntityList) {
      Entity e = (Entity) o;

      Position existingPositon = new Position(e.posX, e.posY, e.posZ);
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

                        case 5:
                            float fv = tl.func_150308_e(i);
                            vlist.add(fv);
                            break;
                        case 6:
                            double dv = tl.func_150309_d(i);
                            vlist.add(dv);
                            break;
                        case 8:
                            String sv = tl.getStringTagAt(i);
                            vlist.add(sv);
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

        {
            NBTTagList list = tag.getTagList(name, new NBTTagDouble(0.0).getId());
            double[] array = new double[list.tagCount()];
            for (int i = 0; i < array.length; i++)
            {
                array[i] = list.func_150309_d(i);
            }

            return array;
        }
        if (type.equals(long.class))
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  @Override
  public void translateToBlueprint(Translation transform) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position pos = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));
    pos = transform.translate(pos);

    entityNBT.setTag("Pos",
        this.newDoubleNBTList(pos.x, pos.y, pos.z));
  }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  @Override
  public void translateToBlueprint(Translation transform) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position pos = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));
    pos = transform.translate(pos);

    entityNBT.setTag("Pos",
        this.newDoubleNBTList(pos.x, pos.y, pos.z));
  }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  }

  @Override
  public void translateToWorld(Translation transform) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position pos = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));
    pos = transform.translate(pos);

    entityNBT.setTag("Pos",
        this.newDoubleNBTList(pos.x, pos.y, pos.z));
View Full Code Here

Examples of net.minecraft.nbt.NBTTagList.func_150309_d()

  @Override
  public void translateToWorld(Translation transform) {
    NBTTagList nbttaglist = entityNBT.getTagList("Pos", 6);
    Position pos = new Position(nbttaglist.func_150309_d(0),
        nbttaglist.func_150309_d(1), nbttaglist.func_150309_d(2));
    pos = transform.translate(pos);

    entityNBT.setTag("Pos",
        this.newDoubleNBTList(pos.x, pos.y, pos.z));
  }
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.