From b05bae0f69563fe47c554ceb667e25ea33ecef5f Mon Sep 17 00:00:00 2001 From: itsmeow Date: Sun, 4 Apr 2021 07:32:13 -0400 Subject: [PATCH] Fix hidebehind not spawning naturally (delete configs/change weight to 8! Fixes #12) --- src/main/java/dev/itsmeow/whisperwoods/init/ModEntities.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dev/itsmeow/whisperwoods/init/ModEntities.java b/src/main/java/dev/itsmeow/whisperwoods/init/ModEntities.java index 34f3ee8..32545be 100644 --- a/src/main/java/dev/itsmeow/whisperwoods/init/ModEntities.java +++ b/src/main/java/dev/itsmeow/whisperwoods/init/ModEntities.java @@ -61,8 +61,8 @@ public void customConfigurationLoad() { .containers(ItemModEntityContainer.get("bottled_%s", WhisperwoodsMod.TAB), c -> Items.GLASS_BOTTLE, EntityMoth::bottleTooltip)); public static final EntityTypeContainer HIDEBEHIND = H.add(entity(EntityHidebehind.class, EntityHidebehind::new, "hidebehind") - .spawn(EntityClassification.CREATURE, 5, 1, 1) - .defaultPlacement((t, w, e, p, r) -> w.getDifficulty() != Difficulty.PEACEFUL && MonsterEntity.isValidLightLevel(w, p, r) && MobEntity.canSpawnOn(t, w, e, p, r)) + .spawn(EntityClassification.MONSTER, 8, 1, 1) + .defaultPlacement((t, w, e, p, r) -> w.getDifficulty() != Difficulty.PEACEFUL && MobEntity.canSpawnOn(t, w, e, p, r)) .egg(0x473123, 0xfff494) .size(1F, 5.2F) .variants(