public interface BrewingStand extends BlockData
getMaximumBottles()
-1 bottles.Modifier and Type | Method | Description |
---|---|---|
Set<Integer> |
getBottles() |
Get the indexes of all the bottles present on this block.
|
int |
getMaximumBottles() |
Get the maximum amount of bottles present on this stand.
|
boolean |
hasBottle(int bottle) |
Checks if the stand has the following bottle
|
void |
setBottle(int bottle,
boolean has) |
Set whether the stand has this bottle present.
|
clone, getAsString, getAsString, getMaterial, matches, merge
boolean hasBottle(int bottle)
bottle
- to checkvoid setBottle(int bottle, boolean has)
bottle
- to sethas
- bottle@NotNull Set<Integer> getBottles()
int getMaximumBottles()
Copyright © 2020. All rights reserved.