MCPcopy Create free account

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

Functions985 in github.com/clockworklabs/spacetimedb-minecraft

↓ 4 callersMethodread_java_float
(&mut self)
crates/mc173-server/src/io.rs:31
↓ 4 callersMethodset
(&mut self, x: usize, y: usize, z: usize, value: f64)
crates/mc173-module/src/gen/noise.rs:45
↓ 4 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/mc173-module/src/world.rs:551
↓ 4 callersMethodset_chunk
Raw function to add a chunk to the world at the given coordinates. Note that the given chunk only contains block and light data, so no entity or block
crates/mc173-module/src/world.rs:397
↓ 4 callersFunctionset_face
(metadata: &mut u8, face: Face)
crates/mc173-module/src/block/bed.rs:20
↓ 3 callersMethodbrightness
(self)
crates/mc173-module/src/world.rs:1700
↓ 3 callersFunctioncalc_weird_noise
(x_delta: f64, z_delta: f64, index: usize)
crates/mc173-module/src/gen/noise.rs:476
↓ 3 callersMethodcheck_big_tree_branch
Check a big tree branch, this function returns the first position on the line that is not valid for growing a branch. If none is returned then the bra
crates/mc173-module/src/gen/tree.rs:288
↓ 3 callersFunctioncheck_tree
Check if a tree can grow based on some common properties.
crates/mc173-module/src/gen/tree.rs:565
↓ 3 callersMethodcontains
Return true if this bounding box contains the given point.
crates/mc173-server/src/geom.rs:130
↓ 3 callersMethodfill
(&mut self, value: f64)
crates/mc173-module/src/gen/noise.rs:35
↓ 3 callersMethodgen_2d
Generate a 2D noise cube at a given offset with the given scale and frequency.
crates/mc173-module/src/gen/noise.rs:238
↓ 3 callersMethodget
(&self, index: usize)
crates/mc173-module/src/chunk.rs:398
↓ 3 callersMethodget_active_power_from
Get the active power produced by a block's face.
crates/mc173-module/src/world/power.rs:40
↓ 3 callersMethodget_block_light
(&self, pos: IVec3)
crates/mc173-module/src/chunk.rs:150
↓ 3 callersMethodget_chunk
Get a reference to a chunk, if existing.
crates/mc173-server/src/world.rs:99
↓ 3 callersFunctionget_light_emission
Get the light emission of a block given its id. The resulting value is between 0 and 15 included, so it's basically a 4-bit unsigned integer.
crates/mc173-module/src/block/material.rs:213
↓ 3 callersFunctionget_material
Get material of a block.
crates/mc173-server/src/block/material.rs:7
↓ 3 callersMethodget_power_from
Get the power produced by a block on a given face.
crates/mc173-module/src/world/power.rs:55
↓ 3 callersMethodget_rand_mut
Get a mutable access to this world's random number generator.
crates/mc173-module/src/world.rs:285
↓ 3 callersMethodget_sky_light
(&self, pos: IVec3)
crates/mc173-module/src/chunk.rs:164
↓ 3 callersMethodintersects
Return true if this bounding box intersects with the given one.
crates/mc173-module/src/geom.rs:107
↓ 3 callersFunctionis_active
(metadata: u8)
crates/mc173-module/src/block/lever.rs:41
↓ 3 callersMethodis_linkable_from
Return true if the block at given position can link to a redstone wire from its given face.
crates/mc173-module/src/world/power.rs:211
↓ 3 callersFunctionis_source
(metadata: u8)
crates/mc173-module/src/block/fluid.rs:6
↓ 3 callersMethodis_y
(self)
crates/mc173-module/src/geom.rs:369
↓ 3 callersMethoditer_blocks_in
(&'a self, min: IVec3, max: IVec3, cache: &'a mut ChunkCache)
crates/mc173-module/src/world.rs:988
↓ 3 callersMethodmc_sin
(self)
crates/mc173-module/src/gen/math.rs:50
↓ 3 callersMethodmc_sin_cos
(self)
crates/mc173-module/src/gen/math.rs:39
↓ 3 callersMethodnext_double_vec
Get the next pseudo-random double-precision float vector, x, y and z. This is not part of the standard Java class.
crates/mc173-module/src/rand.rs:172
↓ 3 callersMethodnext_gaussian
Get the next pseudo-random double-precision Gaussian random number.
crates/mc173-module/src/rand.rs:143
↓ 3 callersMethodnotify_flower
Notification of standard flower subclasses.
crates/mc173-module/src/world/notify.rs:149
↓ 3 callersMethodrecompute_height
Recompute the height column after the modification of the given block position. The height is recomputed and the skylight is also recomputed. This fu
crates/mc173-module/src/chunk.rs:238
↓ 3 callersMethodremove
(&mut self, face: Face)
crates/mc173-server/src/geom.rs:511
↓ 3 callersMethodreset
Reset the current tick index.
crates/mc173-module/src/world.rs:2185
↓ 3 callersMethodrotate_right
(self)
crates/mc173-module/src/geom.rs:411
↓ 3 callersMethodsend_full
(&self, server: &Server, connection_id: u64)
crates/mc173-server/src/chunk.rs:110
↓ 3 callersFunctionset_open
(metadata: &mut u8, open: bool)
crates/mc173-module/src/block/door.rs:38
↓ 3 callersMethodset_sky_light
(&mut self, pos: IVec3, light: u8)
crates/mc173-module/src/chunk.rs:171
↓ 3 callersMethodsub
(self, rhs: DVec3)
crates/mc173-module/src/geom.rs:277
↓ 2 callersFunctioncalc_2d_index
(pos: IVec3)
crates/mc173-server/src/chunk.rs:36
↓ 2 callersMethodcalc_biome
(&self, temperature: f64, humidity: f64, biome: f64)
crates/mc173-module/src/gen/overworld.rs:155
↓ 2 callersFunctioncalc_chunk_pos_unchecked
(pos: IVec3)
crates/mc173-server/src/chunk.rs:56
↓ 2 callersFunctioncalc_entity_chunk_pos
(pos: DVec3)
crates/mc173-module/src/chunk.rs:67
↓ 2 callersMethodcheck
Check if this shaped recipe can be crafted with the given inventory of the given size and items.
crates/mc173-module/src/craft.rs:419
↓ 2 callersMethodcheck
Check if this shaped recipe can be crafted with the given inventory of the given size and items.
crates/mc173-server/src/craft.rs:419
↓ 2 callersMethodcontains_x
(&self)
crates/mc173-module/src/geom.rs:511
↓ 2 callersMethodcontains_z
(&self)
crates/mc173-module/src/geom.rs:523
↓ 2 callersFunctionfast_entity
Return true if fast entity tracking is enabled on the server. To enable this feature, set `MC173_FAST_ENTITY=1`.
crates/module/src/config.rs:11
↓ 2 callersMethodgenerate_node
Generate a cave node with the given properties.
crates/mc173-module/src/gen/cave.rs:93
↓ 2 callersFunctionget_actual_face
(metadata: u8)
crates/mc173-module/src/block/door.rs:57
↓ 2 callersMethodget_biome
Get a single biome at given position.
crates/mc173-module/src/gen/overworld.rs:171
↓ 2 callersMethodget_block
(&self, pos: IVec3)
crates/mc173-module/src/chunk.rs:133
↓ 2 callersFunctionget_break_hardness
Get the break hardness of a block, the block hardness is a value that defines the time a player need to hit a block before breaking. When the player's
crates/mc173-module/src/block/material.rs:243
↓ 2 callersFunctionget_distance
(metadata: u8)
crates/mc173-module/src/block/fluid.rs:20
↓ 2 callersMethodget_height
Get saved height of a chunk column, Y component is ignored in the position.
crates/mc173-module/src/world.rs:580
↓ 2 callersFunctionhandle_break_block
(entity_id: u32, packet: StdbBreakBlockPacket)
crates/mc173-server/src/autogen/handle_break_block_reducer.rs:27
↓ 2 callersMethodhandle_client_close
Internal function to actually close and forget a client (if not already the case). This function returns true if the thread should continue to run.
crates/mc173-server/src/net.rs:398
↓ 2 callersFunctionhandle_look
(entity_id: u32, packet: StdbLookPacket)
crates/mc173-server/src/autogen/handle_look_reducer.rs:27
↓ 2 callersFunctionhandle_position
(entity_id: u32, packet: StdbPositionPacket)
crates/mc173-server/src/autogen/handle_position_reducer.rs:27
↓ 2 callersFunctionhandle_position_look
(entity_id: u32, packet: StdbPositionLookPacket)
crates/mc173-server/src/autogen/handle_position_look_reducer.rs:27
↓ 2 callersMethodinflate
Expand this bounding box in all direction by the given delta.
crates/mc173-module/src/geom.rs:66
↓ 2 callersFunctioninitial_scramble
(seed: i64)
crates/mc173-module/src/rand.rs:19
↓ 2 callersFunctionis_base_extended
(metadata: u8)
crates/mc173-server/src/block/piston.rs:29
↓ 2 callersMethodis_block_replaceable
Return true if the block at given position can be replaced.
crates/mc173-module/src/world/material.rs:20
↓ 2 callersFunctionis_cube
Return true if a block is a full cube.
crates/mc173-server/src/block/material.rs:110
↓ 2 callersFunctionis_redstone_block
(id: u8)
crates/mc173-module/src/world/notify.rs:556
↓ 2 callersMethodis_solid
(self)
crates/mc173-server/src/block/material.rs:482
↓ 2 callersFunctionis_upper
(metadata: u8)
crates/mc173-module/src/block/door.rs:45
↓ 2 callersMethoditer_block_colliding_boxes
Get the colliding boxes for a block, the colliding box will be offset to the block's position as needed. Not to confuse with overlay boxes, which are
crates/mc173-module/src/world/bound.rs:28
↓ 2 callersFunctionmc_cos
(x: f32)
crates/mc173-module/src/gen/math.rs:21
↓ 2 callersFunctionmc_sin
(x: f32)
crates/mc173-module/src/gen/math.rs:16
↓ 2 callersFunctionmc_sin_table
(index: u16)
crates/mc173-module/src/gen/math.rs:11
↓ 2 callersFunctionnew_invalid_packet_err
Return an invalid data io error with specific message.
crates/mc173-server/src/proto.rs:1297
↓ 2 callersFunctionnew_io_abort_error
(message: &'static str)
crates/mc173-server/src/net.rs:531
↓ 2 callersMethodnext
(&mut self)
crates/mc173-module/src/inventory.rs:184
↓ 2 callersMethodnext
(&mut self)
crates/mc173-module/src/world/bound.rs:347
↓ 2 callersMethodnotify_fluid
Notification of a moving fluid block.
crates/mc173-module/src/world/notify.rs:120
↓ 2 callersMethodplace_big_tree_branch
Place a branch from a position to another one.
crates/mc173-module/src/gen/tree.rs:279
↓ 2 callersMethodpoll
Poll events from this packet server. If an I/O error is returned, the error is critical and the
crates/mc173-server/src/net.rs:102
↓ 2 callersMethodpop_light_update_inner
Pops a light update from a world without updating the StdbWorld row
crates/mc173-module/src/world.rs:231
↓ 2 callersMethodpush
(&mut self, value: T)
crates/mc173-module/src/world.rs:2104
↓ 2 callersFunctionread_item_stack
(read: &mut impl Read)
crates/mc173-server/src/proto.rs:1301
↓ 2 callersMethodrecipe
If a crafting recipe is currently selected, return the result item.
crates/mc173-server/src/craft.rs:66
↓ 2 callersMethodremove
(&mut self, face: Face)
crates/mc173-module/src/geom.rs:499
↓ 2 callersMethodrotate_left
(self)
crates/mc173-module/src/geom.rs:423
↓ 2 callersMethodrun
(mut self)
crates/mc173-server/src/net.rs:238
↓ 2 callersMethodschedule_light_update
Schedule a light update to be processed in a future tick. See [`tick_light`](Self::tick_light).
crates/mc173-module/src/world.rs:617
↓ 2 callersMethodsend_disconnect
Send disconnect (a.k.a. kick) to a client.
crates/mc173-server/src/server.rs:313
↓ 2 callersMethodset_block
Set block and metadata at given position in the world, if the chunk is not loaded, none is returned, but if it is existing the previous block and meta
crates/module/src/world.rs:627
↓ 2 callersMethodset_max_stack_size
(mut self, max_stack_size: u16)
crates/mc173-module/src/item/mod.rs:190
↓ 2 callersMethodset_max_stack_size
(mut self, max_stack_size: u16)
crates/mc173-server/src/item/mod.rs:190
↓ 2 callersMethodset_seed
(&mut self, seed: i64)
crates/mc173-module/src/rand.rs:76
↓ 2 callersFunctionset_upper
(metadata: &mut u8, upper: bool)
crates/mc173-module/src/block/door.rs:50
↓ 2 callersMethodset_weather
Set the current weather in this world. If the weather has changed an event will be pushed into the events queue.
crates/mc173-module/src/world.rs:296
↓ 2 callersMethodtick
Tick the world, this ticks all entities. TODO: Guard this from being called recursively from tick functions.
crates/mc173-module/src/world.rs:1110
↓ 2 callersFunctiontick_inner
(cache: &mut ChunkCache)
crates/module/src/lib.rs:287
↓ 2 callersFunctionupdate_bounding_box_from_pos
This function recompute the current bounding box from the position and the last size that was used to create it.
crates/mc173-module/src/entity/common.rs:117
↓ 2 callersMethoduse_door_stack
Place a door item at given position.
crates/mc173-module/src/world/use.rs:126
↓ 2 callersFunctionwrap
(value: f64)
crates/mc173-module/src/gen/noise.rs:470
← previousnext →101–200 of 985, ranked by callers