Nukkit-coders / MobPlugin

Add animals and monsters including AI, spawning and spawners to Cloudburst Nukkit
https://nukkitx.com/resources/mobplugin.3/
87 stars 49 forks source link

Animals spawning undergroud #78

Open lucascaro opened 6 years ago

lucascaro commented 6 years ago

Issue Description

Was playing with the plugin enabled for a while, (thanks!) and when going to mine in a deep cave I noticed animals were spawning like it was the surface. I've never seen this behavior in normal minecraft. I saw cows, rabbits, and wolfs.

Steps to Reproduce the Issue

  1. start a new server with mob generation
  2. go to a deep cave
  3. wait

-> animals spawn undergroud.

Nukkit Version and Client Version

Config.yml

entities:
  auto-spawn-tick: 200
  worlds-spawn-disabled: "exampleworld1,exampleworld2"

max-spawns:
  bat: 15
  blaze: 2
  chicken: 20
  cow: 3
  creeper: 5
  enderman: 5
  ghast: 5
  husk: 3
  horse: 2
  mooshroom: 1
  ocelot: 2
  pig: 3
  polarbear: 2
  rabbit: 3
  stray: 1
  sheep: 3
  skeleton: 5
  spider: 4
  wolf: 2
  zombie: 10

Crashdump, Backtrace or Other Files

no crash

PetteriM1 commented 6 years ago

Yes this is possible as long as we need to use level time in spawning because light level does not work correctly in Nukkit