Class FabricPlatformHelper

java.lang.Object
com.mrbysco.armorposer.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • updateEntity

      public void updateEntity(net.minecraft.world.entity.decoration.ArmorStand armorStand, net.minecraft.nbt.CompoundTag compound)
      Description copied from interface: IPlatformHelper
      Update Armor Stand Entity
      Specified by:
      updateEntity in interface IPlatformHelper
    • swapSlots

      public void swapSlots(net.minecraft.world.entity.decoration.ArmorStand armorStand, SwapData.Action action)
      Description copied from interface: IPlatformHelper
      Update Armor Stand Entity
      Specified by:
      swapSlots in interface IPlatformHelper
    • renameArmorStand

      public void renameArmorStand(net.minecraft.world.entity.decoration.ArmorStand armorStand, String newName)
      Description copied from interface: IPlatformHelper
      Update Armor Stand Name
      Specified by:
      renameArmorStand in interface IPlatformHelper
    • allowScrolling

      public boolean allowScrolling()
      Description copied from interface: IPlatformHelper
      Allow scrolling to increase/decrease the angle of text fields
      Specified by:
      allowScrolling in interface IPlatformHelper
    • getUserPresetFolder

      public Path getUserPresetFolder()
      Description copied from interface: IPlatformHelper
      Get the user preset folder
      Specified by:
      getUserPresetFolder in interface IPlatformHelper
      Returns:
      The user preset folder
    • isResizeRestrictedToOPS

      public boolean isResizeRestrictedToOPS()
      Description copied from interface: IPlatformHelper
      Check if the resize is restricted to OPs
      Specified by:
      isResizeRestrictedToOPS in interface IPlatformHelper
      Returns:
      If the resize is restricted to OPs
    • getResizeWhitelist

      public List<? extends String> getResizeWhitelist()
      Description copied from interface: IPlatformHelper
      Gets a list of players that are allowed to resize the Armor Stand while restrictResizeToOP is enabled
      Specified by:
      getResizeWhitelist in interface IPlatformHelper
      Returns:
      The resize whitelist
    • nameBasedFeatures

      public boolean nameBasedFeatures()
      Description copied from interface: IPlatformHelper
      Check if name based features are enabled
      Specified by:
      nameBasedFeatures in interface IPlatformHelper
      Returns:
      If name based features are enabled
    • getModVersion

      public String getModVersion()
      Description copied from interface: IPlatformHelper
      Get the mod version
      Specified by:
      getModVersion in interface IPlatformHelper
      Returns:
      The mod version
    • directNametagOnly

      public boolean directNametagOnly()
      Description copied from interface: IPlatformHelper
      Check if nametag rendering is set to direct only
      Specified by:
      directNametagOnly in interface IPlatformHelper
      Returns:
      If nametag rendering is direct only
    • nametagRenderDistance

      public int nametagRenderDistance()
      Description copied from interface: IPlatformHelper
      Get the nametag render distance
      Specified by:
      nametagRenderDistance in interface IPlatformHelper
      Returns:
      The nametag render distance