java.lang.Object
net.rodofire.easierworldcreator.placer.blocks.util.BlockStateUtil

public class BlockStateUtil extends Object
Util class related to BlockStates
  • 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 blockStates
      blockStateMap - the map that will be modified
      world - the world where the blockStates will be collected
    • getCompoundBlockStatesFromWorld

      public static CompoundOrderedBlockListComparator getCompoundBlockStatesFromWorld(List<Set<net.minecraft.util.math.BlockPos>> posList, net.minecraft.world.StructureWorldAccess world)
    • getBlockStatesFromWorld

      public static DefaultOrderedBlockListComparator getBlockStatesFromWorld(List<Set<net.minecraft.util.math.BlockPos>> posList, net.minecraft.world.StructureWorldAccess world)