Code Monkey home page Code Monkey logo

monster-spawn-highlighter's People

Contributors

lunatrius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mestrelion neonit

monster-spawn-highlighter's Issues

Add rendering of special spawn conditions for Witches

Witches have special spawn conditions in the bounding box of a Swamp Hut, as ONLY witches can spawn there. I would like to have a feature to get these locations rendered in a different way than standard spawn locations (e.g. different color or highlighted border).

I have tried to find a good place in your code to do that, but it seems that you are doing your own spawn condition checking which is slightly different from vanilla code. If I understand your code right, you may miss the special case for Witch spawning completely:
You are calling biome.getSpawnableList( creatureType ) which is only based on the biome, not on special "scattered features" like the Swamp Hut. Instead calling ChunkProviderGenerate.getPossibleCreatures( creatureType, X, Y, Z ) should give a list with Entities that can spawn at that special location. If that list contains only the Witch, we have one of these special locations.

getPossibleCreatures() probably also provide Wither Skeleton spawning locations, but as they do not spawn as exclusive mob at that locations your current rendering would be fine.

LiteLoader?

Have you investigated making Monster Spawn Highlighter LiteLoader-compatible? It seems like it might be worthwhile.

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.