Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rusty-Quartz/Quartz
/ functions
Functions
737 in github.com/Rusty-Quartz/Quartz
⨍
Functions
737
◇
Types & classes
422
↓ 1 callers
Method
chunk_info_at
(&self, absolute_position: Coordinate)
quartz/src/world/chunk/provider.rs:688
↓ 1 callers
Function
cleanup
This should be called directly before the main process exits. This function simply compresses the current log file.
util/src/logging.rs:96
↓ 1 callers
Method
clear
(&mut self)
network/src/netutil.rs:158
↓ 1 callers
Method
codegen_fields
( &'a self, mappings: &'a Mappings, writing: bool, )
quartz/build.rs:269
↓ 1 callers
Method
color
Set the color of the current component to the given color.
chat/src/builder.rs:89
↓ 1 callers
Method
coordinates
(&self)
quartz/src/world/chunk/chunk.rs:52
↓ 1 callers
Function
create_property_enums
(property_data: &Vec<PropertyData>)
qdat/buildscript/blockstate.rs:185
↓ 1 callers
Method
current_slot
(&self)
quartz/src/entities/player.rs:69
↓ 1 callers
Function
derive_read_from_packet_impl
(input: DeriveInput)
macros_impl/src/packet/mod.rs:29
↓ 1 callers
Function
derive_write_to_packet_impl
(input: DeriveInput)
macros_impl/src/packet/mod.rs:10
↓ 1 callers
Method
enable_encryption
Enables encryption with the given shared secred, initializing the internal encrypter and decrypter.
quartz/src/network/connection.rs:92
↓ 1 callers
Method
face_offset
(mut self, facing: &BlockFace)
qdat/src/world/location.rs:34
↓ 1 callers
Function
fast_log2_64
(mut value: u64)
util/src/math.rs:24
↓ 1 callers
Method
field_borrows
( &'a self, mappings: &'a Mappings, )
quartz/build.rs:341
↓ 1 callers
Method
field_derefs
( &'a self, mappings: &'a Mappings, )
quartz/build.rs:360
↓ 1 callers
Function
find_shared_properties
(data: &mut IndexMap<String, RawBlockInfo>)
qdat/buildscript/blockstate.rs:54
↓ 1 callers
Method
finish_tick
The tick code has finished executing, so record the time and sleep if extra time remains.
quartz/src/base/exec.rs:133
↓ 1 callers
Method
flush_ready
Flushes all the ready chunks into storage
quartz/src/world/world.rs:255
↓ 1 callers
Function
format_ast
(code: String)
qdat/buildscript/mod.rs:16
↓ 1 callers
Function
format_in_place
(file: &OsStr)
quartz/build.rs:14
↓ 1 callers
Function
format_in_place
(file: &OsStr)
qdat/buildscript/mod.rs:9
↓ 1 callers
Method
from_tag
Creates a new Inventory from a NbtCompound # NBT Format ``` {Items: [{ Slot: Byte, id: String, Count: Byte tag: Compound, }]} ```
quartz/src/item/inventory.rs:68
↓ 1 callers
Function
gen_blockstates
()
qdat/buildscript/blockstate.rs:8
↓ 1 callers
Method
gen_client_section
(&self)
quartz/src/world/chunk/section.rs:279
↓ 1 callers
Function
gen_const_item_structs
Generates a const variable for each vanilla item
qdat/buildscript/items.rs:45
↓ 1 callers
Function
gen_default_states
( block_data: &mut IndexMap<String, BlockInfo>, property_data: &Vec<PropertyData>, )
qdat/buildscript/blockstate.rs:320
↓ 1 callers
Function
gen_enum_serializer_impl
(input: DeriveInput, variants: &[EnumStructVariant])
macros_impl/src/packet/gen.rs:28
↓ 1 callers
Function
gen_handle_packet
(states: &[StatePacketInfo], mappings: &Mappings)
quartz/build.rs:86
↓ 1 callers
Function
gen_id_eq
(states: &mut Iter<(&Ident, &Ident)>)
qdat/buildscript/blockstate.rs:460
↓ 1 callers
Function
gen_item_from_id
Generates a phf map to lookup from an identifier to an Item instance # Note Is explicitly not a ULN, it is just the identifier part
qdat/buildscript/items.rs:109
↓ 1 callers
Function
gen_item_from_usize
Generates a phf map to lookup from the i32 used in the network protocol to an item instance
qdat/buildscript/items.rs:87
↓ 1 callers
Function
gen_items
()
qdat/buildscript/items.rs:12
↓ 1 callers
Function
gen_name_lookup
(block_data: &IndexMap<String, BlockInfo>)
qdat/buildscript/blockstate.rs:552
↓ 1 callers
Function
gen_packet_dispatch
(packet: &Packet, mappings: &Mappings)
quartz/build.rs:205
↓ 1 callers
Method
gen_read_condition
(&self, buffer_ident: &Ident)
macros_impl/src/packet/gen.rs:335
↓ 1 callers
Method
gen_read_length
(&self, buffer_ident: &Ident)
macros_impl/src/packet/gen.rs:306
↓ 1 callers
Function
gen_serialize_struct_field
(field: &Field, buffer_ident: &Ident)
macros_impl/src/packet/gen.rs:90
↓ 1 callers
Function
gen_struct_deserializer_impl
(input: DeriveInput, fields: &[Field])
macros_impl/src/packet/gen.rs:71
↓ 1 callers
Function
gen_struct_enum
(block_data: &IndexMap<String, BlockInfo>)
qdat/buildscript/blockstate.rs:478
↓ 1 callers
Function
gen_struct_serializer_impl
(input: DeriveInput, fields: &[Field])
macros_impl/src/packet/gen.rs:11
↓ 1 callers
Function
gen_structs
(block_data: &IndexMap<String, BlockInfo>)
qdat/buildscript/blockstate.rs:375
↓ 1 callers
Function
gen_sync_dispatch
(server_bound: &[Packet], mappings: &Mappings)
quartz/build.rs:183
↓ 1 callers
Method
gen_write_length
( &self, field_ref: &TokenStream, buffer_ident: &Ident, )
macros_impl/src/packet/gen.rs:317
↓ 1 callers
Function
get_item_list
()
quartz/src/item/init.rs:18
↓ 1 callers
Method
get_loaded_chunk
(&self, coords: Coordinate)
quartz/src/world/world.rs:142
↓ 1 callers
Method
get_loaded_chunk_mut
(&mut self, coords: Coordinate)
quartz/src/world/world.rs:146
↓ 1 callers
Method
get_players
(&self)
quartz/src/world/world.rs:154
↓ 1 callers
Method
get_suggestions
(&self, command: &str, context: &CommandContext<'ctx>)
quartz/src/command/executor.rs:28
↓ 1 callers
Method
get_world
(&self, dim: Dimension)
quartz/src/world/world.rs:221
↓ 1 callers
Function
handle_async_connection
Handles the given asynchronos connecting using blocking I/O opperations.
quartz/src/network/handler.rs:1252
↓ 1 callers
Method
handle_login_success_server
( &mut self, sender: ClientId, mut uuid: Uuid, username: &str, )
quartz/src/network/handler.rs:305
↓ 1 callers
Method
handle_packets
(&mut self)
quartz/src/base/server.rs:290
↓ 1 callers
Method
has_children
Returns whether or not this component has children.
chat/src/component.rs:105
↓ 1 callers
Method
has_loaded_chunks
(&self)
quartz/src/world/chunk/provider.rs:778
↓ 1 callers
Method
increment
Increments the amount in a slot # Panics Panics if the index is out of range for the inventory, all calls should be prefixed with a can_insert call
quartz/src/item/inventory.rs:36
↓ 1 callers
Method
inflate
(&mut self)
network/src/netutil.rs:56
↓ 1 callers
Method
init
Initializes the server. This loads all blocks, items, and other game data, initializes commands and plugins, and starts the TCP server.
quartz/src/base/server.rs:91
↓ 1 callers
Method
init_block
(&mut self, source: &[u8])
qdat/src/world/lighting.rs:24
↓ 1 callers
Method
init_command_handler
(&mut self)
quartz/src/base/server.rs:120
↓ 1 callers
Method
init_internal
(&mut self)
quartz/src/base/server.rs:95
↓ 1 callers
Function
init_items
Initializes the item list
quartz/src/item/init.rs:29
↓ 1 callers
Function
init_logger
Configures the log4rs crate to replicate the logging system for official minecraft servers. Console output is filtered so that only logs from the spe
util/src/logging.rs:52
↓ 1 callers
Method
init_sky
(&mut self, source: &[u8])
qdat/src/world/lighting.rs:29
↓ 1 callers
Method
initiate_encryption
Attempts to initialize encryption with the given secret key.
quartz/src/network/connection.rs:635
↓ 1 callers
Method
insert_all
Inserts all the key value pair into the registry Existing read guards won't see the change until you create a new guard
quartz/src/base/registries.rs:230
↓ 1 callers
Method
into_inner
(self)
quartz/src/world/chunk/states.rs:61
↓ 1 callers
Method
into_packet_data
(self)
quartz/src/world/chunk/section.rs:297
↓ 1 callers
Method
is_empty
(&self)
quartz/src/world/chunk/section.rs:114
↓ 1 callers
Function
is_option
(ty: &Type)
macros_impl/src/lib.rs:42
↓ 1 callers
Method
is_uninitialized
(&self)
quartz/src/world/chunk/provider.rs:806
↓ 1 callers
Method
is_varying
(&self, key: &str)
network/build.rs:474
↓ 1 callers
Method
is_varying
(&self, key: &str)
quartz/build.rs:426
↓ 1 callers
Function
item_to_block
(item: &'static Item)
qdat/src/item/mod.rs:11
↓ 1 callers
Method
join_pending
(&mut self)
quartz/src/world/world.rs:150
↓ 1 callers
Method
load_chunk
(&self, coords: Coordinate)
quartz/src/world/world.rs:128
↓ 1 callers
Function
load_config
Attempts to parse the server configuration at the given path. The config should be in JSON format.
quartz/src/base/config.rs:44
↓ 1 callers
Function
load_raw_block_data
()
quartz/src/block/init.rs:15
↓ 1 callers
Method
loaded_chunk_at_mut
(&self, location: Coordinate)
quartz/src/world/chunk/provider.rs:568
↓ 1 callers
Function
make_block_list
(raw: &HashMap<String, RawBlockInfo>)
quartz/src/block/init.rs:34
↓ 1 callers
Function
make_static_global_palette
TODO: put behind feature flag if necessary
quartz/src/block/init.rs:69
↓ 1 callers
Method
map_state_entry
(&self, entry: usize)
quartz/src/world/chunk/section.rs:326
↓ 1 callers
Method
mark_chunk_inactive
(&mut self, absolute_position: Coordinate)
quartz/src/world/chunk/provider.rs:766
↓ 1 callers
Method
max_durability
Gets the max durability of an item
qdat/src/item/item_info.rs:70
↓ 1 callers
Method
modify_bits_per_entry
(&mut self, new_bits_per_entry: NonZeroU8)
quartz/src/world/chunk/states.rs:373
↓ 1 callers
Method
modify_bpe_allocating
(&mut self, new_bits_per_entry: NonZeroU8)
quartz/src/world/chunk/states.rs:383
↓ 1 callers
Method
modify_bpe_in_place
(&mut self, new_bits_per_entry: NonZeroU8)
quartz/src/world/chunk/states.rs:402
↓ 1 callers
Method
name
Gets the name of the datapack
datapack/src/datapack.rs:146
↓ 1 callers
Method
next
(&mut self)
quartz/src/world/chunk/states.rs:472
↓ 1 callers
Method
online_count
Returns the number of players currently online.
quartz/src/base/server.rs:375
↓ 1 callers
Function
parse_enum
(input: &DataEnum, side: Side)
macros_impl/src/packet/parse.rs:34
↓ 1 callers
Function
parse_type
(field: &'a str, mappings: &'a Mappings)
network/build.rs:289
↓ 1 callers
Function
parse_type_meta
(field: &'_ str)
network/build.rs:299
↓ 1 callers
Function
parse_type_meta
(field: &'_ str)
quartz/build.rs:235
↓ 1 callers
Method
partial_cmp
(&self, other: &Self)
qdat/src/uln.rs:503
↓ 1 callers
Method
read_array_varying
( &mut self, len: usize, )
network/src/netutil.rs:252
↓ 1 callers
Method
read_bytes_unchecked
(&mut self, dest: &mut [u8])
network/src/netutil.rs:221
↓ 1 callers
Method
read_file_header
(&mut self)
quartz/src/world/chunk/provider.rs:652
↓ 1 callers
Function
read_function
Reads the lines of a string from `reader` and returns a Function after stripping the comments
datapack/src/data/functions.rs:9
↓ 1 callers
Method
read_packet
Reads packet data from the underlying stream, blocking the current thread. After the initial read, the rest of the packet will be collected and read,
quartz/src/network/connection.rs:650
↓ 1 callers
Method
recover_cached_chunk
(&mut self, absolute_position: Coordinate)
quartz/src/world/chunk/provider.rs:698
← previous
next →
201–300 of 737, ranked by callers