InventoryHolder
public class DoubleChest extends Object implements InventoryHolder
Constructor | Description |
---|---|
DoubleChest(@NotNull DoubleChestInventory chest) |
Modifier and Type | Method | 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)
@NotNull public @NotNull Location getLocation()
@Nullable public @Nullable World getWorld()
public double getX()
public double getY()
public double getZ()
Copyright © 2020. All rights reserved.