Class BodyRegistry
java.lang.Object
net.timtaran.interactivemc.init.registry.BodyRegistry
Registry for physics body types used in the mod.
This class registers body types and their associated client-side factories and renderers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.xmx.velthoric.core.body.VxBodyType<PlayerBodyPartRigidBody> The dynamic rigid body type for player body parts (head, hands, etc.).static final net.xmx.velthoric.core.body.VxBodyType<PlayerBodyPartGhostRigidBody> The ghost (kinematic) rigid body type for player body parts, used to track VR controller positions.static final net.xmx.velthoric.core.body.VxBodyType<TestDuckRigidBody> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister()Registers all body types on the server side.static voidRegisters client-side factories and renderers for body types.
-
Field Details
-
PLAYER_BODY_PART
public static final net.xmx.velthoric.core.body.VxBodyType<PlayerBodyPartRigidBody> PLAYER_BODY_PARTThe 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_GHOSTThe ghost (kinematic) rigid body type for player body parts, used to track VR controller positions. -
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.
-