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 Details

    • PLAYER_BODY_PART

      public static final net.xmx.velthoric.core.body.VxBodyType<PlayerBodyPartRigidBody> 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<PlayerBodyPartGhostRigidBody> PLAYER_BODY_PART_GHOST
      The ghost (kinematic) rigid body type for player body parts, used to track VR controller positions.
    • TEST_DUCK

      public static final net.xmx.velthoric.core.body.VxBodyType<TestDuckRigidBody> TEST_DUCK
  • 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.