Topic category: Help with modding (Java Edition)
I'm trying to make a book item that'll only glow under specific conditions. Specifically: In the proper biome, at or above cloud height, around midnight, with the sky visible. Reason I want those conditions specifically is cause those are the conditions you can actually use the item, and I think it glowing would be a good tell for the player to know it can be used (Main idea is that, when right clicked in the off-hand with a specific weapon in the main-hand, it'll give the weapon a special enchant only it can get and the book will be used up).
So far, my procedure is this (Doing it via text cause putting an image is kind of a hassle. Hopefully this makes sense):
No additional trigger
If: Is biome at x: x, y: y, z: z type CUSTOM:StellarMountain
AND: Get height of Event/target entity ≥ 128
AND: Can location at x: x, y: y, z: z see the sky
AND: Get current world time ≥ 17000
AND: Get current world time ≤ 19000
Do: Return true
But it glows despite not meeting any of those conditions. How do I get it to actually work the way I plan it to? Cause I was certain this would work, but it just isn't (And yes, the item glow condition is set in the item's mod element). Any help would be appreciated.