Interface MovableElement
- All Known Implementing Classes:
AbstractDraggableWidget, AbstractMultiPanelWidget, AbstractScrollableWidget
public interface MovableElement
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmoveTo(int x, int y) default booleanmoveTo(@NotNull net.minecraft.client.gui.navigation.ScreenPosition position) default booleanstep(net.minecraft.client.gui.navigation.ScreenPosition position, net.minecraft.client.gui.navigation.ScreenDirection direction)
-
Method Details
-
moveTo
boolean moveTo(int x, int y)
-