Uses of Class
me.hsgamer.hscore.minecraft.gui.object.InventoryPosition
Package
Description
Contains the base classes for masks in Minecraft's GUI
Contains the objects for the GUI
-
Uses of InventoryPosition in me.hsgamer.hscore.minecraft.gui.mask
Modifier and TypeMethodDescriptionstatic @NotNull Stream<InventoryPosition>
MaskUtils.generateAreaPositions
(@NotNull InventoryPosition position1, @NotNull InventoryPosition position2) Generate the stream of positions in the area between two positionsstatic @NotNull Stream<InventoryPosition>
MaskUtils.generateOutlineSlots
(@NotNull InventoryPosition position1, @NotNull InventoryPosition position2) Get the stream of positions drawing the outline of the area between 2 positionsModifier and TypeMethodDescriptionstatic @NotNull Stream<InventoryPosition>
MaskUtils.generateAreaPositions
(@NotNull InventoryPosition position1, @NotNull InventoryPosition position2) Generate the stream of positions in the area between two positionsstatic @NotNull IntStream
MaskUtils.generateAreaSlots
(@NotNull InventoryPosition position1, @NotNull InventoryPosition position2, @NotNull InventorySize size) Generate the stream of slots in the area between two positionsstatic @NotNull Stream<InventoryPosition>
MaskUtils.generateOutlineSlots
(@NotNull InventoryPosition position1, @NotNull InventoryPosition position2) Get the stream of positions drawing the outline of the area between 2 positionsstatic @NotNull IntStream
MaskUtils.generateOutlineSlots
(@NotNull InventoryPosition position1, @NotNull InventoryPosition position2, @NotNull InventorySize size) Get the stream of slots drawing the outline of the area between 2 positions -
Uses of InventoryPosition in me.hsgamer.hscore.minecraft.gui.object
Modifier and TypeMethodDescriptionstatic InventoryPosition
InventoryPosition.maxPosition
(int x1, int y1, int x2, int y2) Get the max positionstatic InventoryPosition
InventoryPosition.maxPosition
(InventoryPosition position1, InventoryPosition position2) Get the max positionstatic InventoryPosition
InventoryPosition.minPosition
(int x1, int y1, int x2, int y2) Get the min positionstatic InventoryPosition
InventoryPosition.minPosition
(InventoryPosition position1, InventoryPosition position2) Get the min positionstatic InventoryPosition
InventoryPosition.of
(int x, int y) Creates a new positiondefault InventoryPosition
InventorySize.toPosition
(int slot) Convert the slot to the positionModifier and TypeMethodDescriptionstatic InventoryPosition
InventoryPosition.maxPosition
(InventoryPosition position1, InventoryPosition position2) Get the max positionstatic InventoryPosition
InventoryPosition.minPosition
(InventoryPosition position1, InventoryPosition position2) Get the min positionModifier and TypeMethodDescriptiondefault IntStream
InventorySize.toSlots
(Stream<InventoryPosition> positions) Convert the position to the slot