public class ImmutableSpongeBreakableData extends AbstractImmutableSingleSetData<org.spongepowered.api.block.BlockType,org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData,org.spongepowered.api.data.manipulator.mutable.item.BreakableData> implements org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData
usedKey, value
Constructor and Description |
---|
ImmutableSpongeBreakableData() |
ImmutableSpongeBreakableData(Set<org.spongepowered.api.block.BlockType> breakable) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.value.immutable.ImmutableSetValue<org.spongepowered.api.block.BlockType> |
breakable() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData o) |
org.spongepowered.api.data.DataContainer |
toContainer() |
asMutable, getValueGetter
get, getKeys, getValue, registerGetters, supports
copy, equals, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongeBreakableData()
public ImmutableSpongeBreakableData(Set<org.spongepowered.api.block.BlockType> breakable)
public int compareTo(org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData>
compareTo
in class AbstractImmutableSingleSetData<org.spongepowered.api.block.BlockType,org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData,org.spongepowered.api.data.manipulator.mutable.item.BreakableData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
toContainer
in class AbstractImmutableSingleData<Set<org.spongepowered.api.block.BlockType>,org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData,org.spongepowered.api.data.manipulator.mutable.item.BreakableData>
public org.spongepowered.api.data.value.immutable.ImmutableSetValue<org.spongepowered.api.block.BlockType> breakable()
breakable
in interface org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData