Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DarkZek/RustCraft
/ functions
Functions
594 in github.com/DarkZek/RustCraft
⨍
Functions
594
◇
Types & classes
288
Function
loadGame
(onLoaded: () => void)
site/src/utils/game.ts:3
Function
load_block_states
( mut states: ResMut<BlockStates> )
server/src/main.rs:131
Function
load_main_menu_world
(asset_server: Res<AssetServer>, mut data: ResMut<MainMenuWorldState>)
client/src/systems/ui/main_menu_chunks.rs:16
Function
load_resource_zips
( packs: Res<Assets<ResourcePacks>>, mut service: ResMut<AssetService>, server: Res<AssetServer>,
client/src/systems/asset/atlas/resource_packs.rs:60
Function
load_spawn_chunks
( mut command: Commands, mut world: ResMut<WorldData>, config: Res<ServerConfig>, res_config:
server/src/game/world/mod.rs:53
Method
local_offset
( &self, u_min: Option<f32>, u_max: Option<f32>, v_min: Option<f32>, v
lib/rc_shared/src/atlas.rs:168
Function
local_to_global_position
(chunk_pos: Vector3<i32>, block_pos: Vector3<usize>)
lib/rc_shared/src/helpers.rs:145
Method
log_with_style
(&mut self, message: &str, text_color: Color, background_color: Color)
client/src/systems/ui/console/mod.rs:116
Function
login
( Json(payload): Json<LoginRequest>, )
api/src/login.rs:19
Function
login
(username: string)
site/src/services/apiService.ts:15
Function
main
()
client/src/main.rs:20
Function
main
()
api/src/main.rs:31
Function
main
()
server/src/main.rs:49
Function
mesh_scheduler
Schedules chunk meshes to be built
client/src/systems/chunk/builder/mod.rs:57
Function
mesh_updater
Updates the mesh data with the new built data
client/src/systems/chunk/builder/mod.rs:106
Function
messages_update
( mut event_reader: EventReader<ReceivePacket>, mut physics_objects: Query<&mut PhysicsObject>, mu
client/src/game/game_object/spawn.rs:19
Function
messages_update
( mut event_reader: EventReader<ReceivePacket>, mut app_state: ResMut<NextState<AppState>>, mut in
client/src/systems/networking/messages.rs:12
Function
mouse_highlight_interaction
( // highlight_data: ResMut<HighlightData>, // translation_data: Query<&mut Transform, Without<MainCam
client/src/game/interaction/highlight.rs:19
Function
mouse_interaction_destroy
( debugging_info: Res<DebuggingInfo>, mouse_button_input: Res<ButtonInput<MouseButton>>, mut trans
client/src/game/interaction/destroy.rs:31
Function
mouse_interaction_place
( debugging: Res<DebuggingInfo>, mouse_button_input: Res<ButtonInput<MouseButton>>, camera: Query<
client/src/game/interaction/place.rs:26
Method
multiply
(&mut self, width: f32, height: f32)
lib/rc_shared/src/atlas.rs:205
Function
neighbor_test_cases
()
client/src/systems/chunk/builder/build_context.rs:168
Function
network_chunk_sync
( mut event_reader: EventReader<ReceivePacket>, mut commands: Commands, mut meshes: ResMut<Assets<
client/src/systems/networking/chunk.rs:23
Function
network_location_sync
( physics_query: Query<&PhysicsObject, (With<Player>, Changed<PhysicsObject>)>, transform_query: Query
client/src/systems/networking/location_sync.rs:18
Method
new
()
client/src/game/player.rs:9
Method
new
()
client/src/utils/mesh/draw_kit.rs:23
Method
new
()
client/src/systems/connection/connect.rs:24
Method
new
Creates a new physics object
client/src/systems/physics/mod.rs:47
Method
new
(user_id: u64)
client/src/systems/networking/mod.rs:42
Method
new
()
client/src/systems/api/mod.rs:38
Method
new
( server: Res<AssetServer>, materials: &mut Assets<ChunkMaterial>, translucent_materia
client/src/systems/asset/mod.rs:41
Method
new
(list: Vec<ResourcePack>)
client/src/systems/asset/atlas/resource_packs.rs:21
Method
new
()
client/src/systems/chunk/mod.rs:65
Method
new
(size: usize)
client/src/systems/chunk/condensed_spacial_data.rs:14
Method
new
(data: Vec<&ChunkData>)
client/src/systems/chunk/lookup.rs:13
Method
new
(position: Vector3<i32>, data: CondensedSpacialData<T>)
client/src/systems/chunk/nearby_chunk_map.rs:35
Method
new
( data: ChunkDataStorage, position: Vector3<i32>, entity: Entity, opaque_entit
client/src/systems/chunk/data/mod.rs:32
Method
new
( states: &BlockStates, cache: &NearbyChunkCache, column_cache: &NearbyChunkColumnCach
client/src/systems/chunk/builder/build_context.rs:33
Method
new
(block_states: BlockStates)
client/src/systems/chunk/builder/thread/executor.rs:15
Method
new
(mut executor: ChunkBuilderExecutor)
client/src/systems/chunk/builder/thread/platform/threaded.rs:16
Method
new
(executor: ChunkBuilderExecutor)
client/src/systems/chunk/builder/thread/platform/unthreaded.rs:15
Method
new
(executor: ChunkBuilderExecutor)
client/src/systems/chunk/builder/thread/platform/wasm.rs:30
Method
new
(bottom_left: Vector3<f32>, size: Vector3<f32>)
lib/rc_shared/src/aabb.rs:38
Method
new
()
lib/rc_shared/src/atlas.rs:17
Method
new
()
lib/rc_shared/src/item/mod.rs:40
Method
new
(item: ItemType, amount: u32)
lib/rc_shared/src/item/types.rs:11
Method
new
()
lib/rc_shared/src/block/mod.rs:56
Method
new
()
lib/rc_networking/src/skip_verification.rs:10
Method
new
()
lib/rc_networking/src/client/wasm/mod.rs:57
Method
new
()
lib/rc_networking/src/client/native/mod.rs:53
Method
new
(position: Vector2<i32>, data: ChunkColumnData)
lib/rc_networking/src/protocol/clientbound/chunk_column_update.rs:13
Method
new
(id: String, amount: u32, slot: u32)
lib/rc_networking/src/protocol/clientbound/update_inventory_slot.rs:12
Method
new
(data: ChunkDataStorage, x: i32, y: i32, z: i32)
lib/rc_networking/src/protocol/clientbound/chunk_update.rs:39
Method
new
(id: u32, x: i32, y: i32, z: i32)
lib/rc_networking/src/protocol/clientbound/block_update.rs:13
Method
new
( slots: [Option<ItemStack>; 10], hotbar_slot: Option<u8>)
lib/rc_networking/src/protocol/clientbound/update_inventory.rs:12
Method
new
(eid: GameObjectId)
lib/rc_networking/src/protocol/clientbound/despawn_game_object.rs:11
Method
new
(loading: bool)
lib/rc_networking/src/protocol/clientbound/update_loading.rs:10
Method
new
(x: i32, y: i32, z: i32)
lib/rc_networking/src/protocol/serverbound/request_chunk.rs:11
Method
new
(x: f32, y: f32, z: f32)
lib/rc_networking/src/protocol/serverbound/player_move.rs:11
Method
new
(x: i32, y: i32, z: i32)
lib/rc_networking/src/protocol/serverbound/acknowledge_chunk.rs:11
Method
new
(slot: u8)
lib/rc_networking/src/protocol/serverbound/change_hotbar_slot.rs:10
Method
new
(x: i32, y: i32, z: i32)
lib/rc_networking/src/protocol/serverbound/place_block.rs:12
Method
new
(x: i32, y: i32, z: i32)
lib/rc_networking/src/protocol/serverbound/destroy_block.rs:12
Method
new
( position: ChunkPosition, world: ChunkDataStorage, metadata: ChunkMetadata, b
server/src/game/chunk.rs:15
Method
new
(entity: Entity, name: String)
server/src/game/player.rs:9
Method
new
(seed: u32)
server/src/game/generation/noise.rs:11
Method
new
( bottom_left: Vector3<i32>, size: Vector3<i32> )
server/src/game/generation/structures/mod.rs:14
Method
new_empty
(position: Vector3<i32>)
client/src/systems/chunk/nearby_chunk_map.rs:26
Method
new_empty
(position: Vector3<i32>, expansion: usize)
lib/rc_shared/src/relative_chunk_map.rs:12
Method
new_empty
(position: Vector2<i32>, expansion: usize)
lib/rc_shared/src/relative_chunk_flat_map.rs:12
Method
new_handleless
( world: ChunkDataStorage, position: Vector3<i32>, )
client/src/systems/chunk/data/mod.rs:57
Method
new_mut
(data_mut: Vec<&mut ChunkData>)
client/src/systems/chunk/lookup.rs:26
Function
on_disconnect
( mut commands: Commands, mut chunk_system: ResMut<ChunkSystem>, entities: Query<Entity, Or<(With<
client/src/game/disconnect.rs:5
Function
open_session
( Json(payload): Json<OpenSessionBody>, )
api/src/open_session.rs:19
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/wood_log.rs:104
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/dirt.rs:36
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/water.rs:98
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/air.rs:24
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/pipe.rs:42
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/sand.rs:36
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/plaster.rs:36
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/leaves.rs:102
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/stone.rs:36
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/long_grass.rs:81
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/lamp.rs:104
Method
parse_block_state
(id: BlockId)
lib/rc_shared/src/block/blocks/grass.rs:104
Method
partial_cmp
(&self, other: &Self)
client/src/systems/chunk/builder/entry.rs:20
Function
physics_location_sync
Syncs all of the changed PhysicsObjects to the transform
client/src/systems/physics/sync.rs:9
Function
physics_rotation_sync
Syncs all of the changed PhysicsObjects to the transform
client/src/systems/physics/sync.rs:33
Function
physics_tick
( mut query: Query<&mut PhysicsObject>, chunks: Res<ChunkSystem>, block_states: Res<BlockStates>,
client/src/systems/physics/simulate.rs:16
Function
plugins
()
site/vite.config.ts:26
Method
poll
(&mut self)
client/src/systems/chunk/builder/thread/platform/threaded.rs:52
Method
poll
(&mut self)
client/src/systems/chunk/builder/thread/platform/unthreaded.rs:26
Method
position
(&self)
client/src/systems/chunk/nearby_column_cache.rs:22
Function
prepare_view_depth_textures
A system that marks all view depth textures as readable in shaders. The post processing pass needs to do this, and it doesn't happen by default.
client/src/systems/post_processing/node.rs:143
Method
prepass_vertex_shader
()
client/src/systems/asset/material/chunk_extension.rs:23
Method
prepass_vertex_shader
()
client/src/systems/asset/material/translucent_chunk_extension.rs:33
Function
propagate_chunk_columns
( mut world_data: ResMut<WorldData>, chunk_system: Res<ChunkSystem>, mut send_packet: EventWriter<
server/src/game/world/column/mod.rs:10
Function
propagate_game_objects_to_new_clients
( mut events: EventReader<PlayerSpawnEvent>, global: ResMut<WorldData>, game_object_data: Query<(&
server/src/systems/game_object/propagation.rs:11
Function
propagate_inventories
( mut query: Query<(&mut Inventory, &PlayerGameObjectData)>, mut send_packet: EventWriter<SendPacket>)
server/src/game/inventory.rs:89
← previous
next →
401–500 of 594, ranked by callers