Interface IPlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAllow scrolling to increase/decrease the angle of text fieldsGet the mod versionGets a list of players that are allowed to resize the Armor Stand while restrictResizeToOP is enabledGet the user preset folderbooleanCheck if the resize is restricted to OPsvoidswapSlots(net.minecraft.world.entity.decoration.ArmorStand armorStand, SwapData.Action action) Update Armor Stand EntityvoidupdateEntity(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
Update Armor Stand Entity -
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
-
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
-