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, net.createmod.catnip.render.SuperRenderTypeBuffer buffer) voidrenderOverlay(net.minecraft.client.gui.Gui gui, net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int width, int height) voidrenderTool(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera) 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
-
-
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
public void renderTool(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera) - Specified by:
renderToolin interfaceISchematicTool
-
renderOverlay
public void renderOverlay(net.minecraft.client.gui.Gui gui, net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int width, int height) - Specified by:
renderOverlayin interfaceISchematicTool
-
renderOnSchematic
public void renderOnSchematic(com.mojang.blaze3d.vertex.PoseStack ms, net.createmod.catnip.render.SuperRenderTypeBuffer buffer) - Specified by:
renderOnSchematicin interfaceISchematicTool
-