public class BlockUtils
extends java.lang.Object
Lux-et-Umbra-Redux is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: http://creativecommons.org/licenses/by-nc-sa/4.0/
Constructor and Description |
---|
BlockUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<net.minecraft.util.math.BlockPos> |
getBlockList(int size,
net.minecraft.util.Direction facing,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.World world)
Returns a collection of
BlockPos that are not Air |
public static java.util.List<net.minecraft.util.math.BlockPos> getBlockList(int size, net.minecraft.util.Direction facing, net.minecraft.util.math.BlockPos pos, net.minecraft.world.World world)
BlockPos
that are not Airsize
- the amount of blocks from the center blockfacing
- the block the player is looking at RayTraceResult
world
- World
ArrayList
of BlockPos