Class PlacementToolBase
java.lang.Object
com.simibubi.create.content.schematics.client.tools.SchematicToolBase
com.simibubi.create.content.schematics.client.tools.PlacementToolBase
- All Implemented Interfaces:
ISchematicTool
- Direct Known Subclasses:
DeployTool,FlipTool,MoveTool,MoveVerticalTool,RotateTool
-
Field Summary
Fields inherited from class com.simibubi.create.content.schematics.client.tools.SchematicToolBase
chasingSelectedPos, lastChasingSelectedPos, mirrors, renderSelectedFace, rotations, schematicHandler, schematicSelected, selectedFace, selectedPos, selectIgnoreBlocks, selectionRange -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleMouseWheel(double delta) booleanvoidinit()voidrenderOverlay(net.minecraftforge.client.gui.ForgeIngameGui gui, com.mojang.blaze3d.vertex.PoseStack poseStack, float partialTicks, int width, int height) voidrenderTool(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer) voidMethods inherited from class com.simibubi.create.content.schematics.client.tools.SchematicToolBase
renderOnSchematic, updateTargetPos
-
Constructor Details
-
PlacementToolBase
public PlacementToolBase()
-
-
Method Details
-
init
public void init()- Specified by:
initin interfaceISchematicTool- Overrides:
initin classSchematicToolBase
-
updateSelection
public void updateSelection()- Specified by:
updateSelectionin interfaceISchematicTool- Overrides:
updateSelectionin classSchematicToolBase
-
renderTool
- Specified by:
renderToolin interfaceISchematicTool- Overrides:
renderToolin classSchematicToolBase
-
renderOverlay
public void renderOverlay(net.minecraftforge.client.gui.ForgeIngameGui gui, com.mojang.blaze3d.vertex.PoseStack poseStack, float partialTicks, int width, int height) - Specified by:
renderOverlayin interfaceISchematicTool- Overrides:
renderOverlayin classSchematicToolBase
-
handleMouseWheel
public boolean handleMouseWheel(double delta) -
handleRightClick
public boolean handleRightClick()
-