Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/spacetimedb-minecraft
/ functions
Functions
985 in github.com/clockworklabs/spacetimedb-minecraft
⨍
Functions
985
◇
Types & classes
405
↓ 1 callers
Function
is_cube
Return true if a block is a full cube.
crates/mc173-module/src/block/material.rs:110
↓ 1 callers
Method
is_empty
(&self)
crates/mc173-module/src/world.rs:2256
↓ 1 callers
Method
is_empty
Return true if this item stack is air, which is a special case where the item stack represent an empty slot.
crates/mc173-server/src/item/mod.rs:248
↓ 1 callers
Function
is_extended
(metadata: u8)
crates/mc173-module/src/block/piston.rs:29
↓ 1 callers
Function
is_falling
(metadata: u8)
crates/mc173-module/src/block/fluid.rs:33
↓ 1 callers
Function
is_falling
(metadata: u8)
crates/mc173-server/src/block/fluid.rs:33
↓ 1 callers
Method
is_fluid
(self)
crates/mc173-module/src/block/material.rs:438
↓ 1 callers
Function
is_head
(metadata: u8)
crates/mc173-module/src/block/bed.rs:46
↓ 1 callers
Method
is_opaque
(self)
crates/mc173-module/src/block/material.rs:452
↓ 1 callers
Method
is_opaque
(self)
crates/mc173-server/src/block/material.rs:508
↓ 1 callers
Function
is_opaque_cube
Return true if a block is a full opaque cube.
crates/mc173-server/src/block/material.rs:165
↓ 1 callers
Function
is_open
(metadata: u8)
crates/mc173-server/src/block/door.rs:33
↓ 1 callers
Method
is_replaceable
(self)
crates/mc173-module/src/block/material.rs:456
↓ 1 callers
Method
is_translucent
(self)
crates/mc173-module/src/block/material.rs:442
↓ 1 callers
Method
is_translucent
(self)
crates/mc173-server/src/block/material.rs:498
↓ 1 callers
Function
item
(id: u8)
crates/mc173-module/src/block/mod.rs:167
↓ 1 callers
Function
item
(id: u8)
crates/mc173-server/src/block/mod.rs:168
↓ 1 callers
Method
iter_blocks_boxes_in
Iterate over all bounding boxes in the given area. Min is inclusive and max is exclusive.
crates/mc173-module/src/world/bound.rs:215
↓ 1 callers
Method
iter_blocks_in_box
Iterate over all blocks that are in the bounding box area, this doesn't check for actual collision with the block's bounding box, it just return all p
crates/mc173-module/src/world/bound.rs:207
↓ 1 callers
Method
max_real
(self)
crates/mc173-module/src/world.rs:1694
↓ 1 callers
Method
max_real
(self)
crates/mc173-server/src/world.rs:82
↓ 1 callers
Method
mc_cos
(self)
crates/mc173-module/src/gen/math.rs:55
↓ 1 callers
Function
new_chunk_data_packet
Create a new chunk data packet for the given chunk. This only works for a single chunk and the given coordinate should be part of that chunk. The two
crates/mc173-server/src/chunk.rs:205
↓ 1 callers
Method
next_blank
(&mut self)
crates/mc173-module/src/rand.rs:85
↓ 1 callers
Method
next_choice_mut
(&mut self, items: &'a mut [T])
crates/mc173-module/src/rand.rs:208
↓ 1 callers
Method
next_int
(&mut self)
crates/mc173-module/src/rand.rs:96
↓ 1 callers
Method
notify_block_unchecked
Notify a block at the position, the notification origin block id is given.
crates/mc173-module/src/world/notify.rs:32
↓ 1 callers
Method
notify_blocks_around
Notify all blocks around the position, the notification origin block id is given.
crates/mc173-module/src/world/notify.rs:18
↓ 1 callers
Method
notify_cactus
Notification of a cactus block. The block is broken if
crates/mc173-module/src/world/notify.rs:167
↓ 1 callers
Method
notify_door
(&mut self, pos: IVec3, id: u8, mut metadata: u8, origin_id: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/notify.rs:231
↓ 1 callers
Method
notify_fluid_still
Notification of a still fluid block.
crates/mc173-module/src/world/notify.rs:138
↓ 1 callers
Method
notify_mushroom
Notification of a mushroom block.
crates/mc173-module/src/world/notify.rs:160
↓ 1 callers
Method
notify_redstone
Notify a redstone dust block. This function is a bit special because this notification in itself will trigger other notifications for all updated bloc
crates/mc173-module/src/world/notify.rs:317
↓ 1 callers
Method
notify_trapdoor
Notification of a trapdoor, breaking it if no longer on its wall, or updating its state depending on redstone signal.
crates/mc173-module/src/world/notify.rs:209
↓ 1 callers
Function
on_handle_look
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u32, &StdbLookPacket) + Send
crates/mc173-server/src/autogen/handle_look_reducer.rs:32
↓ 1 callers
Function
on_handle_position
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u32, &StdbPositionPacket) + Sen
crates/mc173-server/src/autogen/handle_position_reducer.rs:32
↓ 1 callers
Function
on_handle_position_look
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u32, &StdbPositionLookPacket) +
crates/mc173-server/src/autogen/handle_position_look_reducer.rs:32
↓ 1 callers
Function
on_stdb_handle_accept
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u64) + Send + 'static, )
crates/mc173-server/src/autogen/stdb_handle_accept_reducer.rs:30
↓ 1 callers
Function
on_stdb_handle_login
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u64, &StdbInLoginPacket) + Send
crates/mc173-server/src/autogen/stdb_handle_login_reducer.rs:36
↓ 1 callers
Method
place_big_tree_leaf
Grow a big tree leaf ball of leaves.
crates/mc173-module/src/gen/tree.rs:252
↓ 1 callers
Method
place_big_tree_leaf_layer
Grow a single horizontal layer of leaves of given radius.
crates/mc173-module/src/gen/tree.rs:260
↓ 1 callers
Method
place_block
Place the block at the given position in the world oriented toward given face. Note that this function do not check if this is legal, it will do what'
crates/mc173-module/src/world/place.rs:147
↓ 1 callers
Method
place_ladder
(&mut self, pos: IVec3, mut face: Face, mut metadata: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:199
↓ 1 callers
Method
place_lever
(&mut self, pos: IVec3, face: Face, mut metadata: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:190
↓ 1 callers
Method
push_light_update_inner
(&mut self, update: LightUpdate)
crates/mc173-module/src/world.rs:239
↓ 1 callers
Method
ray_trace_blocks
Ray trace from an origin point and return the first colliding blocks, either entity or block. The fluid argument is used to hit the fluid **source** b
crates/mc173-module/src/world/bound.rs:234
↓ 1 callers
Method
read_java_byte
(&mut self)
crates/mc173-module/src/io.rs:11
↓ 1 callers
Method
read_java_long
(&mut self)
crates/mc173-server/src/io.rs:26
↓ 1 callers
Method
read_java_short
(&mut self)
crates/mc173-module/src/io.rs:16
↓ 1 callers
Method
recompute_all_height
Recompute the whole height map based on all block in the chunk. This also reset all sky light values to the right values each columns. Note that skyli
crates/mc173-module/src/chunk.rs:297
↓ 1 callers
Method
remove
Remove an element in this vector at the given index, the element is swapped with the last element of the vector.
crates/mc173-module/src/world.rs:2144
↓ 1 callers
Method
resize
Recompute this entity's size and recompute the bounding box from its position.
crates/mc173-module/src/entity/mod.rs:586
↓ 1 callers
Method
rotate_right
(self)
crates/mc173-server/src/geom.rs:418
↓ 1 callers
Function
set_base_extended
(metadata: &mut u8, extended: bool)
crates/mc173-server/src/block/piston.rs:35
↓ 1 callers
Method
set_biome
(&mut self, pos: IVec3, biome: Biome)
crates/mc173-module/src/chunk.rs:202
↓ 1 callers
Method
set_block_inner
(&mut self, pos: IVec3, id: u8, metadata: u8, chunk: &mut StdbChunk)
crates/module/src/world.rs:642
↓ 1 callers
Method
set_block_inner
(&mut self, pos: IVec3, id: u8, metadata: u8, chunk: &mut StdbChunk)
crates/mc173-module/src/world.rs:489
↓ 1 callers
Method
set_block_light
(&mut self, pos: IVec3, light: u8)
crates/mc173-module/src/chunk.rs:157
↓ 1 callers
Method
set_block_notify
Same as the [`set_block_self_notify`] method, but additionally the blocks around are notified of that neighbor change. [`set_block_self_notify`]: Sel
crates/module/src/world.rs:607
↓ 1 callers
Method
set_block_self_notify
Same as the [`set_block`] method, but the previous block and new block are notified of that removal and addition. [`set_block`]: Self::set_block
crates/module/src/world.rs:617
↓ 1 callers
Function
set_head
(metadata: &mut u8, head: bool)
crates/mc173-module/src/block/bed.rs:52
↓ 1 callers
Method
set_height
(&mut self, pos: IVec3, height: u8)
crates/mc173-module/src/chunk.rs:189
↓ 1 callers
Method
set_look
Update the last known look of this tracked entity. /// TODO(jdetter): redo this impl - we need to write this data back to stdb
crates/module/src/entity.rs:172
↓ 1 callers
Method
set_max_damage
(mut self, max_damage: u16)
crates/mc173-module/src/item/mod.rs:195
↓ 1 callers
Method
set_max_damage
(mut self, max_damage: u16)
crates/mc173-server/src/item/mod.rs:195
↓ 1 callers
Method
set_pos
Update the last known position of this tracked entity. /// TODO(jdetter): redo this impl - we need to write this data back to stdb
crates/module/src/entity.rs:161
↓ 1 callers
Method
set_vel
Update the last known velocity of this entity. TODO(jdetter): redo this impl - we need to write this data back to stdb
crates/module/src/entity.rs:185
↓ 1 callers
Function
set_weather
(new_weather: Weather, dimension_id: i32)
crates/mc173-server/src/autogen/set_weather_reducer.rs:27
↓ 1 callers
Method
size
Calculate the size of this bounding box.
crates/mc173-module/src/geom.rs:29
↓ 1 callers
Function
stdb_handle_accept
(connection_id: u64)
crates/mc173-server/src/autogen/stdb_handle_accept_reducer.rs:25
↓ 1 callers
Function
stdb_handle_login
(connection_id: u64, packet: StdbInLoginPacket)
crates/mc173-server/src/autogen/stdb_handle_login_reducer.rs:27
↓ 1 callers
Function
stdb_handle_lost
(connection_id: u64, lost: bool)
crates/mc173-server/src/autogen/stdb_handle_lost_reducer.rs:26
↓ 1 callers
Function
stdb_kill_entity
Kill the entity on the player side.
crates/mc173-server/src/main.rs:174
↓ 1 callers
Function
stdb_spawn_entity_human
(server: &Server, player_observer_id: u32, human_target_id: u32)
crates/mc173-server/src/main.rs:130
↓ 1 callers
Method
tick
Run a single tick on the server network and worlds.
crates/mc173-server/src/server.rs:64
↓ 1 callers
Method
tick_net
Tick the network and accept incoming events.
crates/mc173-server/src/server.rs:77
↓ 1 callers
Method
tick_sky_light
Update the sky light value depending on the current time, it is then used to get the real light value of blocks.
crates/mc173-module/src/world.rs:1361
↓ 1 callers
Method
tick_weather
Update current weather in the world.
crates/mc173-module/src/world.rs:1138
↓ 1 callers
Function
tick_world
Tick this world.
crates/module/src/lib.rs:300
↓ 1 callers
Method
to_non_empty
Simplify this item stack by converting it into `None` if the item is just a air block, which is equivalent to no item for Minecraft, regardless of the
crates/mc173-module/src/item/mod.rs:255
↓ 1 callers
Method
to_non_empty
Simplify this item stack by converting it into `None` if the item is just a air block, which is equivalent to no item for Minecraft, regardless of the
crates/mc173-server/src/item/mod.rs:255
↓ 1 callers
Function
update_look_at_by_step
Modify the look angles to point to a given target step by step. The eye height is included in the calculation in order to make the head looking at tar
crates/mc173-module/src/entity/common.rs:155
↓ 1 callers
Function
update_look_by_step
Modify the look angles of this entity, limited to the given step. We need to call this function many time to reach the desired look.
crates/mc173-module/src/entity/common.rs:140
↓ 1 callers
Method
update_players
Update this tracker to determine which move packet to send and to which players.
crates/module/src/entity.rs:221
↓ 1 callers
Method
use_bed_stack
(&mut self, mut pos: IVec3, face: Face, entity_id: u32, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:195
↓ 1 callers
Method
use_bone_meal_stack
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:256
↓ 1 callers
Method
use_flint_and_steel
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:278
↓ 1 callers
Method
use_hoe_stack
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:226
↓ 1 callers
Method
use_wheat_seeds_stack
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:241
↓ 1 callers
Method
with_size
(mut self, size: u16)
crates/mc173-module/src/item/mod.rs:236
↓ 1 callers
Method
with_size
(mut self, size: u16)
crates/mc173-server/src/item/mod.rs:236
↓ 1 callers
Method
write_data
Write this chunk's data to the given writer, the data is copied from the start point for the given size. Note that this function may change the start
crates/mc173-server/src/chunk.rs:136
↓ 1 callers
Method
write_java_byte
(&mut self, b: i8)
crates/mc173-module/src/io.rs:85
↓ 1 callers
Method
write_java_short
(&mut self, s: i16)
crates/mc173-module/src/io.rs:90
↓ 1 callers
Method
write_java_string8
(&mut self, s: &str)
crates/mc173-server/src/io.rs:136
↓ 1 callers
Function
write_metadata
(write: &mut impl Write, metadata: &Metadata)
crates/mc173-server/src/proto.rs:1324
Method
add
(self, rhs: DVec3)
crates/mc173-module/src/geom.rs:262
Method
add
(self, rhs: DVec3)
crates/mc173-server/src/geom.rs:263
Method
add_assign
(&mut self, rhs: DVec3)
crates/mc173-module/src/geom.rs:269
Method
add_assign
(&mut self, rhs: DVec3)
crates/mc173-server/src/geom.rs:270
← previous
next →
301–400 of 985, ranked by callers