Package org.spongepowered.api.world
Interface LocatableBlock
- All Superinterfaces:
CopyableDataHolder
,DataHolder
,DataHolder.Immutable<LocatableBlock>
,DataSerializable
,Locatable
,SerializableDataHolder
,SerializableDataHolder.Immutable<LocatableBlock>
,ValueContainer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolder
DataHolder.Immutable<I extends DataHolder.Immutable<I>>, DataHolder.Mutable
Nested classes/interfaces inherited from interface org.spongepowered.api.data.SerializableDataHolder
SerializableDataHolder.Immutable<I extends SerializableDataHolder.Immutable<I>>, SerializableDataHolder.Mutable
-
Method Summary
Modifier and TypeMethodDescriptionGets theBlockState
for this locatable block.static LocatableBlock.Builder
builder()
Creates a newLocatableBlock.Builder
for creating newLocatableBlock
s.Methods inherited from interface org.spongepowered.api.data.DataHolder.Immutable
mergeWith, mergeWith, transform, transform, with, with, with, without, without, without
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
Methods inherited from interface org.spongepowered.api.world.Locatable
blockPosition, location, serverLocation, world
Methods inherited from interface org.spongepowered.api.data.SerializableDataHolder
validateRawData
Methods inherited from interface org.spongepowered.api.data.SerializableDataHolder.Immutable
copy, withRawData
-
Method Details
-
builder
Creates a newLocatableBlock.Builder
for creating newLocatableBlock
s.- Returns:
- A new builder
-
blockState
BlockState blockState()Gets theBlockState
for this locatable block.- Returns:
- The block state
-