mods.bitwave-studios.com

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

MethodDescription
no direct methodsn/a

Events

This class does not fire or use any events.