This commit is contained in:
mat 2023-05-04 20:30:56 +00:00
parent d51f47b850
commit ff6d43458c
5 changed files with 29 additions and 13 deletions

View file

@ -9,7 +9,7 @@ A collection of Rust crates for making Minecraft bots, clients, and tools.
</p>
<!-- The line below is automatically read and updated by the migrate script, so don't change it manually. -->
*Currently supported Minecraft version: `23w17a`.*
*Currently supported Minecraft version: `23w18a`.*
## ⚠️ Azalea is still very unfinished, though most crates are in a somewhat useable state

View file

@ -20,9 +20,9 @@
"advancements.adventure.bullseye.description": "Hit the bullseye of a Target block from at least 30 meters away",
"advancements.adventure.bullseye.title": "Bullseye",
"advancements.adventure.craft_decorated_pot_using_only_sherds.description": "Make a Decorated Pot out of 4 Pottery Sherds",
"advancements.adventure.craft_decorated_pot_using_only_sherds.title": "Careful restoration",
"advancements.adventure.craft_decorated_pot_using_only_sherds.title": "Careful Restoration",
"advancements.adventure.trim_with_any_armor_pattern.description": "Craft a trimmed armor at a Smithing Table",
"advancements.adventure.trim_with_any_armor_pattern.title": "Crafting a new look",
"advancements.adventure.trim_with_any_armor_pattern.title": "Crafting a New Look",
"advancements.adventure.fall_from_world_height.description": "Free fall from the top of the world (build limit) to the bottom of the world and survive",
"advancements.adventure.fall_from_world_height.title": "Caves & Cliffs",
"advancements.adventure.hero_of_the_village.description": "Successfully defend a village from a raid",
@ -42,7 +42,9 @@
"advancements.adventure.play_jukebox_in_meadows.description": "Make the Meadows come alive with the sound of music from a Jukebox",
"advancements.adventure.play_jukebox_in_meadows.title": "Sound of Music",
"advancements.adventure.salvage_sherd.description": "Brush a Suspicious block to obtain a Pottery Sherd",
"advancements.adventure.salvage_sherd.title": "Respecting the remnants",
"advancements.adventure.salvage_sherd.title": "Respecting the Remnants",
"advancements.adventure.read_power_from_chiseled_bookshelf.description": "Read the power signal of a Chiseled Bookshelf using a Comparator",
"advancements.adventure.read_power_from_chiseled_bookshelf.title": "The Power of Books",
"advancements.adventure.root.description": "Adventure, exploration and combat",
"advancements.adventure.root.title": "Adventure",
"advancements.adventure.shoot_arrow.description": "Shoot something with an Arrow",
@ -50,7 +52,7 @@
"advancements.adventure.sleep_in_bed.description": "Sleep in a Bed to change your respawn point",
"advancements.adventure.sleep_in_bed.title": "Sweet Dreams",
"advancements.adventure.trim_with_all_exclusive_armor_patterns.description": "Apply these smithing templates at least once: Spire, Snout, Rib, Ward, Silence, Vex, Tide, Wayfinder",
"advancements.adventure.trim_with_all_exclusive_armor_patterns.title": "Smithing with style",
"advancements.adventure.trim_with_all_exclusive_armor_patterns.title": "Smithing with Style",
"advancements.adventure.sniper_duel.description": "Kill a Skeleton from at least 50 meters away",
"advancements.adventure.sniper_duel.title": "Sniper Duel",
"advancements.adventure.spyglass_at_dragon.description": "Look at the Ender Dragon through a Spyglass",
@ -113,7 +115,7 @@
"advancements.husbandry.complete_catalogue.description": "Tame all Cat variants!",
"advancements.husbandry.complete_catalogue.title": "A Complete Catalogue",
"advancements.husbandry.feed_snifflet.description": "Feed a Snifflet",
"advancements.husbandry.feed_snifflet.title": "Little sniffs",
"advancements.husbandry.feed_snifflet.title": "Little Sniffs",
"advancements.husbandry.fishy_business.description": "Catch a fish",
"advancements.husbandry.fishy_business.title": "Fishy Business",
"advancements.husbandry.froglights.description": "Have all Froglights in your inventory",
@ -127,11 +129,11 @@
"advancements.husbandry.netherite_hoe.description": "Use a Netherite Ingot to upgrade a Hoe, and then reevaluate your life choices",
"advancements.husbandry.netherite_hoe.title": "Serious Dedication",
"advancements.husbandry.obtain_sniffer_egg.description": "Obtain a Sniffer Egg",
"advancements.husbandry.obtain_sniffer_egg.title": "Smells interesting",
"advancements.husbandry.obtain_sniffer_egg.title": "Smells Interesting",
"advancements.husbandry.plant_seed.description": "Plant a seed and watch it grow",
"advancements.husbandry.plant_seed.title": "A Seedy Place",
"advancements.husbandry.plant_any_sniffer_seed.description": "Plant any Sniffer seed",
"advancements.husbandry.plant_any_sniffer_seed.title": "Planting the past",
"advancements.husbandry.plant_any_sniffer_seed.title": "Planting the Past",
"advancements.husbandry.ride_a_boat_with_a_goat.description": "Get in a Boat and float with a Goat",
"advancements.husbandry.ride_a_boat_with_a_goat.title": "Whatever Floats Your Goat!",
"advancements.husbandry.root.description": "The world is full of friends and food",
@ -6029,6 +6031,10 @@
"telemetry_info.property_title": "Included Data",
"telemetry_info.screen.description": "Collecting this data helps us improve Minecraft by guiding us in directions that are relevant to our players.\nYou can also send in additional feedback to help us keep improving Minecraft.",
"telemetry_info.screen.title": "Telemetry Data Collection",
"telemetry.event.advancement_made.title": "Advancement Made",
"telemetry.event.advancement_made.description": "Understanding the context behind receiving an advancement can help us better understand and improve the progression of the game",
"telemetry.event.game_load_times.title": "Game Load Times",
"telemetry.event.game_load_times.description": "This event can help us figure out where improvements to startup performance are needed by measuring execution times of the startup phases",
"telemetry.event.optional": "%s (Optional)",
"telemetry.event.performance_metrics.description": "Knowing the overall performance profile of Minecraft helps us tune and optimize the game for a wide range of machine specifications and operating systems. \nGame version is included to help us compare the performance profile for new versions of Minecraft.",
"telemetry.event.performance_metrics.title": "Performance Metrics",
@ -6039,6 +6045,8 @@
"telemetry.event.world_loaded.title": "World Loaded",
"telemetry.event.world_unloaded.description": "This event is paired with the World Loaded event to calculate how long the world session has lasted.\nThe duration (in seconds and ticks) is measured when a world session has ended (quitting to title, disconnecting from a server).",
"telemetry.event.world_unloaded.title": "World Unloaded",
"telemetry.property.advancement_id.title": "Advancement ID",
"telemetry.property.advancement_game_time.title": "Game Time (Ticks)",
"telemetry.property.client_id.title": "Client ID",
"telemetry.property.client_modded.title": "Client Modded",
"telemetry.property.dedicated_memory_kb.title": "Dedicated Memory (kB)",
@ -6046,12 +6054,18 @@
"telemetry.property.frame_rate_samples.title": "Frame Rate Samples (FPS)",
"telemetry.property.game_mode.title": "Game Mode",
"telemetry.property.game_version.title": "Game Version",
"telemetry.property.launcher_name.title": "Launcher Name",
"telemetry.property.load_time_bootstrap_ms.title": "Bootstrap Time (Milliseconds)",
"telemetry.property.load_time_loading_overlay_ms.title": "Time in Loading Screen (Milliseconds)",
"telemetry.property.load_time_pre_window_ms.title": "Time Before Window Opens (Milliseconds)",
"telemetry.property.load_time_total_time_ms.title": "Total Load Time (Milliseconds)",
"telemetry.property.minecraft_session_id.title": "Minecraft Session ID",
"telemetry.property.new_world.title": "New World",
"telemetry.property.number_of_samples.title": "Sample Count",
"telemetry.property.operating_system.title": "Operating System",
"telemetry.property.opt_in.title": "Opt-In",
"telemetry.property.platform.title": "Platform",
"telemetry.property.realms_map_content.title": "Realms Map Content (Minigame Name)",
"telemetry.property.render_distance.title": "Render Distance",
"telemetry.property.render_time_samples.title": "Render Time Samples",
"telemetry.property.seconds_since_load.title": "Time Since Load (Seconds)",

View file

@ -1,6 +1,7 @@
use azalea_buf::McBuf;
use azalea_chat::FormattedText;
use azalea_core::{ResourceLocation, Slot};
use azalea_core::ResourceLocation;
use azalea_inventory::ItemSlot;
use azalea_protocol_macros::ClientboundGamePacket;
use std::collections::HashMap;
use std::io::Cursor;
@ -25,7 +26,7 @@ pub struct Advancement {
pub struct DisplayInfo {
pub title: FormattedText,
pub description: FormattedText,
pub icon: Slot,
pub icon: ItemSlot,
pub frame: FrameType,
pub show_toast: bool,
pub hidden: bool,
@ -130,7 +131,7 @@ mod tests {
display: Some(DisplayInfo {
title: FormattedText::from("title".to_string()),
description: FormattedText::from("description".to_string()),
icon: Slot::Empty,
icon: ItemSlot::Empty,
frame: FrameType::Task,
show_toast: true,
hidden: false,

View file

@ -10,7 +10,7 @@ use std::io::{Cursor, Write};
// TODO: rename the packet files to just like clientbound_add_entity instead of
// clientbound_add_entity_packet
pub const PROTOCOL_VERSION: u32 = 1073741956;
pub const PROTOCOL_VERSION: u32 = 1073741957;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ConnectionProtocol {

View file

@ -2949,7 +2949,8 @@ enum Item {
registry! {
enum LootConditionKind {
Inverted => "minecraft:inverted",
Alternative => "minecraft:alternative",
AnyOf => "minecraft:any_of",
AllOf => "minecraft:all_of",
RandomChance => "minecraft:random_chance",
RandomChanceWithLooting => "minecraft:random_chance_with_looting",
EntityProperties => "minecraft:entity_properties",