MCPcopy Create free account

hub / github.com/clockworklabs/spacetimedb-minecraft / functions

Functions985 in github.com/clockworklabs/spacetimedb-minecraft

↓ 1 callersFunctionis_cube
Return true if a block is a full cube.
crates/mc173-module/src/block/material.rs:110
↓ 1 callersMethodis_empty
(&self)
crates/mc173-module/src/world.rs:2256
↓ 1 callersMethodis_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 callersFunctionis_extended
(metadata: u8)
crates/mc173-module/src/block/piston.rs:29
↓ 1 callersFunctionis_falling
(metadata: u8)
crates/mc173-module/src/block/fluid.rs:33
↓ 1 callersFunctionis_falling
(metadata: u8)
crates/mc173-server/src/block/fluid.rs:33
↓ 1 callersMethodis_fluid
(self)
crates/mc173-module/src/block/material.rs:438
↓ 1 callersFunctionis_head
(metadata: u8)
crates/mc173-module/src/block/bed.rs:46
↓ 1 callersMethodis_opaque
(self)
crates/mc173-module/src/block/material.rs:452
↓ 1 callersMethodis_opaque
(self)
crates/mc173-server/src/block/material.rs:508
↓ 1 callersFunctionis_opaque_cube
Return true if a block is a full opaque cube.
crates/mc173-server/src/block/material.rs:165
↓ 1 callersFunctionis_open
(metadata: u8)
crates/mc173-server/src/block/door.rs:33
↓ 1 callersMethodis_replaceable
(self)
crates/mc173-module/src/block/material.rs:456
↓ 1 callersMethodis_translucent
(self)
crates/mc173-module/src/block/material.rs:442
↓ 1 callersMethodis_translucent
(self)
crates/mc173-server/src/block/material.rs:498
↓ 1 callersFunctionitem
(id: u8)
crates/mc173-module/src/block/mod.rs:167
↓ 1 callersFunctionitem
(id: u8)
crates/mc173-server/src/block/mod.rs:168
↓ 1 callersMethoditer_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 callersMethoditer_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 callersMethodmax_real
(self)
crates/mc173-module/src/world.rs:1694
↓ 1 callersMethodmax_real
(self)
crates/mc173-server/src/world.rs:82
↓ 1 callersMethodmc_cos
(self)
crates/mc173-module/src/gen/math.rs:55
↓ 1 callersFunctionnew_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 callersMethodnext_blank
(&mut self)
crates/mc173-module/src/rand.rs:85
↓ 1 callersMethodnext_choice_mut
(&mut self, items: &'a mut [T])
crates/mc173-module/src/rand.rs:208
↓ 1 callersMethodnext_int
(&mut self)
crates/mc173-module/src/rand.rs:96
↓ 1 callersMethodnotify_block_unchecked
Notify a block at the position, the notification origin block id is given.
crates/mc173-module/src/world/notify.rs:32
↓ 1 callersMethodnotify_blocks_around
Notify all blocks around the position, the notification origin block id is given.
crates/mc173-module/src/world/notify.rs:18
↓ 1 callersMethodnotify_cactus
Notification of a cactus block. The block is broken if
crates/mc173-module/src/world/notify.rs:167
↓ 1 callersMethodnotify_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 callersMethodnotify_fluid_still
Notification of a still fluid block.
crates/mc173-module/src/world/notify.rs:138
↓ 1 callersMethodnotify_mushroom
Notification of a mushroom block.
crates/mc173-module/src/world/notify.rs:160
↓ 1 callersMethodnotify_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 callersMethodnotify_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 callersFunctionon_handle_look
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u32, &StdbLookPacket) + Send
crates/mc173-server/src/autogen/handle_look_reducer.rs:32
↓ 1 callersFunctionon_handle_position
( mut __callback: impl FnMut(&Identity, Option<Address>, &Status, &u32, &StdbPositionPacket) + Sen
crates/mc173-server/src/autogen/handle_position_reducer.rs:32
↓ 1 callersFunctionon_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 callersFunctionon_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 callersFunctionon_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 callersMethodplace_big_tree_leaf
Grow a big tree leaf ball of leaves.
crates/mc173-module/src/gen/tree.rs:252
↓ 1 callersMethodplace_big_tree_leaf_layer
Grow a single horizontal layer of leaves of given radius.
crates/mc173-module/src/gen/tree.rs:260
↓ 1 callersMethodplace_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 callersMethodplace_ladder
(&mut self, pos: IVec3, mut face: Face, mut metadata: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:199
↓ 1 callersMethodplace_lever
(&mut self, pos: IVec3, face: Face, mut metadata: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:190
↓ 1 callersMethodpush_light_update_inner
(&mut self, update: LightUpdate)
crates/mc173-module/src/world.rs:239
↓ 1 callersMethodray_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 callersMethodread_java_byte
(&mut self)
crates/mc173-module/src/io.rs:11
↓ 1 callersMethodread_java_long
(&mut self)
crates/mc173-server/src/io.rs:26
↓ 1 callersMethodread_java_short
(&mut self)
crates/mc173-module/src/io.rs:16
↓ 1 callersMethodrecompute_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 callersMethodremove
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 callersMethodresize
Recompute this entity's size and recompute the bounding box from its position.
crates/mc173-module/src/entity/mod.rs:586
↓ 1 callersMethodrotate_right
(self)
crates/mc173-server/src/geom.rs:418
↓ 1 callersFunctionset_base_extended
(metadata: &mut u8, extended: bool)
crates/mc173-server/src/block/piston.rs:35
↓ 1 callersMethodset_biome
(&mut self, pos: IVec3, biome: Biome)
crates/mc173-module/src/chunk.rs:202
↓ 1 callersMethodset_block_inner
(&mut self, pos: IVec3, id: u8, metadata: u8, chunk: &mut StdbChunk)
crates/module/src/world.rs:642
↓ 1 callersMethodset_block_inner
(&mut self, pos: IVec3, id: u8, metadata: u8, chunk: &mut StdbChunk)
crates/mc173-module/src/world.rs:489
↓ 1 callersMethodset_block_light
(&mut self, pos: IVec3, light: u8)
crates/mc173-module/src/chunk.rs:157
↓ 1 callersMethodset_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 callersMethodset_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 callersFunctionset_head
(metadata: &mut u8, head: bool)
crates/mc173-module/src/block/bed.rs:52
↓ 1 callersMethodset_height
(&mut self, pos: IVec3, height: u8)
crates/mc173-module/src/chunk.rs:189
↓ 1 callersMethodset_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 callersMethodset_max_damage
(mut self, max_damage: u16)
crates/mc173-module/src/item/mod.rs:195
↓ 1 callersMethodset_max_damage
(mut self, max_damage: u16)
crates/mc173-server/src/item/mod.rs:195
↓ 1 callersMethodset_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 callersMethodset_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 callersFunctionset_weather
(new_weather: Weather, dimension_id: i32)
crates/mc173-server/src/autogen/set_weather_reducer.rs:27
↓ 1 callersMethodsize
Calculate the size of this bounding box.
crates/mc173-module/src/geom.rs:29
↓ 1 callersFunctionstdb_handle_accept
(connection_id: u64)
crates/mc173-server/src/autogen/stdb_handle_accept_reducer.rs:25
↓ 1 callersFunctionstdb_handle_login
(connection_id: u64, packet: StdbInLoginPacket)
crates/mc173-server/src/autogen/stdb_handle_login_reducer.rs:27
↓ 1 callersFunctionstdb_handle_lost
(connection_id: u64, lost: bool)
crates/mc173-server/src/autogen/stdb_handle_lost_reducer.rs:26
↓ 1 callersFunctionstdb_kill_entity
Kill the entity on the player side.
crates/mc173-server/src/main.rs:174
↓ 1 callersFunctionstdb_spawn_entity_human
(server: &Server, player_observer_id: u32, human_target_id: u32)
crates/mc173-server/src/main.rs:130
↓ 1 callersMethodtick
Run a single tick on the server network and worlds.
crates/mc173-server/src/server.rs:64
↓ 1 callersMethodtick_net
Tick the network and accept incoming events.
crates/mc173-server/src/server.rs:77
↓ 1 callersMethodtick_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 callersMethodtick_weather
Update current weather in the world.
crates/mc173-module/src/world.rs:1138
↓ 1 callersFunctiontick_world
Tick this world.
crates/module/src/lib.rs:300
↓ 1 callersMethodto_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 callersMethodto_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 callersFunctionupdate_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 callersFunctionupdate_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 callersMethodupdate_players
Update this tracker to determine which move packet to send and to which players.
crates/module/src/entity.rs:221
↓ 1 callersMethoduse_bed_stack
(&mut self, mut pos: IVec3, face: Face, entity_id: u32, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:195
↓ 1 callersMethoduse_bone_meal_stack
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:256
↓ 1 callersMethoduse_flint_and_steel
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:278
↓ 1 callersMethoduse_hoe_stack
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:226
↓ 1 callersMethoduse_wheat_seeds_stack
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/use.rs:241
↓ 1 callersMethodwith_size
(mut self, size: u16)
crates/mc173-module/src/item/mod.rs:236
↓ 1 callersMethodwith_size
(mut self, size: u16)
crates/mc173-server/src/item/mod.rs:236
↓ 1 callersMethodwrite_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 callersMethodwrite_java_byte
(&mut self, b: i8)
crates/mc173-module/src/io.rs:85
↓ 1 callersMethodwrite_java_short
(&mut self, s: i16)
crates/mc173-module/src/io.rs:90
↓ 1 callersMethodwrite_java_string8
(&mut self, s: &str)
crates/mc173-server/src/io.rs:136
↓ 1 callersFunctionwrite_metadata
(write: &mut impl Write, metadata: &Metadata)
crates/mc173-server/src/proto.rs:1324
Methodadd
(self, rhs: DVec3)
crates/mc173-module/src/geom.rs:262
Methodadd
(self, rhs: DVec3)
crates/mc173-server/src/geom.rs:263
Methodadd_assign
(&mut self, rhs: DVec3)
crates/mc173-module/src/geom.rs:269
Methodadd_assign
(&mut self, rhs: DVec3)
crates/mc173-server/src/geom.rs:270
← previousnext →301–400 of 985, ranked by callers