Class FpPlayerAnimCommands

java.lang.Object
com.github.razorplay01.fp_pal.command.FpPlayerAnimCommands

public class FpPlayerAnimCommands extends Object
Commands for testing first-person animations. Mirrors the functionality of PlayerAnimCommands but for FP animations. Commands: - /fp_anim play <animationID> - Play a FP animation (independent of 3rd person) - /fp_anim stop - Stop the current FP animation - /fp_anim list - List all loaded FP animations - /fp_anim pairs - List all registered 3rd person -> FP animation pairs - /fp_anim pair <thirdID> <fpID> - Register a new animation pair - /fp_anim mode [mode] - Print or force the first-person mode of the local player - /fp_anim bones - Print the bones the current FP animation drives - /fp_anim model [id] [tex] - Override the auto-resolved geo.json model (test aid) - /fp_anim model off - Disable the model preview
  • Method Details

    • register

      public static <T> void register(com.mojang.brigadier.CommandDispatcher<T> dispatcher, net.minecraft.commands.CommandBuildContext registryAccess)