Interface IPlatformHelper

All Known Implementing Classes:
FabricPlatformHelper

public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Allow scrolling to increase/decrease the angle of text fields
    Get the mod version
    List<? extends String>
    Gets a list of players that are allowed to resize the Armor Stand while restrictResizeToOP is enabled
    Get the user preset folder
    boolean
    Check if the resize is restricted to OPs
    boolean
    Check if name based features are enabled
    void
    renameArmorStand(net.minecraft.world.entity.decoration.ArmorStand armorStand, String newName)
    Update Armor Stand Name
    void
    swapSlots(net.minecraft.world.entity.decoration.ArmorStand armorStand, SwapData.Action action)
    Update Armor Stand Entity
    void
    updateEntity(net.minecraft.world.entity.decoration.ArmorStand armorStand, net.minecraft.nbt.CompoundTag compound)
    Update Armor Stand Entity
  • 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
    • isResizeRestrictedToOPS

      boolean isResizeRestrictedToOPS()
      Check if the resize is restricted to OPs
      Returns:
      If the resize is restricted to OPs
    • nameBasedFeatures

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

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

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