Class BlockStateUtil
java.lang.Object
net.rodofire.easierworldcreator.placer.blocks.util.BlockStateUtil
Util class related to BlockStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetBlockStatesFromWorld(List<Set<net.minecraft.util.math.BlockPos>> posList, Map<net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState> blockStateMap, net.minecraft.world.StructureWorldAccess world) method to get all blockStates from the world from a list of BlockPos
-
Constructor Details
-
BlockStateUtil
public BlockStateUtil()
-
-
Method Details
-
getBlockStatesFromWorld
public static void getBlockStatesFromWorld(List<Set<net.minecraft.util.math.BlockPos>> posList, Map<net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState> blockStateMap, net.minecraft.world.StructureWorldAccess world) method to get all blockStates from the world from a list of BlockPos- Parameters:
posList- the list of blockPos that will be used to get the blockStatesblockStateMap- the map that will be modifiedworld- the world where the blockStates will be collected
-