lunatrius / monster-spawn-highlighter Goto Github PK
View Code? Open in Web Editor NEWDiscontinued, check InfoMod. Highlight blocks where selected monsters are able to spawn.
Home Page: https://github.com/0uti/InfoMod
License: MIT License
Discontinued, check InfoMod. Highlight blocks where selected monsters are able to spawn.
Home Page: https://github.com/0uti/InfoMod
License: MIT License
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.
Have you investigated making Monster Spawn Highlighter LiteLoader-compatible? It seems like it might be worthwhile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.