Skip to content

Commit

Permalink
🐛 Fix #50 spawner_minecart SpawnData
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Nov 15, 2024
1 parent 3bdb2cd commit 9bc8030
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion java/server/world/entity/minecart.mcdoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use super::super::block::spawner::SpawnPotential
use super::super::block::spawner::SpawnerEntry
use super::super::entity::AnyEntity
use ::java::server::util::BlockState
use ::java::server::util::SlottedItem
Expand Down Expand Up @@ -66,7 +67,10 @@ dispatch minecraft:entity[spawner_minecart] to struct SpawnerMinecart {
SpawnPotentials?: [SpawnPotential],
/// Data for the next mob to place.
/// Will be overwritten by `SpawnPotentials`.
SpawnData?: AnyEntity,
SpawnData?: (
#[until="1.18"] AnyEntity |
#[since="1.18"] SpawnerEntry |
),
/// Number of entities that will be placed.
SpawnCount: short,
/// Range that the spawned entities will be placed in.
Expand Down

0 comments on commit 9bc8030

Please sign in to comment.