Expand description
The bus’s domains: each one’s actions as functions
(world::get_block(dim, pos), entity::position(uuid),
player::give_item(name, item, count)) beside its events.
What happens to the world.
Modules§
- generation
- Worlds generated.
- loot
- Loot tables rolled.
Structs§
- Drop
Loot - Rolls a loot table and drops its items at
pos. - Entities
InBox - The uuids of the entities in a box.
- Entity
Count - How many entities of
entity_typeare indim(None: no such dimension or type). - Explode
- Makes an explosion.
- Explosion
- Fired when an explosion occurs in a world.
- Fill
Region - Fills a box with
state; how many blocks changed (None: failed). - GetBlock
- The block at
pos(minecraft:stone);Nonewithout the dimension. - IsRaining
- Whether it rains in
dim. - IsThundering
- Whether it thunders in
dim. - Place
Feature - Places a configured feature at
pos. - Raycast
Block - The first block a ray hits.
- Raycast
Entity - The first entity a ray hits: its uuid.
- Scan
Region - The non-air blocks in a box.
- SetBlock
- Sets the block at
pos; whether it did. - SetThunder
- Starts or stops thunder.
- SetTime
- Sets the time of day (0 dawn, 6000 noon, 12000 dusk, 18000 midnight).
- SetWeather
- Starts or stops rain for
durationticks. - Time
- The time of day of
dim;Nonewithout the dimension.
Functions§
- drop_
loot - Rolls a loot table and drops its items at
pos. - entities_
in_ box - The uuids of the entities in a box.
- entity_
count - How many entities of
entity_typeare indim(None: no such dimension or type). - explode
- Makes an explosion.
- fill_
region - Fills a box with
state; how many blocks changed (None: failed). - get_
block - The block at
pos(minecraft:stone);Nonewithout the dimension. - is_
raining - Whether it rains in
dim. - is_
thundering - Whether it thunders in
dim. - place_
feature - Places a configured feature at
pos. - raycast_
block - The first block a ray hits.
- raycast_
entity - The first entity a ray hits: its uuid.
- scan_
region - The non-air blocks in a box.
- set_
block - Sets the block at
pos; whether it did. - set_
thunder - Starts or stops thunder.
- set_
time - Sets the time of day (0 dawn, 6000 noon, 12000 dusk, 18000 midnight).
- set_
weather - Starts or stops rain for
durationticks. - time
- The time of day of
dim;Nonewithout the dimension.