Class DragEditorFeature

java.lang.Object
de.luckymcdev.foundryengine.client.editor.feature.DragEditorFeature
All Implemented Interfaces:
EditorFeature
Direct Known Subclasses:
AreaEditorFeature, CutsceneEditorFeature

public abstract class DragEditorFeature extends Object implements EditorFeature
  • Field Details

    • wasUsing

      protected boolean wasUsing
    • useTicks

      protected int useTicks
    • storedDistance

      protected double storedDistance
  • Constructor Details

    • DragEditorFeature

      public DragEditorFeature()
  • Method Details

    • getScrollSensitivity

      protected double getScrollSensitivity()
    • clientTick

      public void clientTick()
      Specified by:
      clientTick in interface EditorFeature
    • onScroll

      public boolean onScroll(double vertical)
      Specified by:
      onScroll in interface EditorFeature
    • onDeactivated

      public void onDeactivated()
      Specified by:
      onDeactivated in interface EditorFeature
    • reset

      protected void reset()
    • onDragStart

      protected abstract void onDragStart()
    • onDragTick

      protected abstract void onDragTick(net.minecraft.client.Minecraft mc)
    • onDragEnd

      protected abstract void onDragEnd()
    • onDistanceChanged

      protected abstract void onDistanceChanged()