Class SchematicToolBase
java.lang.Object
com.simibubi.create.content.schematics.client.tools.SchematicToolBase
- All Implemented Interfaces:
ISchematicTool
- Direct Known Subclasses:
PlacementToolBase,PlaceTool
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.phys.Vec3protected net.minecraft.world.phys.Vec3protected booleanprotected SchematicHandlerprotected booleanprotected net.minecraft.core.Directionprotected net.minecraft.core.BlockPosprotected booleanprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()voidrenderOnSchematic(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer) 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) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.content.schematics.client.tools.ISchematicTool
handleMouseWheel, handleRightClick
-
Field Details
-
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 -
mirrors
-
rotations
-
-
Constructor Details
-
SchematicToolBase
public SchematicToolBase()
-
-
Method Details
-
init
public void init()- Specified by:
initin interfaceISchematicTool
-
updateSelection
public void updateSelection()- Specified by:
updateSelectionin interfaceISchematicTool
-
updateTargetPos
public void updateTargetPos() -
renderTool
- Specified by:
renderToolin interfaceISchematicTool
-
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
-
renderOnSchematic
- Specified by:
renderOnSchematicin interfaceISchematicTool
-