InventoryHolder
public class DoubleChest extends Object implements InventoryHolder
Constructor | Description |
---|---|
DoubleChest(DoubleChestInventory chest) |
Modifier and Type | Method | Description |
---|---|---|
Inventory |
getInventory() |
Get the object's inventory.
|
InventoryHolder |
getLeftSide() |
|
Location |
getLocation() |
|
InventoryHolder |
getRightSide() |
|
World |
getWorld() |
|
double |
getX() |
|
double |
getY() |
|
double |
getZ() |
public DoubleChest(@NotNull DoubleChestInventory chest)
@NotNull public Inventory getInventory()
InventoryHolder
getInventory
in interface InventoryHolder
@Nullable public InventoryHolder getLeftSide()
@Nullable public InventoryHolder getRightSide()
@NotNull public Location getLocation()
@Nullable public World getWorld()
public double getX()
public double getY()
public double getZ()
Copyright © 2020. All rights reserved.