MCPcopy Create free account

hub / github.com/DarkZek/RustCraft / functions

Functions594 in github.com/DarkZek/RustCraft

↓ 110 callersMethodget
(&self)
lib/rc_shared/src/atlas.rs:23
↓ 84 callersMethodsend
(&self, message: Protocol)
lib/rc_networking/src/bistream/wasm.rs:91
↓ 73 callersMethodget
(&self, pos: Vector3<usize>)
client/src/systems/chunk/condensed_spacial_data.rs:47
↓ 56 callersMethodget_mut
(&mut self, pos: Vector3<usize>)
client/src/systems/chunk/condensed_spacial_data.rs:53
↓ 55 callersMethodspawn
(seed: u32, chunk_pos: Vector3<i32>, pos: Vector3<i32>, world: &mut RawChunkData)
server/src/game/generation/structures/tree.rs:15
↓ 39 callersMethodlen
(&self)
client/src/systems/chunk/lookup.rs:40
↓ 32 callersMethodset
(&self, value: TextureAtlas)
lib/rc_shared/src/atlas.rs:27
↓ 31 callersMethoddraw_face
( &mut self, position: Vector3<f32>, face: &Face, color: LightingColor )
client/src/utils/mesh/draw_kit.rs:41
↓ 30 callersMethodsub_index
(&self, index: &TextureAtlasIndex)
lib/rc_shared/src/atlas.rs:196
↓ 28 callersMethodget_mut
(&mut self, position: [i32; 3])
lib/rc_shared/src/relative_chunk_map.rs:38
↓ 23 callersFunctionglobal_to_local_position
(vector: Vector3<i32>)
lib/rc_shared/src/helpers.rs:126
↓ 22 callersFunctiontry_place_block
( affected_chunk_pos: ChunkPosition, world: &mut RawChunkData, pos: Vector3<i32>, block: u32,
server/src/game/generation/structures/mod.rs:48
↓ 20 callersMethodload
( &'a self, reader: &'a mut Reader<'_>, _settings: &'a Self::Settings, _load_c
client/src/systems/asset/parsing/pack.rs:22
↓ 19 callersMethodlerp
(self, b: Self, t: f32)
lib/rc_shared/src/helpers.rs:36
↓ 15 callersMethodwith_scale
(mut self, scale: f32)
server/src/game/generation/noise.rs:18
↓ 11 callersMethodget_block_from_id
(&self, block_index: BlockId)
lib/rc_shared/src/block/mod.rs:64
↓ 11 callersMethodtry_recv
(&mut self)
lib/rc_networking/src/bistream/wasm.rs:80
↓ 10 callersMethodsample_2d
Returns an index with the range 0-1
server/src/game/generation/noise.rs:24
↓ 9 callersMethodheight
(&self)
lib/rc_shared/src/atlas.rs:103
↓ 9 callersMethodlog
(&mut self, message: &str)
client/src/systems/ui/console/mod.rs:65
↓ 9 callersFunctionmax
(x: f32, y: f32)
lib/rc_shared/src/aabb.rs:12
↓ 9 callersFunctionmin
(x: f32, y: f32)
lib/rc_shared/src/aabb.rs:23
↓ 9 callersMethodoffset
Offset an Aabb by a given offset
lib/rc_shared/src/aabb.rs:43
↓ 9 callersFunctionto_bevy_vec3
(vector: Vector3<f32>)
lib/rc_shared/src/helpers.rs:120
↓ 8 callersMethodapply_mesh
(mut self, mesh: &mut Mesh)
client/src/utils/mesh/draw_kit.rs:107
↓ 7 callersMethoddraw
( &self, pos: Vector3<f32>, visible_map: ViewableDirection, light_color: [Ligh
client/src/game/block.rs:18
↓ 7 callersFunctionfrom_bevy_vec3
(vector: Vec3)
lib/rc_shared/src/helpers.rs:115
↓ 7 callersMethodwith_wind_strength
(mut self)
client/src/utils/mesh/draw_kit.rs:36
↓ 6 callersMethodadd_flag
(&mut self, flag: ChunkFlagsBitMap)
client/src/systems/chunk/flags.rs:29
↓ 6 callersFunctionshould_draw_betweens
( block_states: &BlockStates, world: &ChunkDataStorage, pos: Vector3<usize>, offset: Vector3<i
lib/rc_shared/src/viewable_direction.rs:192
↓ 5 callersFunctionadd_vertex_extension
( layout: &MeshVertexBufferLayoutRef, descriptor: &mut RenderPipelineDescriptor, attribute: MeshVe
client/src/systems/asset/material/chunk_extension.rs:41
↓ 5 callersMethoddraw
(&self)
lib/rc_shared/src/block/mod.rs:162
↓ 5 callersMethodflipped
(&self)
lib/rc_shared/src/atlas.rs:212
↓ 5 callersMethodget_game_object
(&self, game_object_id: &GameObjectId)
server/src/game/world/data.rs:70
↓ 5 callersMethodtry_move
Returns the maximum movement allowed before collision with another `Aabb`
lib/rc_shared/src/aabb.rs:161
↓ 4 callersMethodbuild
(&mut self)
client/src/systems/chunk/builder/thread/executor.rs:22
↓ 4 callersMethodcalculate_states
(&mut self)
lib/rc_shared/src/block/mod.rs:125
↓ 4 callersMethodcreate_chunk
Creates a new chunk from data
client/src/systems/chunk/mod.rs:74
↓ 4 callersMethodfor_each
(&self, mut cb: F)
client/src/systems/chunk/nearby_chunk_map.rs:42
↓ 4 callersMethodget_by_id
(&self, name: &str)
lib/rc_shared/src/item/mod.rs:53
↓ 4 callersMethodget_position
(&self, world_position: Vector3<i32>)
client/src/systems/chunk/nearby_chunk_map.rs:128
↓ 4 callersFunctionglobal_f32_to_local_position
(vector: Vector3<f32>)
lib/rc_shared/src/helpers.rs:152
↓ 4 callersMethodhas_flag
(&self, flag: ChunkFlagsBitMap)
client/src/systems/chunk/flags.rs:24
↓ 4 callersFunctionrecv_protocol
Reads a `Protocol` from some RecvStream
lib/rc_networking/src/bistream/mod.rs:69
↓ 4 callersFunctionsend_protocol
Writes a `Protocol` to some RecvStream
lib/rc_networking/src/bistream/mod.rs:51
↓ 4 callersMethodtry_translate
Attempt to translate an Aabb by a delta, moving the maximum distance allowed before a collision Supports movement on only one axis at a time
lib/rc_shared/src/aabb.rs:189
↓ 4 callersFunctionworld_to_index
(world_position: Vector3<i32>, index_center: Vector3<i32>)
client/src/systems/chunk/nearby_chunk_map.rs:182
↓ 3 callersMethodaabb_collides
Check if this Aabb intersects with `other`
lib/rc_shared/src/aabb.rs:103
↓ 3 callersFunctionclamp_map
(input: Range<f64>, output: Range<f64>, v: T)
server/src/game/generation/phase2.rs:129
↓ 3 callersMethodget_block_id
(&self, pos: GlobalBlockPosition)
server/src/game/world/data.rs:86
↓ 3 callersFunctionget_channel
(protocol: &Protocol)
lib/rc_networking/src/lib.rs:36
↓ 3 callersMethodget_identifier
(&self)
lib/rc_shared/src/block/mod.rs:157
↓ 3 callersMethodget_start_id_by_definition
Gets the beginning of the block id's for a block definition
lib/rc_shared/src/block/mod.rs:101
↓ 3 callersFunctionjwt_sign
(audience: &str, username: &str, subject: u64, validity: Duration)
api/src/jwt.rs:16
↓ 3 callersMethodload
( &'a self, reader: &'a mut Reader<'_>, _settings: &'a Self::Settings, _load_c
lib/rc_shared/src/item/loader.rs:13
↓ 3 callersMethodposition
(&self)
client/src/systems/chunk/nearby_cache.rs:23
↓ 3 callersMethodsend
(&self, message: Protocol)
lib/rc_networking/src/bistream/native.rs:92
↓ 3 callersMethodshifted
(mut self, movement: Vector3<i32>)
server/src/game/generation/structures/mod.rs:37
↓ 3 callersFunctionsignum
(n: f32)
client/src/systems/physics/raycasts.rs:142
↓ 3 callersFunctionstop_clicking
( locals: &mut MouseInteractionResource, transforms: &mut Query<(&mut Transform, &mut Visibility), Wit
client/src/game/interaction/destroy.rs:20
↓ 3 callersMethoduncapture
(&mut self, query: &mut Query<&mut Visibility>)
client/src/systems/ui/console/mod.rs:139
↓ 3 callersFunctionupdate_history_item
( query: &mut Query<(&mut Text, &mut BackgroundColor, &mut Visibility)>, item_entity: Entity, text
client/src/systems/ui/console/ui.rs:258
↓ 3 callersFunctionverify_stream
Channel must send data to be created, so verify data sent and remove from reader
lib/rc_networking/src/client/handshake.rs:24
↓ 3 callersMethodwidth
(&self)
lib/rc_shared/src/atlas.rs:99
↓ 3 callersFunctionworld_to_index_unchecked
(world_position: Vector3<i32>, index_center: Vector3<i32>)
client/src/systems/chunk/nearby_chunk_map.rs:206
↓ 2 callersMethodbuild_lighting
( &self, context: &mut ChunkBuildContext )
client/src/systems/chunk/builder/lighting.rs:28
↓ 2 callersFunctioncalculate_color
(color: &BlockLightRecord)
client/src/systems/chunk/builder/lighting.rs:157
↓ 2 callersMethodcollides
(&self, other: &StructureBoundingBox)
server/src/game/generation/structures/mod.rs:24
↓ 2 callersFunctiondo_raycast
Attempts a raycast of the terrain
client/src/systems/physics/raycasts.rs:15
↓ 2 callersFunctionerror
(message: &str)
client/src/authentication.rs:21
↓ 2 callersFunctiongenerate_item_mesh
( identifier: &str, item_states: &ItemStates )
client/src/game/game_object/mesh.rs:14
↓ 2 callersMethodgenerate_viewable_map
( &self, block_states: &BlockStates, build_context: &ChunkBuildContext, chunk_
client/src/systems/chunk/data/viewable.rs:34
↓ 2 callersMethodget_chunk
(&self, pos: Vector3<i32>)
client/src/systems/chunk/nearby_cache.rs:72
↓ 2 callersMethodget_default
(&self)
client/src/systems/asset/atlas/resource_packs.rs:25
↓ 2 callersMethodget_image
(&self)
lib/rc_shared/src/atlas.rs:63
↓ 2 callersMethodget_surrounding_voxel_collision_colliders
Get the colliders of all blocks that could come in contact with an `Aabb`
lib/rc_shared/src/aabb.rs:117
↓ 2 callersMethodinsert_chunk
( &mut self, chunk: ChunkData )
server/src/game/world/data.rs:43
↓ 2 callersMethodinsert_game_object
( &mut self, game_object_id: GameObjectId, entity: Entity, chunk_pos: Vector3<
server/src/game/world/data.rs:52
↓ 2 callersMethodjob
(&mut self, value: &JsValue)
client/src/systems/chunk/builder/thread/platform/wasm.rs:113
↓ 2 callersFunctionjwt_validate
(token: String, audience: &str)
api/src/jwt.rs:38
↓ 2 callersMethodload_states
(&mut self, path: String, asset_server: &AssetServer)
lib/rc_shared/src/item/mod.rs:49
↓ 2 callersFunctionmap
Takes a `value` in range `input` and converts it to the range `output`
lib/rc_shared/src/helpers.rs:186
↓ 2 callersFunctionnegotiate_handshake
Negotiates a set of streams, and user id with the connection
lib/rc_networking/src/client/handshake.rs:15
↓ 2 callersFunctionopen_new_conn
Accepts new connections then creates network channels
lib/rc_networking/src/server/systems.rs:74
↓ 2 callersFunctionplayer_leg
( entity_commands: &mut EntityCommands, meshes: &mut Assets<Mesh>, handle: Handle<TranslucentChunk
client/src/game/game_object/player.rs:447
↓ 2 callersMethodpush_item
Pushes an type into the inventory. Returns true if inserted, false if no space
server/src/game/inventory.rs:50
↓ 2 callersMethodput_slot
(&mut self, content: Option<ItemStack>, slot: usize)
client/src/game/inventory/mod.rs:55
↓ 2 callersFunctionread_exact
Reads an exact amount of bytes from a RecvStream
lib/rc_networking/src/bistream/mod.rs:32
↓ 2 callersMethodrecv
(&mut self)
lib/rc_networking/src/bistream/wasm.rs:84
↓ 2 callersFunctionrotate_sun_moon_sprite
( day_progress: f32, query: &mut Query<&mut Transform>, entity: &Entity )
client/src/game/world/sun.rs:119
↓ 2 callersMethodrun
Runs the node logic This is where you encode draw commands. This will run on every view on which the graph is running. If you don't want your effect
client/src/systems/post_processing/node.rs:43
↓ 2 callersMethodselected_item
Gets the select block's, block id
client/src/game/inventory/mod.rs:30
↓ 2 callersFunctionstart
()
client/src/start.rs:48
↓ 2 callersMethodtranslate_with_collision_detection
Translates a physics object by a delta, with delta position collision detection
client/src/systems/physics/mod.rs:61
↓ 2 callersMethodunload_all_chunks
(&mut self, commands: &mut Commands)
client/src/systems/chunk/mod.rs:156
↓ 2 callersMethodunload_chunk
(&mut self, position: Vector3<i32>, commands: &mut Commands)
client/src/systems/chunk/mod.rs:164
↓ 2 callersMethodupdate_column
Loops over chunks in a column and populates the data for its ChunkColumnData Currently this is skylight levels
server/src/game/world/column/update.rs:15
↓ 1 callersFunctionadd_structures
Adds structures to chunk `world_pos` is the position of `world`, while `generation_pos` is a surrounding chunk that is having its structures generated
server/src/game/generation/phase4.rs:13
↓ 1 callersMethodbuild
(&self, app: &mut App)
client/src/systems/api/mod.rs:26
↓ 1 callersMethodbuild_mesh
( &self, block_states: &BlockStates, edge_faces: bool, context: &ChunkBuildCon
client/src/systems/chunk/builder/generate_mesh.rs:23
next →1–100 of 594, ranked by callers