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 booleandestroyBlock(Vector3i pos, boolean performDrops)booleanremoveBlock(int x, int y, int z)default booleanremoveBlock(Vector3i pos)booleansetBlock(int x, int y, int z, BlockState state, BlockChangeFlag flag)default booleansetBlock(Vector3i position, BlockState state, BlockChangeFlag flag)booleanspawnEntity(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)
-
-