public interface BreakableData extends DataManipulator<BreakableData,ImmutableBreakableData>
BlockType
s that can
be broken with this item. This data usually refers to blocks that can be
broken only when a human is in adventure mode.
Normally, when players are in survival gamemode, they can edit blocks
without needing to know the item is able to break said block. However, when
the player is in a gamemode like adventure, they loose the ability to edit
blocks unless the item has this type of BreakableData
to note
which BlockType
s can be broken with that item.
Modifier and Type | Method and Description |
---|---|
SetValue<BlockType> |
breakable()
|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer