Minecraft Snapshot 24w04a

24w04a 540x540.jpg
Release: one year ago

Hello again! Here is another snapshot bringing you some Armadillo changes, experimental feature changes, and a bunch of technical changes. We have some server-side performance improvements and improved debug tools along with a new transfer command. Enjoy!

Changes

  • Armadillo now also rolls up when it detects a mob, or a player that has attacked it recently
  • When an Armadillo is in rolled up state, its shell will protect it, and reduce the damage dealt to it, even allowing it to fully resist weak attacks
  • Renamed "Allow cheats" to "Allow commands"

Technical Changes

  • The Data Pack version is now 29
  • Added an option to use a faster region file compression algorithm on dedicated servers
  • Introduced changes to optimizing worlds
  • Improved server TPS debug chart
  • Reduced time needed to generate explorer maps to buried treasures

Region file compression algorithm

  • Added a dedicated server configuration property region-file-compression with 2 possible values:
    • deflate, the default option. Uses the old algorithm
    • lz4 uses LZ4 algorithm, which requires less CPU time to compress and decompress but uses more disk space
  • Changing the compression algorithm will not automatically recompress the world
    • New or updated chunks will use the newly configured algorithm, but the old ones will stay in the previous format

World optimizing changes

  • Optimizing singleplayer worlds and running dedicated server with forceUpgrade now also upgrades contents of entities and poi directories of the world
  • New recreateRegionFiles dedicated server startup parameter
    • It will trigger world optimization similar to forceUpgrade, but will also rewrite all the chunks independently of whether they have been upgraded
    • This will create fresh and defragmented region files
    • Using this parameter after changing the region-file-compression server property will recompress all region files in the new format

Improved the server TPS debug chart

  • As before, it is accessible by pressing F3 + 2 in a Singleplayer world
  • The bottom dark red section of the chart displays the time spent during the main logic of the server tick. It is equivalent to the value diplayed in the old chart
  • The light brown section displays time spent on running scheduled tasks
  • The purple section displays time spent executing all other code during the tick
  • The top light green (or yellow or red depending on lag) section displays time spent idling, waiting for next tick
  • The min, avg, max aggregate values are based on the sum of the first 3 sections

Data Pack Version 29

  • Added the transfer command

transfer Command

New command that triggers a transfer of a player to another server. Only exists on dedicated servers.

Syntax:

transfer <hostname> [<port>] [<players>]

Parameters:

  • hostname: String describing the hostname of the server to connect to
  • port: Integer denoting the port number of the server to connect to - if omitted, 25565 is used
  • players: The players to transfer - if omitted, @s is used

Experimental Features

Breeze

  • Breeze is now aggressive toward Iron Golems in addition to players
  • Breeze no longer retaliates against attacks from the following mobs: Skeletons, Strays, Zombies, Husks, Spiders, Cave Spiders, Slimes
  • The above mobs will not retaliate when hurt by the Breeze's Wind Charge Projectile

Copper Grates

  • Stonecutting Copper Blocks into Copper Grates outputs 4 Copper Grates

Fixed bugs in Snapshot 24w04a

  • MC-232489 Retrieving a plant from a flower pot ignores inventory contents
  • MC-266449 Breeze doesn't attack or retaliate against mob on sight
  • MC-266707 Trial spawners ignore custom_spawn_rules
  • MC-267925 Retrieving an item from a flower pot while holding something causes the item to end up in your off hand
  • MC-267937 Shooting a breeze with a piercing crossbow makes the game crash
  • MC-267938 The world loading percentage value can get covered by the spawn chunk loading animation when the "spawnChunkRadius" gamerule is set to large values
  • MC-267941 The end portal kills mobs at spawnChunkRadius 0
  • MC-267953 No element is focused when opening the realms world backups menu using keyboard navigation