Interface ISpecialCreativeHandlerAnchorBlock


public interface ISpecialCreativeHandlerAnchorBlock
Special creative placement handler anchors.
  • Method Summary

    Modifier and Type
    Method
    Description
    getStructureHandler(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, Blueprint blueprint, RotationMirror rotMir, boolean fancyPlacement)
    Get the special structure handler.
    boolean
    setup(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, Blueprint blueprint, RotationMirror rotMir, boolean fancyPlacement, String pack, String path)
    Pre-setup before running the placement.
  • Method Details

    • getStructureHandler

      AbstractStructureHandler getStructureHandler(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, Blueprint blueprint, RotationMirror rotMir, boolean fancyPlacement)
      Get the special structure handler.
    • setup

      boolean setup(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, Blueprint blueprint, RotationMirror rotMir, boolean fancyPlacement, String pack, String path)
      Pre-setup before running the placement.
      Parameters:
      player - the player attempting the placement.
      world - the world to run it for.
      pos - the pos to run it at.
      blueprint - the matching blueprint.
      rotMir - the settings (mirror and rotation).
      fancyPlacement - if constructed or creative
      pack - the pack name.
      path - the path within the pack.
      Returns:
      true if successful.