SDF, tags registry

This commit is contained in:
paulevsGitch 2020-09-29 00:07:47 +03:00
parent 9ccd0d987b
commit cf8955ea4b
14 changed files with 214 additions and 3 deletions

View file

@ -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;