public class SpongeBreakableData extends AbstractSingleSetData<org.spongepowered.api.block.BlockType,org.spongepowered.api.data.manipulator.mutable.item.BreakableData,org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData> implements org.spongepowered.api.data.manipulator.mutable.item.BreakableData
usedKey
Constructor and Description |
---|
SpongeBreakableData() |
SpongeBreakableData(Set<org.spongepowered.api.block.BlockType> breakable) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.value.mutable.SetValue<org.spongepowered.api.block.BlockType> |
breakable() |
int |
compareTo(org.spongepowered.api.data.manipulator.mutable.item.BreakableData o) |
org.spongepowered.api.data.DataContainer |
toContainer() |
asImmutable, copy, getValue, getValueGetter, setValue
equals, get, hashCode, registerGettersAndSetters, supports
fill, from, getKeys, getValue, getValues, registerFieldGetter, registerFieldSetter, registerKeyValue, set, transform
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public SpongeBreakableData()
public SpongeBreakableData(Set<org.spongepowered.api.block.BlockType> breakable)
public int compareTo(org.spongepowered.api.data.manipulator.mutable.item.BreakableData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.mutable.item.BreakableData>
compareTo
in class AbstractSingleData<Set<org.spongepowered.api.block.BlockType>,org.spongepowered.api.data.manipulator.mutable.item.BreakableData,org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
public org.spongepowered.api.data.value.mutable.SetValue<org.spongepowered.api.block.BlockType> breakable()
breakable
in interface org.spongepowered.api.data.manipulator.mutable.item.BreakableData