@Override public Block setBlock(Vector3i pos, Block type) { return core.setBlock(pos, type); }
@Override public Block setBlock(Vector3i pos, Block type) { return base.setBlock(pos, type); }
/** * Places all given blocks of specific types at their corresponding positions * </p> * Chunks are * * @param blocks A mapping from world position to change to the type of block to set * @return A mapping from world position to previous block type. * The value of a map entry is Null if the change failed (because the necessary chunk was not loaded) */ default Map<Vector3i, Block> setBlocks(Map<Vector3i, Block> blocks) { Map<Vector3i, Block> resultMap = Maps.newHashMap(); for (Map.Entry<Vector3i, Block> entry: blocks.entrySet()) { Block oldBlock = setBlock(entry.getKey(), entry.getValue()); resultMap.put(entry.getKey(), oldBlock); } return resultMap; }