Skip to content

[Question]: This code from 1.18-Fabric Ecologics is required #126

@WinterGeneralIsTheBest

Description

@WinterGeneralIsTheBest

Mod Version

1.4.0

Mod Loader

Fabric

Mod Loader Version

0.13.3

What happened?

I want to put this code into my mod.

BiomeModifications.addSpawn(
(biomeSelector) -> Biome.getCategory(biomeSelector.getBiomeRegistryEntry()).equals(Biome.Category.DESERT),
SpawnGroup.CREATURE,
ModEntityTypes.CAMEL,
1,
1,
1
);

My mod has a monster that naturally generates and often encounters problems, and I cannot find an effective tutorial to solve it. Could you please authorize me to use this code?

latest.log

debug-5.log.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions