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