Package | Description |
---|---|
me.leoko.advancedgui.utils | |
me.leoko.advancedgui.utils.components |
Modifier and Type | Field and Description |
---|---|
static GuiPoint |
GuiPoint.INVALID
This GuiPoint is used to indicate that the cursor is outside the GUI.
|
static GuiPoint |
GuiPoint.INVALID
This GuiPoint is used to indicate that the cursor is outside the GUI.
|
Modifier and Type | Field and Description |
---|---|
protected Map<org.bukkit.entity.Player,GuiPoint> |
GuiInstance.lastCursorPosition |
protected Map<org.bukkit.entity.Player,GuiPoint> |
GuiInstance.lastCursorPosition |
Modifier and Type | Method and Description |
---|---|
GuiPoint |
GuiLocation.computeIntersection(GuiSize guiSize,
org.bukkit.Location cameraLocation) |
GuiPoint |
GuiLocation.computeIntersection(GuiSize guiSize,
org.bukkit.Location cameraLocation) |
static GuiPoint |
GuiPoint.from3DPosition(org.bukkit.util.Vector position,
Direction direction) |
static GuiPoint |
GuiPoint.from3DPosition(org.bukkit.util.Vector position,
Direction direction) |
abstract GuiPoint |
GuiInstance.getCursor(org.bukkit.entity.Player player)
Gets the cursor of a player.
|
GuiPoint |
GuiItemInstance.getCursor(org.bukkit.entity.Player player) |
GuiPoint |
GuiWallInstance.getCursor(org.bukkit.entity.Player player) |
GuiPoint |
GuiWallInstance.getCursor(org.bukkit.entity.Player player) |
GuiPoint |
GuiItemInstance.getCursor(org.bukkit.entity.Player player) |
abstract GuiPoint |
GuiInstance.getCursor(org.bukkit.entity.Player player)
Gets the cursor of a player.
|
GuiPoint |
ConfigOptions.getCursorOffset() |
GuiPoint |
ConfigOptions.getCursorOffset() |
Modifier and Type | Method and Description |
---|---|
void |
Interaction.click(org.bukkit.entity.Player player,
GuiPoint cursor)
Performs a click for the player at the given cursor position.
|
void |
Interaction.click(org.bukkit.entity.Player player,
GuiPoint cursor)
Performs a click for the player at the given cursor position.
|
boolean |
GuiSize.isInBounds(GuiPoint point) |
boolean |
GuiSize.isInBounds(GuiPoint point) |
byte[][] |
Layout.render(org.bukkit.entity.Player player,
Interaction interaction,
GuiPoint cursor,
String state)
Render this layout with the given parameters.
|
byte[][] |
Layout.render(org.bukkit.entity.Player player,
Interaction interaction,
GuiPoint cursor,
String state)
Render this layout with the given parameters.
|
protected void |
GuiInstance.sendRenderData(org.bukkit.entity.Player player,
byte[][] renderData,
byte[][] cachedRenderData,
GuiPoint cursorPosition,
boolean cursorPositionChanged) |
protected void |
GuiInstance.sendRenderData(org.bukkit.entity.Player player,
byte[][] renderData,
byte[][] cachedRenderData,
GuiPoint cursorPosition,
boolean cursorPositionChanged) |
Modifier and Type | Method and Description |
---|---|
void |
AdaptiveComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
CheckComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
ClickAnimationComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
abstract void |
Component.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor)
Render the component on the provided graphic context.
|
void |
CustomComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
DummyComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
GifComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
GroupComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
HoverComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
HoverDetectorComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
ImageComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
ListComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
PlaceholderTextComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
RectComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
RemoteImageComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
TextComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
TextInputComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
TextInputComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
TextComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
RemoteImageComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
RectComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
PlaceholderTextComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
ListComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
ImageComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
HoverDetectorComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
HoverComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
GroupComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
GifComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
DummyComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
CustomComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
abstract void |
Component.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor)
Render the component on the provided graphic context.
|
void |
ClickAnimationComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
CheckComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
AdaptiveComponent.apply(Graphics graphic,
org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
AdaptiveComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
CheckComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
ClickAnimationComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
abstract String |
Component.getState(org.bukkit.entity.Player player,
GuiPoint cursor)
Gets the current state of the component for the given parameters.
|
String |
CustomComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
DummyComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
GifComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
GroupComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
HoverComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
HoverDetectorComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
ImageComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
ListComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
PlaceholderTextComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
RectComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
RemoteImageComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
TextComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
TextInputComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
TextInputComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
TextComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
RemoteImageComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
RectComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
PlaceholderTextComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
ListComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
ImageComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
HoverDetectorComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
HoverComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
GroupComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
GifComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
DummyComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
CustomComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
abstract String |
Component.getState(org.bukkit.entity.Player player,
GuiPoint cursor)
Gets the current state of the component for the given parameters.
|
String |
ClickAnimationComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
CheckComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
String |
AdaptiveComponent.getState(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
AdaptiveComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
CheckComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
ClickAnimationComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
abstract boolean |
Component.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor)
Checks whether the cursor is in bounds of the component.
|
boolean |
CustomComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
DummyComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
GifComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
GroupComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
HoverComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
HoverDetectorComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
ListComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
PlaceholderTextComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
RectangularComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
RemoteImageComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
TextComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
TextInputComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
TextInputComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
TextComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
RemoteImageComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
RectangularComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
PlaceholderTextComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
ListComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
HoverDetectorComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
HoverComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
GroupComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
GifComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
DummyComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
CustomComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
abstract boolean |
Component.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor)
Checks whether the cursor is in bounds of the component.
|
boolean |
ClickAnimationComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
CheckComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
boolean |
AdaptiveComponent.isInBounds(org.bukkit.entity.Player player,
GuiPoint cursor) |
void |
AdaptiveComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
CheckComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
ClickAnimationComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
Component.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary)
Called when a player clicks on the component.
|
void |
CustomComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
DummyComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
GroupComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
HoverComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
HoverDetectorComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
ListComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
ListComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
HoverDetectorComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
HoverComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
GroupComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
DummyComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
CustomComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
Component.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary)
Called when a player clicks on the component.
|
void |
ClickAnimationComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
CheckComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
void |
AdaptiveComponent.onClick(org.bukkit.entity.Player player,
GuiPoint cursor,
boolean isPrimary) |
Copyright © 2021. All rights reserved.