Java 类net.minecraft.server.InventoryLargeChest 实例源码

项目:CraftBukkit    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(InventoryLargeChest largeChest) {
    super(largeChest);
    if (largeChest.left instanceof InventoryLargeChest) {
        left = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.left);
    } else {
        left = new CraftInventory(largeChest.left);
    }
    if (largeChest.right instanceof InventoryLargeChest) {
        right = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.right);
    } else {
        right = new CraftInventory(largeChest.right);
    }
}
项目:Craftbukkit    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(InventoryLargeChest largeChest) {
    super(largeChest);
    if (largeChest.left instanceof InventoryLargeChest) {
        left = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.left);
    } else {
        left = new CraftInventory(largeChest.left);
    }
    if (largeChest.right instanceof InventoryLargeChest) {
        right = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.right);
    } else {
        right = new CraftInventory(largeChest.right);
    }
}
项目:Almura-Server    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(InventoryLargeChest largeChest) {
    super(largeChest);
    if (largeChest.left instanceof InventoryLargeChest) {
        left = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.left);
    } else {
        left = new CraftInventory(largeChest.left);
    }
    if (largeChest.right instanceof InventoryLargeChest) {
        right = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.right);
    } else {
        right = new CraftInventory(largeChest.right);
    }
}
项目:Tweakkit-Server    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(InventoryLargeChest largeChest) {
    super(largeChest);
    if (largeChest.left instanceof InventoryLargeChest) {
        left = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.left);
    } else {
        left = new CraftInventory(largeChest.left);
    }
    if (largeChest.right instanceof InventoryLargeChest) {
        right = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.right);
    } else {
        right = new CraftInventory(largeChest.right);
    }
}
项目:SpigotSource    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(InventoryLargeChest largeChest) {
    super(largeChest);
    if (largeChest.left instanceof InventoryLargeChest) {
        left = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.left);
    } else {
        left = new CraftInventory(largeChest.left);
    }
    if (largeChest.right instanceof InventoryLargeChest) {
        right = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.right);
    } else {
        right = new CraftInventory(largeChest.right);
    }
}
项目:Craft-city    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(InventoryLargeChest largeChest) {
    super(largeChest);
    if (largeChest.left instanceof InventoryLargeChest) {
        left = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.left);
    } else {
        left = new CraftInventory(largeChest.left);
    }
    if (largeChest.right instanceof InventoryLargeChest) {
        right = new CraftInventoryDoubleChest((InventoryLargeChest) largeChest.right);
    } else {
        right = new CraftInventory(largeChest.right);
    }
}
项目:CraftBukkit    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(CraftInventory left, CraftInventory right) {
    super(new InventoryLargeChest("Large chest", left.getInventory(), right.getInventory()));
    this.left = left;
    this.right = right;
}
项目:Craftbukkit    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(CraftInventory left, CraftInventory right) {
    super(new InventoryLargeChest("Large chest", (ITileInventory) left.getInventory(), (ITileInventory) right.getInventory()));
    this.left = left;
    this.right = right;
}
项目:Almura-Server    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(CraftInventory left, CraftInventory right) {
    super(new InventoryLargeChest("Large chest", left.getInventory(), right.getInventory()));
    this.left = left;
    this.right = right;
}
项目:Tweakkit-Server    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(CraftInventory left, CraftInventory right) {
    super(new InventoryLargeChest("Large chest", left.getInventory(), right.getInventory()));
    this.left = left;
    this.right = right;
}
项目:SpigotSource    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(CraftInventory left, CraftInventory right) {
    super(new InventoryLargeChest("Large chest", (ITileInventory) left.getInventory(), (ITileInventory) right.getInventory()));
    this.left = left;
    this.right = right;
}
项目:Craft-city    文件:CraftInventoryDoubleChest.java   
public CraftInventoryDoubleChest(CraftInventory left, CraftInventory right) {
    super(new InventoryLargeChest("Large chest", left.getInventory(), right.getInventory()));
    this.left = left;
    this.right = right;
}