Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.20.5 #127

Merged
merged 16 commits into from
Apr 23, 2024
Prev Previous commit
Next Next commit
fix recipes and commands packets
  • Loading branch information
mat-1 committed Apr 11, 2024
commit e05c842322f76856073db45d0aead1f132f19a6f
7 changes: 4 additions & 3 deletions azalea-inventory/src/slot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ use std::io::{Cursor, Write};
/// Either an item in an inventory or nothing.
#[derive(Debug, Clone, Default, PartialEq)]
pub enum ItemSlot {
#[default]
Empty,
Present(ItemSlotData),
TODO: make this use the new network protocol and implement all the components
// #[default]
// Empty,
// Present(ItemSlotData),
}

impl ItemSlot {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ pub enum BrigadierParser {
Swizzle,
Team,
ItemSlot,
ItemSlots,
ResourceLocation,
Function,
EntityAnchor,
Expand All @@ -143,6 +144,9 @@ pub enum BrigadierParser {
TemplateMirror,
TemplateRotation,
Heightmap,
LootTable,
LootPredicate,
LootModifier,
Uuid,
}

Expand Down
Loading
Loading