๐บ๏ธ Scenario Configuration ๐บ๏ธ
----------------------
In sandbox at the top right there is now an option to configure a set of scenario roles (see the attached screenshot)
A scenario role is a set of units/buildings that can be chosen to be played with at the start of a scenario map.
You can configure which role a particular unit or building is for at the bottom left in sandbox mode.
When you're ready for your map to be played, publish the map using the book & quill button at the top right. This will:
- Kick you out of sandbox mode
- Sets /gamerule scenarioMode true
- Enables buttons for the player to pick a scenario role to play as
At this point, your map is ready to be shared with others to play!
๐ New commands ๐
----------------------
All of these are now runnable from command blocks:
- `/rtsapi-summon <ownerName> <entity> <pos> <nbt>`
- `/rtsapi-add-research <researchName> <playerName>`
- `/rtsapi-remove-research <researchName> <playerName>`
- `/rtsapi-victory <playerName> <reason>`
- `/rtsapi-defeat <playerName> <reason>`
- `/rtsapi-set-unit-owner <ownerName> <newOwnerName> <selectFrom> <selectTo>`
- This was an existing command that now takes an optional second ownerName parameter (if provided, it will only affects units owned by the first name)
- `/rtsapi-set-unit-enemy-search <ownerName> <from> <to> <SearchBehaviour>`
- This is a way to make units automatically search out for enemies to fight, valid values for SearchBehaviour are:
- NEAREST_ENEMY_UNIT
- NEAREST_ENEMY_WORKER
- NEAREST_ENEMY_BUILDING
- NONE
- `/rtsapi-unit-action <ownerName> <selectFrom> <selectTo> <action> <targetFrom> <targetTo>`
This allows you to perform most unit commands such as moving, attacking, casting, etc. For the full list of valid actions, see this link https://github.com/SoLegendary/reignofnether/blob/1.20.1-dev/src/main/java/com/solegendary/reignofnether/unit/UnitAction.java
๐ ๏ธ Bugfixes ๐ ๏ธ
----------------------
- Spawners no longer spawn units when there are nearby player-owned units
- Fixed an issue where custom buildings sometimes did not complete all of their blocks
- Fixed neutral/hostile units not showing where they are moving to in sandbox mode
- Fixed not being able to control non-RoN units in sandbox or when the wouldyoukindly cheat was enabled
- Fixed units not being considered garrisoned after reloading a save
โ๏ธ Quality of Life โ๏ธ
----------------------
- Added a confirm step to the de-register custom building button
- In sandbox mode, pressing F3 will show info for the moused-over block
- /rts-reset and /rts-reset-hard can now only be run with permission level 2 or higher (ie. command blocks or higher)
- The default for /gamerule allowedHeroes is now 2
- Added /gamerule lockAlliances true/false
- While enabled, alliances can only be made/broken with players who have not yet joined the match
โ๏ธ Balancing โ๏ธ
----------------------
- The Enchanter can now enchant allied units of other factions:
- Skeletons and Headhunters get power (+1 damage)
- Brutes get sharpness (+1 damage)
- Any unit wearing a chestplate (except Marauders and Hoglins)
- Grunts and Zombie villagers can be enchanted with Efficiency
- Chainmail chestplates at the superior blacksmith cost reduced from 60 ore to 40 ore
- Cost of Hoglin Rider research increased from (350 food, 300 wood, 120s) to (450 food, 350 wood, 180s)
- Wildfire attack speed reduced from 0.75 to 0.6
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }