MCPcopy Create free account

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

Functions985 in github.com/clockworklabs/spacetimedb-minecraft

↓ 122 callersMethodnext_int_bounded
(&mut self, bound: i32)
crates/mc173-module/src/rand.rs:100
↓ 73 callersMethodwrite_java_int
(&mut self, i: i32)
crates/mc173-server/src/io.rs:95
↓ 55 callersMethodwrite_java_byte
(&mut self, b: i8)
crates/mc173-server/src/io.rs:85
↓ 53 callersMethodget_block
Get block and metadata at given position in the world, if the chunk is not loaded, none is returned.
crates/mc173-module/src/world.rs:569
↓ 44 callersMethoddelta
(self)
crates/mc173-module/src/geom.rs:435
↓ 39 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/mc173-module/src/world.rs:473
↓ 34 callersMethodwrite_java_short
(&mut self, s: i16)
crates/mc173-server/src/io.rs:90
↓ 30 callersMethodextrude
(self, inset: f64, depth: f64)
crates/mc173-module/src/geom.rs:449
↓ 25 callersMethodgenerate
Generate all caves in the given chunk.
crates/mc173-module/src/gen/cave.rs:27
↓ 25 callersMethodget
(&self, x: usize, y: usize, z: usize)
crates/mc173-module/src/gen/noise.rs:40
↓ 22 callersMethodis_block_opaque_cube
Return true if the block at position is opaque. FIXME: A lot of calls to this function should instead be for "normal_cube". This is not exactly the s
crates/mc173-module/src/world/material.rs:32
↓ 22 callersMethodlen
(&self)
crates/mc173-module/src/world.rs:2250
↓ 22 callersMethodsend
(&self, client: NetworkClient, packet: O)
crates/mc173-server/src/net.rs:127
↓ 21 callersMethodmax
(self)
crates/mc173-module/src/world.rs:1688
↓ 19 callersFunctiongrad3
(value: u16, x: f64, y: f64, z: f64)
crates/mc173-module/src/gen/noise.rs:433
↓ 19 callersMethodnext_float
Get the next pseudo-random single-precision float.
crates/mc173-module/src/rand.rs:131
↓ 18 callersMethodlen
(&self)
crates/mc173-server/src/geom.rs:494
↓ 17 callersMethoditer
(&self)
crates/mc173-module/src/world.rs:2271
↓ 17 callersFunctionlerp
(factor: f64, from: f64, to: f64)
crates/mc173-module/src/gen/noise.rs:428
↓ 16 callersFunctionget_face
(metadata: u8)
crates/mc173-module/src/block/bed.rs:8
↓ 16 callersMethodinsert
(&mut self, face: Face)
crates/mc173-module/src/geom.rs:492
↓ 16 callersMethodopposite
(self)
crates/mc173-module/src/geom.rs:398
↓ 16 callersMethodpush
(&mut self, value: f32, factor: f32)
crates/mc173-module/src/util.rs:20
↓ 16 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/mc173-module/src/world.rs:561
↓ 15 callersFunctionget_material
Get material of a block.
crates/mc173-module/src/block/material.rs:7
↓ 14 callersMethodis_solid
(self)
crates/mc173-module/src/block/material.rs:426
↓ 14 callersMethodread_java_byte
(&mut self)
crates/mc173-server/src/io.rs:11
↓ 13 callersMethodas_dvec3
(&self)
crates/mc173-module/src/dvec3.rs:13
↓ 13 callersMethodis_empty
(&self)
crates/mc173-module/src/geom.rs:482
↓ 12 callersFunctioncalc_3d_index
(pos: IVec3)
crates/mc173-module/src/chunk.rs:30
↓ 12 callersMethodget_chunk
Get a reference to a chunk, if existing.
crates/mc173-module/src/world.rs:429
↓ 11 callersMethodget
(&self, face: Face)
crates/mc173-server/src/geom.rs:636
↓ 11 callersMethodis_empty
(&self)
crates/mc173-server/src/geom.rs:489
↓ 11 callersMethodread_java_int
(&mut self)
crates/mc173-server/src/io.rs:21
↓ 11 callersMethodwrite_java_double
(&mut self, d: f64)
crates/mc173-server/src/io.rs:110
↓ 10 callersMethodis_block_air
(&self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/material.rs:51
↓ 10 callersMethodnext
(&mut self, bits: u8)
crates/mc173-module/src/rand.rs:90
↓ 10 callersMethodnext_double
Get the next pseudo-random double-precision float.
crates/mc173-module/src/rand.rs:136
↓ 9 callersMethodbreak_block
Break a block naturally and loot its items. This returns true if successful, false if the chunk/pos was not valid. It also notifies blocks around, thi
crates/mc173-module/src/world/break.rs:18
↓ 9 callersMethodget_block_material
Get the block material at given position, defaults to air if no chunk.
crates/mc173-module/src/world/material.rs:15
↓ 9 callersMethodis_block
(&self, pos: IVec3, id: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/material.rs:61
↓ 8 callersMethodgen_weird_2d
Weird noise generation (a handcrafted noise generator used by Notchian server that uses the same type of permutations table and offset as the perlin n
crates/mc173-module/src/gen/noise.rs:275
↓ 8 callersMethodplace_faced
Generic function to place a block that has a basic facing function.
crates/mc173-module/src/world/place.rs:185
↓ 8 callersMethodread_java_boolean
(&mut self)
crates/mc173-server/src/io.rs:41
↓ 8 callersMethodread_java_double
(&mut self)
crates/mc173-server/src/io.rs:36
↓ 8 callersMethodread_java_short
(&mut self)
crates/mc173-server/src/io.rs:16
↓ 8 callersMethodread_java_string16
(&mut self, max_len: usize)
crates/mc173-server/src/io.rs:45
↓ 8 callersMethodwrite_java_string16
(&mut self, s: &str)
crates/mc173-server/src/io.rs:119
↓ 7 callersMethodadd
(&mut self, x: usize, y: usize, z: usize, value: f64)
crates/mc173-module/src/gen/noise.rs:50
↓ 7 callersMethodget_light
Get light level at the given position, in range 0..16.
crates/mc173-module/src/world.rs:591
↓ 7 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-module/src/item/mod.rs:248
↓ 7 callersFunctionis_opaque_cube
Return true if a block is a full opaque cube.
crates/mc173-module/src/block/material.rs:165
↓ 7 callersMethodwrite_java_boolean
(&mut self, b: bool)
crates/mc173-server/src/io.rs:115
↓ 6 callersFunctioncalc_3d_index
(pos: IVec3)
crates/mc173-server/src/chunk.rs:25
↓ 6 callersFunctioncalc_chunk_pos
(pos: IVec3)
crates/mc173-module/src/chunk.rs:50
↓ 6 callersMethodget
(&self, index: usize)
crates/mc173-module/src/world.rs:2261
↓ 6 callersMethodget_mut
(&mut self, index: usize)
crates/mc173-module/src/world.rs:2266
↓ 6 callersMethodhandle_position_look_inner
(&self, pos: Option<StdbDVec3>, look: Option<StdbVec2>, on_ground: bool)
crates/module/src/player.rs:290
↓ 6 callersMethodid
(self)
crates/mc173-server/src/net.rs:159
↓ 6 callersFunctionis_open
(metadata: u8)
crates/mc173-module/src/block/door.rs:33
↓ 6 callersMethodnext_long
(&mut self)
crates/mc173-module/src/rand.rs:126
↓ 6 callersMethodnotify_block
Notify a block a the position, the notification origin block id is given.
crates/mc173-module/src/world/notify.rs:25
↓ 6 callersMethodset
(&mut self, index: usize, value: u8)
crates/mc173-module/src/chunk.rs:408
↓ 6 callersMethodwrite_java_float
(&mut self, f: f32)
crates/mc173-server/src/io.rs:105
↓ 5 callersMethodadvance
Go to the next entity to tick.
crates/mc173-module/src/world.rs:2215
↓ 5 callersMethodapply
(&self)
crates/mc173-module/src/chunk_cache.rs:34
↓ 5 callersMethodas_dvec3
(self)
crates/mc173-server/src/convert/dvec3.rs:6
↓ 5 callersFunctioncalc_chunk_pos_unchecked
(pos: IVec3)
crates/mc173-module/src/chunk.rs:61
↓ 5 callersFunctioncalc_pos
(mut pos: f64)
crates/mc173-module/src/gen/noise.rs:449
↓ 5 callersMethodcan_place_block
This function checks if the given block id can be placed at a particular position in the world, the given face indicates toward which face this block
crates/mc173-module/src/world/place.rs:19
↓ 5 callersMethodcontains
Return true if this bounding box contains the given point.
crates/mc173-module/src/geom.rs:129
↓ 5 callersFunctiondefault
()
crates/mc173-module/src/util.rs:6
↓ 5 callersMethodgen_3d
Generate a 3D noise cube at a given offset with the given scale and frequency.
crates/mc173-module/src/gen/noise.rs:181
↓ 5 callersFunctionget_actual_distance
(metadata: u8)
crates/mc173-module/src/block/fluid.rs:47
↓ 5 callersFunctionget_light_opacity
Get the light opacity of a block given its id.
crates/mc173-module/src/block/material.rs:199
↓ 5 callersMethodhas_passive_power_from
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/power.rs:35
↓ 5 callersMethodinsert
(&mut self, face: Face)
crates/mc173-server/src/geom.rs:504
↓ 5 callersMethodkind
Get the kind of entity from this instance.
crates/mc173-module/src/entity/mod.rs:567
↓ 5 callersFunctionnew_invalid_data_err
Return an invalid data io error with specific message.
crates/mc173-module/src/io.rs:154
↓ 5 callersFunctionnew_invalid_data_err
Return an invalid data io error with specific message.
crates/mc173-server/src/io.rs:154
↓ 5 callersMethodnext_choice
(&mut self, items: &[T])
crates/mc173-module/src/rand.rs:194
↓ 5 callersMethoduse_block_stack
Place a block toward the given face. This is used for single blocks, multi blocks are handled apart by other functions that do not rely on the block p
crates/mc173-module/src/world/use.rs:80
↓ 4 callersFunctioncalc_2d_index
(pos: IVec3)
crates/mc173-module/src/chunk.rs:41
↓ 4 callersFunctioncalc_chunk_pos_unchecked
(pos: IVec3)
crates/mc173-server/src/world.rs:50
↓ 4 callersFunctioncalc_eye_pos
Calculate the eye position of the given entity.
crates/mc173-module/src/entity/common.rs:39
↓ 4 callersMethodcheck_clearance
Check clearance of the given position, depending on the current entity size.
crates/mc173-module/src/path.rs:85
↓ 4 callersMethodclear
(&mut self)
crates/mc173-module/src/geom.rs:487
↓ 4 callersMethodensure_point
(&mut self, pos: IVec3)
crates/mc173-module/src/path.rs:69
↓ 4 callersMethodfind_safe_point
Find a safe point to path find to in above or below the given position.
crates/mc173-module/src/path.rs:114
↓ 4 callersFunctionfrom_id
Get an item from its numeric id.
crates/mc173-module/src/item/mod.rs:142
↓ 4 callersMethodis_block_solid
Return true if the block at position is material solid.
crates/mc173-module/src/world/material.rs:41
↓ 4 callersFunctionis_fluid_proof
Return true if the given block can block fluid.
crates/mc173-module/src/block/material.rs:186
↓ 4 callersMethoditer_mut
(&mut self)
crates/mc173-module/src/world.rs:2276
↓ 4 callersMethodmax
(self)
crates/mc173-server/src/world.rs:76
↓ 4 callersFunctionmodify_look
(look: Vec2)
crates/mc173-server/src/main.rs:257
↓ 4 callersFunctionmodify_position
(pos: DVec3)
crates/mc173-server/src/main.rs:248
↓ 4 callersMethodoffset
Offset this bounding box' coordinates by the given delta.
crates/mc173-module/src/geom.rs:74
↓ 4 callersMethodoffset
Offset this bounding box' coordinates by the given delta.
crates/mc173-server/src/geom.rs:75
↓ 4 callersMethodpush
Add an item to the inventory. The given item stack is modified according to the amount of items actually added to the inventory, its size will be set
crates/mc173-module/src/inventory.rs:72
↓ 4 callersMethodread
(read: &mut impl Read)
crates/mc173-server/src/proto.rs:789
next →1–100 of 985, ranked by callers