Code Monkey home page Code Monkey logo

Comments (4)

Svahnen avatar Svahnen commented on August 31, 2024

Is there a hint somewhere where I can begin to look through the code for a way to try and work around this problem? Maybe having spawning occur below a specific z level at all time

from mobplugin.

Svahnen avatar Svahnen commented on August 31, 2024

I have gotten somewhere by adding || pos.y < 50 for the monsters that should spawn underground, like for example line 29 in SpiderSpawner.java

I have no idea what values should be used or if there is a better way of doing this. This way would not work if the cave was located in a mountain above the height of 50 however. If there is a way to detect the current "ground" level then that would be an improvement.

from mobplugin.

Svahnen avatar Svahnen commented on August 31, 2024

I tried using blockLightLevel < 1, but it seems that it does not count the sunlight.

from mobplugin.

silas0526 avatar silas0526 commented on August 31, 2024

Close issue. It works fine for me

from mobplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.