public class ImmutableSpongePlaceableData extends AbstractImmutableSingleSetData<org.spongepowered.api.block.BlockType,org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData,org.spongepowered.api.data.manipulator.mutable.item.PlaceableData> implements org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData
usedKey, value
Constructor and Description |
---|
ImmutableSpongePlaceableData() |
ImmutableSpongePlaceableData(Set<org.spongepowered.api.block.BlockType> placeable) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData o) |
org.spongepowered.api.data.value.immutable.ImmutableSetValue<org.spongepowered.api.block.BlockType> |
placeable() |
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 ImmutableSpongePlaceableData()
public ImmutableSpongePlaceableData(Set<org.spongepowered.api.block.BlockType> placeable)
public int compareTo(org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData>
compareTo
in class AbstractImmutableSingleSetData<org.spongepowered.api.block.BlockType,org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData,org.spongepowered.api.data.manipulator.mutable.item.PlaceableData>
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.ImmutablePlaceableData,org.spongepowered.api.data.manipulator.mutable.item.PlaceableData>
public org.spongepowered.api.data.value.immutable.ImmutableSetValue<org.spongepowered.api.block.BlockType> placeable()
placeable
in interface org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData