Skip to content

Commit

Permalink
🐛 Fix fox and conduit UUID changes from 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Oct 7, 2024
1 parent 0c7be62 commit e2c908b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions java/server/world/block/conduit.mcdoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
dispatch minecraft:block_entity[conduit] to struct Conduit {
...super::BlockEntity,
#[uuid]
target_uuid?: (
#[until="1.16"] TargetUuid |
#[since="1.16"] int[] @ 4 |
),
/// The hostile mob that the conduit is currently attacking.
#[until="1.16"]
target_uuid?: #[uuid] TargetUuid,
/// The hostile mob that the conduit is currently attacking.
#[since="1.16"]
Target?: #[uuid] int[] @ 4,
}

dispatch minecraft:block[conduit] to minecraft:block_entity[conduit]
Expand Down
9 changes: 5 additions & 4 deletions java/server/world/entity/mob/breedable/fox.mcdoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
dispatch minecraft:entity[fox] to struct Fox {
...super::Breedable,
/// List of trusted players.
TrustedUUIDs?: [#[uuid] (
#[until="1.16"] TrustedUUID |
#[since="1.16"] int[] @ 4 |
)],
#[until="1.16"]
TrustedUUIDs?: [#[uuid] TrustedUUID],
/// List of trusted players.
#[since="1.16"]
Trusted?: [#[uuid] int[] @ 4],
/// Whether it is sleeping.
Sleeping?: boolean,
/// The type of fox.
Expand Down

0 comments on commit e2c908b

Please sign in to comment.