Interface MovableElement

All Known Implementing Classes:
AbstractDraggableWidget, AbstractMultiPanelWidget, AbstractScrollableWidget

public interface MovableElement
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    moveTo(int x, int y)
     
    default boolean
    moveTo(@NotNull net.minecraft.client.gui.navigation.ScreenPosition position)
     
    default boolean
    step(net.minecraft.client.gui.navigation.ScreenPosition position, net.minecraft.client.gui.navigation.ScreenDirection direction)
     
  • Method Details

    • moveTo

      boolean moveTo(int x, int y)
    • step

      default boolean step(net.minecraft.client.gui.navigation.ScreenPosition position, net.minecraft.client.gui.navigation.ScreenDirection direction)
    • moveTo

      default boolean moveTo(@NotNull @NotNull net.minecraft.client.gui.navigation.ScreenPosition position)