Interface IPlatformHelper


public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the linecolor specified in the config
    float
    Gets the lineWidth specified in the config
    float
    Gets the lineWidthMax specified in the config
    Gets the textColor specified in the config
    float
    Gets the textSize specified in the config
    boolean
    isValidUser(net.minecraft.world.entity.player.Player player)
    if the user trying to right-click with the tape is allowed to use the tape
  • Method Details

    • isValidUser

      boolean isValidUser(net.minecraft.world.entity.player.Player player)
      if the user trying to right-click with the tape is allowed to use the tape
      Returns:
      If it's a valid user
    • getLineColor

      LineColor getLineColor()
      Gets the linecolor specified in the config
      Returns:
      Configured LineColor
    • getTextColor

      TextColor getTextColor()
      Gets the textColor specified in the config
      Returns:
      Configured TextColor
    • getLineWidth

      float getLineWidth()
      Gets the lineWidth specified in the config
      Returns:
      Configured lineWidth
    • getLineWidthMax

      float getLineWidthMax()
      Gets the lineWidthMax specified in the config
      Returns:
      Configured lineWidthMax
    • getTextSize

      float getTextSize()
      Gets the textSize specified in the config
      Returns:
      Configured textSize