Skip to content

Adding Support for Content from Mods

Tip

Rhombus already has functions and classes for common mods built-in. They are located in modules in Rhombus.support. If you need support for a mod that is currently not present in the support collection, you can file an issue or contribute.

To add support for mods, you can use the infrastructure on which the built-ins are also based. There are base classes for various scenarios.

  • Density Function Types


    A type of operator at the Java level that is used to perform density calculations.

    Class inheriting from DensityFunction
    [Builtin macro producing an corresponding Density]

  • Datapack Resources


    A resource that comes with an datapack and can be referenced in a field of a density function type.

    Class inheriting from DatapackResource

  • Subparameters


    An aggregation of parameters.

    Class inheriting from SubParameter