Magic

Magic

190k Downloads

Check World for CheckRequirements?

NightScythe1 opened this issue ยท 2 comments

commented

Is there a way to check the player's current world/dimension with CheckRequirements? I'd like to make a spell that functions differently in dimensions but unsure how to go about it. The only was I could think was using 'CheckBlock' and allowed/disallowed biomes, but this would result in lengthy lists and wouldn't help in cases of worlds that share biomes, and would only work for the default nether & end.
(Another question I had to ask is whether CheckRequirements can also check the world's daycount. It currently can measure the player's total days/hours/minutes/seconds etc, but seemingly not the world's.)

commented

I will add a worlds: (plural, so you can use an "any of these worlds" list) in the next dev build.

I think for day count I would use an attribute check, I will add a fulltime attribute for this.

commented

Amazing, thank you!!!!