SDF, tags registry
This commit is contained in:
parent
9ccd0d987b
commit
cf8955ea4b
14 changed files with 214 additions and 3 deletions
|
@ -42,6 +42,10 @@ public class BlocksHelper {
|
|||
public static void setWithoutUpdate(WorldAccess world, BlockPos pos, BlockState state) {
|
||||
world.setBlockState(pos, state, SET_SILENT);
|
||||
}
|
||||
|
||||
public static void setWithoutUpdate(WorldAccess world, BlockPos pos, Block block) {
|
||||
world.setBlockState(pos, block.getDefaultState(), SET_SILENT);
|
||||
}
|
||||
|
||||
public static int upRay(WorldAccess world, BlockPos pos, int maxDist) {
|
||||
int length = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue