Skinveil Wiki

Example

A basic integration could look like this:

public static final Identifier EQUIPMENT_ID =
        Identifier.fromNamespaceAndPath("mymod", "my_equipment");

@Override
public void onInitializeClient() {
    SkinveilApi.registerEquipment(
        EQUIPMENT_ID,
        "My Equipment",
        true
    );
}

Then in your renderer, do this:

if (!SkinveilApi.isVisible(state, EQUIPMENT_ID)) {
    return;
}

That's it.

Skinveil handles the config and the player's choice, and then syncing that choice to other Skinveil clients.