Interface IPlatformHelper


public interface IPlatformHelper
  • Method Details

    • updateEntity

      void updateEntity(net.minecraft.world.entity.decoration.ArmorStand armorStand, net.minecraft.nbt.CompoundTag compound)
      Update Armor Stand Entity
    • swapSlots

      void swapSlots(net.minecraft.world.entity.decoration.ArmorStand armorStand, SwapData.Action action)
      Update Armor Stand Entity
    • renameArmorStand

      void renameArmorStand(net.minecraft.world.entity.decoration.ArmorStand armorStand, String newName)
      Update Armor Stand Name
    • allowScrolling

      boolean allowScrolling()
      Allow scrolling to increase/decrease the angle of text fields
    • getUserPresetFolder

      Path getUserPresetFolder()
      Get the user preset folder
      Returns:
      The user preset folder
    • isRestrictedToOPS

      boolean isRestrictedToOPS(String feature)
      Check if a feature is restricted to ops only
      Parameters:
      feature - The feature to check
      Returns:
      If the feature is restricted to ops only
    • nameBasedFeatures

      boolean nameBasedFeatures()
      Check if name based features are enabled
      Returns:
      If name based features are enabled
    • getResizeWhitelist

      @Deprecated List<? extends String> getResizeWhitelist()
      Deprecated.
      Gets a list of players that are allowed to resize the Armor Stand while restrictResizeToOP is enabled
      Returns:
      The resize whitelist
    • getRestrictWhitelist

      List<? extends String> getRestrictWhitelist()
      Gets a list of players that are allowed to use restricted features while they are restricted to ops only
      Returns:
      The restrict whitelist
    • getModVersion

      String getModVersion()
      Get the mod version
      Returns:
      The mod version
    • directNametagOnly

      boolean directNametagOnly()
      Check if nametag rendering is set to direct only
      Returns:
      If nametag rendering is direct only
    • nametagRenderDistance

      int nametagRenderDistance()
      Get the nametag render distance
      Returns:
      The nametag render distance