buildBlockFromSchematic
public boolean buildBlockFromSchematic(net.minecraft.world.World world,
BlueprintBuilder.SchematicBuilder builder,
IBlueprintBuilderAgent builderAgent)
This function handles the placement of the block in the world.
The ForgeDirection parameter can be use to determine the orientation of
the blueprint. Blueprints are always saved facing North. This function
will have to rotate the block accordingly.
The builder's inventory is passed in so you can consume the items you
need. Use them as you see fit.
If the function returns false, the block was not placed. You should not
modify any ItemStack in the inventory until you have determined that
everything you require is present.
- Overrides:
buildBlockFromSchematic in class BlockHandler