public class BossEventConstructors
public BossEvent()Methods
BossEvent fromNbt(NbtCompound)String getName()Returns the name value.boolean isVisible()Returns the visible value.void setName(String)Sets the name value.void setVisible(boolean)Sets the visible value.NbtCompound toNbt()public static BossEvent fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
BossEvent | ||
public String getName()isVisible()
lombokSource
public boolean isVisible()Returns the visible value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field visible
setName(String)
lombokSource
public void setName(String name)public void setVisible(boolean visible)Sets the visible value.
| Parameters | ||
|---|---|---|
visible | boolean | |
Generated by Lombok's @Setter for the field visible
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return BossEvent.