Skip to content

Weather and Time#1078

Open
JasperLorelai wants to merge 4 commits intoTheComputerGeek2:mainfrom
JasperLorelai:main
Open

Weather and Time#1078
JasperLorelai wants to merge 4 commits intoTheComputerGeek2:mainfrom
JasperLorelai:main

Conversation

@JasperLorelai
Copy link
Copy Markdown
Collaborator

Changes:

  • TimeSpell can now target players when cast as a sub-spell.
  • Removed the default TimeSpell message for str-announce for convenience.

Additions:

  • .instant.TimeSpell:
    • Added time as an alias to time-to-set.
    • Added add-time, set-player-time, and advance (gamerule) boolean toggles. Player time can be reset with time: 0.
  • .targeted.PasteSpell:
    • Added paste-structure-void (boolean, defaults to false) - Toggle whether structure_void within the schematic will be placed or ignored.
    • Added prevent-overwrite (boolean, defaults to false) - If enabled, after filtering out paste-air & paste-structure-void, this option will prevent the paste from succeeding if a schematic block will override a block in the world.
  • Added .instant.WeatherSpell:
    • rain, thunder, advance (gamerule) - Boolean values, unset by default.
    • duration-clear, duration-weather, duration-thunder - Integer ticks. These options override the default randomised weather clocks caused by rain & thunder.
    • player-weather - Ignores all other options because it affects only the player weather. Can be clear, downfall or reset.

- Added "time" as alias to "time-to-set".
- Added "add-time", "set-player-time", and "advance" (gamerule) toggles.
- Removed default "str-announce" for convenience.
- Implemented TargetedEntitySpell for player targeting.
Added "paste-structure-void" and "prevent-overwrite".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant