Class CutsceneEditorFeature
java.lang.Object
de.luckymcdev.foundryengine.client.editor.feature.DragEditorFeature
de.luckymcdev.foundryengine.client.editor.feature.CutsceneEditorFeature
- All Implemented Interfaces:
EditorFeature
Client-side in-world cutscene editor input handler.
Owned by Client (instance, not static state).
-
Field Summary
Fields inherited from class DragEditorFeature
storedDistance, useTicks, wasUsing -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNodeAtEnd(Cutscene cutscene) voidaddNodeAtStart(Cutscene cutscene) protected voidprotected voidprotected voidprotected voidonDragTick(net.minecraft.client.Minecraft mc) booleanonScroll(double vertical) booleanremoveFirstNode(Cutscene cutscene) booleanremoveLastNode(Cutscene cutscene) voidrender()protected voidreset()net.minecraft.nbt.CompoundTagtoNbt()Methods inherited from class DragEditorFeature
clientTick, getScrollSensitivity, onDeactivated
-
Constructor Details
-
CutsceneEditorFeature
public CutsceneEditorFeature()
-
-
Method Details
-
onDragStart
protected void onDragStart()- Specified by:
onDragStartin classDragEditorFeature
-
onDragTick
protected void onDragTick(net.minecraft.client.Minecraft mc) - Specified by:
onDragTickin classDragEditorFeature
-
onDragEnd
protected void onDragEnd()- Specified by:
onDragEndin classDragEditorFeature
-
render
public void render() -
onDistanceChanged
protected void onDistanceChanged()- Specified by:
onDistanceChangedin classDragEditorFeature
-
onScroll
public boolean onScroll(double vertical) - Specified by:
onScrollin interfaceEditorFeature- Overrides:
onScrollin classDragEditorFeature
-
reset
protected void reset()- Overrides:
resetin classDragEditorFeature
-
addNodeAtEnd
-
addNodeAtStart
-
removeLastNode
-
removeFirstNode
-
toNbt
public net.minecraft.nbt.CompoundTag toNbt()
-