Open TechnicJelle opened 3 months ago
Here are my first thoughts. Some of these are definitely more useful than others, but I feel like someone could utilize all of these suggestions in some way: What color a sheep is. If a sheep is sheered or not. Weather a mooshroom is brown or red. What item a fox is holding in its mouth. If the animal or monster is a baby. What armor a skeleton or zombie is wearing. Weather a creeper is charged or not. What block an enderman is holding.
There is min/max x/y/z, but maybe it could be useful to have a circular/ellipsoid radius as well? Not sure yet how that'd exactly look like, though.
Entity sky/block light. To replicate BlueMap's own cave detection.
And/or a potential new BlueMap API with which you can check whether a position is within a rendered or unrendered area.
Please feel free to comment on this issue if there are other entities with specific data that you'd like to be able to filter on!
[ ] Generic "item" data type:
[ ] Armour Stands
[ ] Item Frames
contained-item: "aforementioned item data type"
Could be achieved withis-glowing: true/false
type
orinstanceof
[x] Hostility of entities [done in d5a04ac97505f343445edabb400ed4c45ba44280]
if (entity instanceof Animal)
andif (entity instanceof Monster)
apparentlyinstanceof: "AnyString"
which can take any string, which it then converts into a class (reflection?) of this package: https://jd.papermc.io/paper/1.20.6/org/bukkit/entity/package-summary.html[ ] Painting ID