mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-06 15:52:03 +00:00
Update World.java
This commit is contained in:
@@ -39,6 +39,14 @@ public interface World {
|
||||
this.setBlockAt(x, y, z, blockState.customBlockState(), flags);
|
||||
}
|
||||
|
||||
default void setBlockAt(BlockPos pos, BlockStateWrapper blockState, int flags) {
|
||||
this.setBlockAt(pos.x(), pos.y(), pos.z(), blockState, flags);
|
||||
}
|
||||
|
||||
default void setBlockAt(BlockPos pos, ImmutableBlockState blockState, int flags) {
|
||||
this.setBlockAt(pos.x(), pos.y(), pos.z(), blockState, flags);
|
||||
}
|
||||
|
||||
String name();
|
||||
|
||||
Path directory();
|
||||
|
||||
Reference in New Issue
Block a user