How to import classes from mods added as dependencies

This page summarizes the projects mentioned and recommended in the original post on /r/fabricmc

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • LambDynamicLights

    A dynamic lights mod for Minecraft with Fabric.

  • I am trying to use the LambDynamicLights API to add dynamic lighting to several mobs. The API documentation says that I have to create a class which implements DynamicLightsInitializer, a class provided by the mod. I have (I think) properly added the mod and its dependencies as dependencies of my mod. I am struggling, however, to get the following bit of code to compile: Here

  • fabric-example-mod

    Example Fabric mod

  • This code is just a slightly modified version of the test code provided by the Fabric Example Mod.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts