mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix components, show_in_tooltip was removed
This commit is contained in:
parent
ef357fdf36
commit
37cde3ad32
2 changed files with 23 additions and 39 deletions
42
Cargo.lock
generated
42
Cargo.lock
generated
|
@ -209,7 +209,7 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|||
|
||||
[[package]]
|
||||
name = "azalea"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"azalea-auth",
|
||||
|
@ -249,7 +249,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-auth"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf",
|
||||
"azalea-crypto",
|
||||
|
@ -269,7 +269,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-block"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-block-macros",
|
||||
"azalea-buf",
|
||||
|
@ -278,7 +278,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-block-macros"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -287,7 +287,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-brigadier"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf",
|
||||
"azalea-chat",
|
||||
|
@ -298,7 +298,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-buf"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf-macros",
|
||||
"byteorder",
|
||||
|
@ -311,7 +311,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-buf-macros"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -320,7 +320,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-chat"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf",
|
||||
"azalea-language",
|
||||
|
@ -333,7 +333,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-client"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"azalea-auth",
|
||||
|
@ -368,7 +368,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-core"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf",
|
||||
"azalea-chat",
|
||||
|
@ -384,7 +384,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-crypto"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"azalea-buf",
|
||||
|
@ -401,7 +401,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-entity"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-block",
|
||||
"azalea-buf",
|
||||
|
@ -424,7 +424,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-inventory"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf",
|
||||
"azalea-chat",
|
||||
|
@ -439,7 +439,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-inventory-macros"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -448,7 +448,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-language"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"compact_str",
|
||||
"serde",
|
||||
|
@ -457,7 +457,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-physics"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-block",
|
||||
"azalea-core",
|
||||
|
@ -475,7 +475,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-protocol"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-recursion",
|
||||
|
@ -510,7 +510,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-protocol-macros"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -519,7 +519,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-registry"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-buf",
|
||||
"azalea-registry-macros",
|
||||
|
@ -529,7 +529,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-registry-macros"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn",
|
||||
|
@ -537,7 +537,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "azalea-world"
|
||||
version = "0.11.0+mc1.21.5-rc2"
|
||||
version = "0.11.0+mc1.21.5"
|
||||
dependencies = [
|
||||
"azalea-block",
|
||||
"azalea-buf",
|
||||
|
|
|
@ -213,20 +213,11 @@ impl DataComponent for Damage {
|
|||
const KIND: DataComponentKind = DataComponentKind::Damage;
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct Unbreakable {
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
#[derive(Clone, PartialEq, Default, AzBuf)]
|
||||
pub struct Unbreakable;
|
||||
impl DataComponent for Unbreakable {
|
||||
const KIND: DataComponentKind = DataComponentKind::Unbreakable;
|
||||
}
|
||||
impl Default for Unbreakable {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
show_in_tooltip: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct CustomName {
|
||||
|
@ -268,7 +259,6 @@ impl DataComponent for Rarity {
|
|||
pub struct Enchantments {
|
||||
#[var]
|
||||
pub levels: HashMap<Enchantment, u32>,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
impl DataComponent for Enchantments {
|
||||
const KIND: DataComponentKind = DataComponentKind::Enchantments;
|
||||
|
@ -301,7 +291,6 @@ pub struct BlockPredicate {
|
|||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct AdventureModePredicate {
|
||||
pub predicates: Vec<BlockPredicate>,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
|
@ -361,7 +350,6 @@ pub struct AttributeModifiersEntry {
|
|||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct AttributeModifiers {
|
||||
pub modifiers: Vec<AttributeModifiersEntry>,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
impl DataComponent for AttributeModifiers {
|
||||
const KIND: DataComponentKind = DataComponentKind::AttributeModifiers;
|
||||
|
@ -466,7 +454,6 @@ impl DataComponent for Tool {
|
|||
pub struct StoredEnchantments {
|
||||
#[var]
|
||||
pub enchantments: HashMap<Enchantment, i32>,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
impl DataComponent for StoredEnchantments {
|
||||
const KIND: DataComponentKind = DataComponentKind::StoredEnchantments;
|
||||
|
@ -475,7 +462,6 @@ impl DataComponent for StoredEnchantments {
|
|||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct DyedColor {
|
||||
pub rgb: i32,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
impl DataComponent for DyedColor {
|
||||
const KIND: DataComponentKind = DataComponentKind::DyedColor;
|
||||
|
@ -584,7 +570,6 @@ impl DataComponent for WrittenBookContent {
|
|||
pub struct Trim {
|
||||
pub material: TrimMaterial,
|
||||
pub pattern: TrimPattern,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
impl DataComponent for Trim {
|
||||
const KIND: DataComponentKind = DataComponentKind::Trim;
|
||||
|
@ -816,7 +801,6 @@ impl DataComponent for ContainerLoot {
|
|||
#[derive(Clone, PartialEq, AzBuf)]
|
||||
pub struct JukeboxPlayable {
|
||||
pub song: registry::JukeboxSong,
|
||||
pub show_in_tooltip: bool,
|
||||
}
|
||||
impl DataComponent for JukeboxPlayable {
|
||||
const KIND: DataComponentKind = DataComponentKind::JukeboxPlayable;
|
||||
|
|
Loading…
Add table
Reference in a new issue