Class BodyRegistry

java.lang.Object
net.timtaran.interactivemc.init.registry.BodyRegistry

public class BodyRegistry extends Object
Registry for physics body types used in the mod.

This class registers body types and their associated client-side factories and renderers.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.xmx.velthoric.core.body.VxBodyType
    The dynamic rigid body type for player body parts (head, hands, etc.).
    static final net.xmx.velthoric.core.body.VxBodyType
    The ghost (kinematic) rigid body type for player body parts, used to track VR controller positions.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Registers all body types on the server side.
    static void
    Registers client-side factories and renderers for body types.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PLAYER_BODY_PART

      public static final net.xmx.velthoric.core.body.VxBodyType PLAYER_BODY_PART
      The dynamic rigid body type for player body parts (head, hands, etc.).
    • PLAYER_BODY_PART_GHOST

      public static final net.xmx.velthoric.core.body.VxBodyType PLAYER_BODY_PART_GHOST
      The ghost (kinematic) rigid body type for player body parts, used to track VR controller positions.
  • Constructor Details

    • BodyRegistry

      public BodyRegistry()
  • Method Details

    • register

      public static void register()
      Registers all body types on the server side.
    • registerClient

      @Environment(CLIENT) public static void registerClient()
      Registers client-side factories and renderers for body types.