Interface MutableGameVolume
-
- All Known Subinterfaces:
ClientWorld
,GenerationRegion
,GenerationVolume.Mutable
,ServerWorld
,World<W,L>
,WorldLike<P>
public interface MutableGameVolume
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
destroyBlock(Vector3i pos, boolean performDrops)
boolean
removeBlock(int x, int y, int z)
default boolean
removeBlock(Vector3i pos)
boolean
setBlock(int x, int y, int z, BlockState state, BlockChangeFlag flag)
default boolean
setBlock(Vector3i position, BlockState state, BlockChangeFlag flag)
boolean
spawnEntity(Entity entity)
-
-
-
Method Detail
-
setBlock
default boolean setBlock(Vector3i position, BlockState state, BlockChangeFlag flag)
-
setBlock
boolean setBlock(int x, int y, int z, BlockState state, BlockChangeFlag flag)
-
spawnEntity
boolean spawnEntity(Entity entity)
-
removeBlock
default boolean removeBlock(Vector3i pos)
-
removeBlock
boolean removeBlock(int x, int y, int z)
-
destroyBlock
boolean destroyBlock(Vector3i pos, boolean performDrops)
-
-