Class WorldStateCollector
java.lang.Object
net.rodofire.easierworldcreator.blockdata.WorldStateCollector
class to collect blockState from a world based on a
BlockPos list-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends it.unimi.dsi.fastutil.longs.AbstractLongCollection>
WorldStateCollectorcollect(net.minecraft.server.world.ServerWorld world, T posList) getData(long pos) getData(net.minecraft.util.math.BlockPos decodedPos) net.minecraft.block.BlockStategetState(long pos) net.minecraft.block.BlockStategetState(net.minecraft.util.math.BlockPos decodedPos)
-
Constructor Details
-
WorldStateCollector
public WorldStateCollector() -
WorldStateCollector
public WorldStateCollector(int capacity)
-
-
Method Details
-
collect
public <T extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> WorldStateCollector collect(net.minecraft.server.world.ServerWorld world, T posList) -
collect
public <T extends Collection<net.minecraft.util.math.BlockPos>> WorldStateCollector collect(net.minecraft.server.world.ServerWorld world, T posList) -
getState
public net.minecraft.block.BlockState getState(long pos) -
getData
-
getState
public net.minecraft.block.BlockState getState(net.minecraft.util.math.BlockPos decodedPos) -
getData
-