Package org.spongepowered.api.world
Interface LocatableBlock
-
- All Superinterfaces:
CopyableDataHolder
,DataHolder
,DataHolder.Immutable<LocatableBlock>
,DataSerializable
,Locatable
,SerializableDataHolder
,SerializableDataHolder.Immutable<LocatableBlock>
,ValueContainer
public interface LocatableBlock extends SerializableDataHolder.Immutable<LocatableBlock>, Locatable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LocatableBlock.Builder
-
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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockState
blockState()
Gets 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 Detail
-
builder
static LocatableBlock.Builder 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
-
-