Class SchematicToolBase

java.lang.Object
com.simibubi.create.content.schematics.client.tools.SchematicToolBase
All Implemented Interfaces:
ISchematicTool
Direct Known Subclasses:
PlacementToolBase, PlaceTool

public abstract class SchematicToolBase extends Object implements ISchematicTool
  • Field Details

    • schematicHandler

      protected SchematicHandler schematicHandler
    • selectedPos

      protected net.minecraft.core.BlockPos selectedPos
    • chasingSelectedPos

      protected net.minecraft.world.phys.Vec3 chasingSelectedPos
    • lastChasingSelectedPos

      protected net.minecraft.world.phys.Vec3 lastChasingSelectedPos
    • selectIgnoreBlocks

      protected boolean selectIgnoreBlocks
    • selectionRange

      protected int selectionRange
    • schematicSelected

      protected boolean schematicSelected
    • renderSelectedFace

      protected boolean renderSelectedFace
    • selectedFace

      protected net.minecraft.core.Direction selectedFace
  • Constructor Details

    • SchematicToolBase

      public SchematicToolBase()
  • Method Details

    • init

      public void init()
      Specified by:
      init in interface ISchematicTool
    • updateSelection

      public void updateSelection()
      Specified by:
      updateSelection in interface ISchematicTool
    • updateTargetPos

      public void updateTargetPos()
    • renderTool

      public void renderTool(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera)
      Specified by:
      renderTool in interface ISchematicTool
    • renderOverlay

      public void renderOverlay(net.minecraft.client.gui.Gui gui, net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int width, int height)
      Specified by:
      renderOverlay in interface ISchematicTool
    • renderOnSchematic

      public void renderOnSchematic(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer)
      Specified by:
      renderOnSchematic in interface ISchematicTool