Download Shin's Tensura Race Models — Minecraft Mods — MetaMods

Shin's Tensura Race Models

Active

Downloads

1

Last update

1 month ago

Versions

1.19.2 — 1.19.4
Client and server
Forge
Libraries
Addons

Shin's Tensura Race Models

The Shin's Tensura Race Models mod provides developers with the ability to integrate custom character models for races from the Tensura: Reincarnated addon.

The current version is compatible with T:R 1.0.2.5 and Forge 43.5.0.

Usage Instructions

To get started, add the mod as a dependency to your project via CurseMaven or another convenient method. Then, the race for which you want to create a model must implement the IModeledRaces interface. This will add several new functions that need to be configured: specify the model class, shadow size, and character eye height.

Two additional functions also need to be created. The first is registered in the client event bus:

@SubscribeEvent
public static void registerLayerDefinitions(EntityRenderersEvent.RegisterLayerDefinitions event) {
event.registerLayerDefinition(ExampleModel.LAYER_LOCATION, ExampleModel::createBodyLayer);
}

Replace ExampleModel with your model name. The second function requires injection via mixin into the TensuraRacesRenderer file to add your race to the list:

@Mixin(TensuraRacesRenderer.class)
public abstract class AddRaceMixin<T extends LivingEntity, M extends EntityModel> {

    @Shadow
    @Final
    @Mutable
    private List<HierarchicalModel<T>> models;

    @Inject(method = "<init>", at = @At("TAIL"))
    private void onInit(RenderLayerParent parent, CallbackInfo ci) {
        List<HierarchicalModel<T>> newModels = new ArrayList<>(this.models);

        EntityModelSet modelSet = Minecraft.getInstance().getEntityModels();
        newModels.add(new ExampleModel<>(modelSet.bakeLayer(ExampleModel.LAYER_LOCATION)));

        this.models = List.copyOf(newModels);
    }
}

The model file also requires certain modifications. The mod includes a working example that can be studied to adapt your entity code.

It's important to note that although the model uses the hierarchical format, animation functionality is not yet fully implemented. Keyframes for crouching and running have been partially added, but their functionality requires additional verification.

Additional Information

Tensura addons that served as the basis for development:

  • Tensura: KumoDesu
  • Tensura: Bleach

The mod can be freely used when creating addons, provided that the code is not simply copied but adapted for the specific project.

Project members
Gremter

Gremter

Developer

shinnoshinigami

shinnoshinigami

Developer

Created: 22 Aug 2025

ID: 262529