Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,36 @@ public StructurePlacer(final IStructureHandler handler, final AbstractBlueprintI
* @param includeEntities if entities should be included.
* @return the result.
*/
public StructurePhasePlacementResult executeStructureStep(
final Level world,
final ChangeStorage storage,
final BlockPos inputPos,
final Operation operation,
final Supplier<AbstractBlueprintIterator.Result> iterateFunction,
final boolean includeEntities)
{
return executeStructureStep(world, storage, inputPos, operation, iterateFunction, includeEntities, this.iterator);
}

/**
* Execute structure placement.
* @param world the world.
* @param storage the change storage.
* @param inputPos the pos to start from.
* @param operation the operation to execute.
* @param iterateFunction the function to iterate.
* @param includeEntities if entities should be included.
* @param iterator with a specific iterator type.
* @return the result.
*/
public StructurePhasePlacementResult executeStructureStep(
final Level world,
final ChangeStorage storage,
final BlockPos inputPos,
final Operation operation,
final Supplier<AbstractBlueprintIterator.Result> iterateFunction,
final boolean includeEntities)
final boolean includeEntities,
final AbstractBlueprintIterator iterator)
{
final List<ItemStack> requiredItems = new ArrayList<>();

Expand Down
Loading