Interface IPlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAllow scrolling to increase/decrease the angle of text fieldsbooleanCheck if nametag rendering is set to direct onlyGet 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 OPsbooleanCheck if name based features are enabledintGet the nametag render distancevoidrenameArmorStand(net.minecraft.world.entity.decoration.ArmorStand armorStand, String newName) Update Armor Stand NamevoidswapSlots(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 -
renameArmorStand
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
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
-
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
-