Skip to content

Commit

Permalink
Fix hidebehind not spawning naturally (delete configs/change weight t…
Browse files Browse the repository at this point in the history
…o 8! Fixes #12)
  • Loading branch information
itsmeow committed Apr 4, 2021
1 parent 9a9d1e4 commit b05bae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/itsmeow/whisperwoods/init/ModEntities.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public void customConfigurationLoad() {
.containers(ItemModEntityContainer.get("bottled_%s", WhisperwoodsMod.TAB), c -> Items.GLASS_BOTTLE, EntityMoth::bottleTooltip));

public static final EntityTypeContainer<EntityHidebehind> 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(
Expand Down

0 comments on commit b05bae0

Please sign in to comment.