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() |
|
@NotNull Location |
getLocation() |
|
@Nullable InventoryHolder |
getRightSide() |
|
@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()
@NotNull public @NotNull Location getLocation()
@Nullable public @Nullable World getWorld()
public double getX()
public double getY()
public double getZ()
Copyright © 2020. All rights reserved.