Class GUIUtils

java.lang.Object
net.slommy.utils.GUIUtils

public class GUIUtils extends Object
Helper utilities to make GUI management and creation slightly easier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.tag.Tag<String>
     
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.item.ItemStack
     
    static final net.minestom.server.item.ItemStack
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minestom.server.item.ItemStack
     
    static net.minestom.server.inventory.Inventory
    fillBorder(net.minestom.server.inventory.Inventory inventory, int rows, int length, net.minestom.server.item.ItemStack item)
     
    static net.minestom.server.item.ItemStack
    getRacehorseItemMaterial(com.google.gson.JsonObject horseAttributeObject)
    Returns a RacehorseItem for display in a GUI corresponding to the provided parameters.
    static net.minestom.server.item.ItemStack
    getRacehorseItemWithMeta(com.google.gson.JsonObject horseObject, boolean detailedView)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • horseTag

      public static final net.minestom.server.tag.Tag<String> horseTag
    • blankLightBlue

      public static final net.minestom.server.item.ItemStack blankLightBlue
    • blankWhite

      public static final net.minestom.server.item.ItemStack blankWhite
    • blankBlack

      public static final net.minestom.server.item.ItemStack blankBlack
    • blankBrown

      public static final net.minestom.server.item.ItemStack blankBrown
    • CLOSE

      public static final net.minestom.server.item.ItemStack CLOSE
    • NEXT_PAGE

      public static final net.minestom.server.item.ItemStack NEXT_PAGE
    • PREV_PAGE

      public static final net.minestom.server.item.ItemStack PREV_PAGE
    • LOADING

      public static final net.minestom.server.item.ItemStack LOADING
  • Constructor Details

    • GUIUtils

      public GUIUtils()
  • Method Details

    • fillBorder

      public static net.minestom.server.inventory.Inventory fillBorder(net.minestom.server.inventory.Inventory inventory, int rows, int length, net.minestom.server.item.ItemStack item)
    • createCustomSkull

      public static net.minestom.server.item.ItemStack createCustomSkull(String base64Value)
    • getRacehorseItemMaterial

      public static net.minestom.server.item.ItemStack getRacehorseItemMaterial(com.google.gson.JsonObject horseAttributeObject)
      Returns a RacehorseItem for display in a GUI corresponding to the provided parameters.
      Parameters:
      horseAttributeObject - A horse's horseAttributes
      Returns:
      An itemstack representing the appearance of the horse in game.
    • getRacehorseItemWithMeta

      public static net.minestom.server.item.ItemStack getRacehorseItemWithMeta(com.google.gson.JsonObject horseObject, boolean detailedView)