Class NeoForgePlatformHelper

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

public class NeoForgePlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • NeoForgePlatformHelper

      public NeoForgePlatformHelper()
  • 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
    • 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
    • getModVersion

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