Class FabricPlatformHelper
java.lang.Object
com.mrbysco.armorposer.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the mod versionGet the user preset foldervoidrenameArmorStand(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 EntityvoidupdateEntityGroups(net.minecraft.world.entity.decoration.ArmorStand armorStand, List<String> groups) Update groups of an Armor StandvoidupdateEntityInGroup(List<net.minecraft.world.entity.decoration.ArmorStand> armorStands, net.minecraft.nbt.CompoundTag compound) Update Armor Stand Entities
-
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:IPlatformHelperUpdate Armor Stand Entity- Specified by:
updateEntityin interfaceIPlatformHelper
-
updateEntityInGroup
public void updateEntityInGroup(List<net.minecraft.world.entity.decoration.ArmorStand> armorStands, net.minecraft.nbt.CompoundTag compound) Description copied from interface:IPlatformHelperUpdate Armor Stand Entities- Specified by:
updateEntityInGroupin interfaceIPlatformHelper
-
updateEntityGroups
public void updateEntityGroups(net.minecraft.world.entity.decoration.ArmorStand armorStand, List<String> groups) Description copied from interface:IPlatformHelperUpdate groups of an Armor Stand- Specified by:
updateEntityGroupsin interfaceIPlatformHelper
-
swapSlots
public void swapSlots(net.minecraft.world.entity.decoration.ArmorStand armorStand, SwapData.Action action) Description copied from interface:IPlatformHelperUpdate Armor Stand Entity- Specified by:
swapSlotsin interfaceIPlatformHelper
-
renameArmorStand
public void renameArmorStand(net.minecraft.world.entity.decoration.ArmorStand armorStand, String newName) Description copied from interface:IPlatformHelperUpdate Armor Stand Name- Specified by:
renameArmorStandin interfaceIPlatformHelper
-
getUserPresetFolder
Description copied from interface:IPlatformHelperGet the user preset folder- Specified by:
getUserPresetFolderin interfaceIPlatformHelper- Returns:
- The user preset folder
-
getModVersion
Description copied from interface:IPlatformHelperGet the mod version- Specified by:
getModVersionin interfaceIPlatformHelper- Returns:
- The mod version
-