Wearable Components
Player component handler for wearable items.
Overview
This class defines the component keys used by the mod. It provides a static reference to the WearablesComponent which is attached to player entities to manage their wearable items.
The component key is registered using the CardinalComponentsAPI and uses the mod's identifier and a unique name for the component.
Implementation
public static final ComponentKey<WearablesComponent> WEARABLES =
ComponentRegistryV3.INSTANCE.getOrCreate(
Identifier.of(WearablesMain.MOD_ID, "wearables"),
WearablesComponent.class
);
Methods
| Method | Description |
|---|---|
no direct methods | n/a |
Events
This class does not fire or use any events.
