diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-12-12 00:56:02 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-12 00:56:02 -0600 |
| commit | f9c25665c203d6377ace62f1e95381d037d8fd9e (patch) | |
| tree | 8b4131d20fe661d3cc1175ec27f801fe61df41ea /azalea-protocol/src/common/debug_subscription.rs | |
| parent | 82ad975242292d5875780b4398b62637674bf50a (diff) | |
| download | azalea-drasl-f9c25665c203d6377ace62f1e95381d037d8fd9e.tar.xz | |
Refactor azalea-registry (#294)
* move registries in azalea-registry into separate modules
* rename Item and Block to ItemKind and BlockKind
* remove 'extra' registries from azalea-registry
* hide deprecated items from docs
* use DamageKindKey instead of Identifier when parsing registries
* store tag entries as a Vec instead of a HashSet
* sort tag values by protocol id
* update changelog
Diffstat (limited to 'azalea-protocol/src/common/debug_subscription.rs')
| -rw-r--r-- | azalea-protocol/src/common/debug_subscription.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/common/debug_subscription.rs b/azalea-protocol/src/common/debug_subscription.rs index 221cd98c..0be792e1 100644 --- a/azalea-protocol/src/common/debug_subscription.rs +++ b/azalea-protocol/src/common/debug_subscription.rs @@ -2,7 +2,7 @@ use std::fmt::Debug; use azalea_buf::AzBuf; use azalea_core::position::{BlockPos, Vec3}; -use azalea_registry::{Block, DebugSubscription, GameEvent, PointOfInterestKind}; +use azalea_registry::builtin::{BlockKind, DebugSubscription, GameEvent, PointOfInterestKind}; // see DebugSubscriptions.java @@ -119,7 +119,7 @@ pub enum DebugEntityBlockIntersection { #[derive(Clone, Debug, AzBuf, PartialEq)] pub struct DebugHiveInfo { - pub kind: Block, + pub kind: BlockKind, #[var] pub occupant_count: i32, #[var] |
