Skip to content

Commit

Permalink
fix lush caves mooblooms not respecting mob caps
Browse files Browse the repository at this point in the history
  • Loading branch information
YanisBft committed Oct 11, 2023
1 parent 9b4b421 commit 606c72c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/yanisbft/mooblooms/api/Moobloom.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private Moobloom(Moobloom.Builder settings) {

FabricEntityTypeBuilder.Mob<?> builder = FabricEntityTypeBuilder.createMob()
.entityFactory(MoobloomEntity::new)
.spawnGroup(SpawnGroup.CREATURE)
.spawnGroup(settings.spawnGroup)
.spawnRestriction(SpawnRestriction.Location.ON_GROUND, Heightmap.Type.MOTION_BLOCKING_NO_LEAVES, (SpawnRestriction.SpawnPredicate<MoobloomEntity>) settings.spawnPredicate)
.dimensions(EntityDimensions.changing(0.9F, 1.4F))
.trackRangeChunks(10)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class MoobloomsConfig implements ConfigData {
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom bambmoo = new BaseMoobloom(1000, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public DamagingMoobloom cowctus = new DamagingMoobloom(10, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom cherryMoobloom = new BaseMoobloom(10, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom azaleaMoobloom = new BaseMoobloom(1000, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom dripleafMoobloom = new BaseMoobloom(1000, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom azaleaMoobloom = new BaseMoobloom(500, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom dripleafMoobloom = new BaseMoobloom(500, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom chorusMoobloom = new BaseMoobloom(1000, 2, 4);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom crimsonMooshroom = new BaseMoobloom(1000, 2, 8);
@ConfigEntry.Gui.CollapsibleObject public BaseMoobloom warpedMooshroom = new BaseMoobloom(1000, 2, 8);
Expand Down

0 comments on commit 606c72c

Please sign in to comment.