Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lea-fish/Leafish
/ functions
Functions
1,277 in github.com/Lea-fish/Leafish
⨍
Functions
1,277
◇
Types & classes
389
↓ 604 callers
Method
unwrap
(value: &Value)
protocol/src/types/metadata.rs:722
↓ 331 callers
Method
clone
(&self)
src/screen/mod.rs:120
↓ 232 callers
Method
write
(&self, w: &mut W)
src/model/mod.rs:1222
↓ 204 callers
Method
read
(&mut self, buf: &mut [u8])
src/resources.rs:649
↓ 92 callers
Method
to_string
(&self, block_name: &str)
generate_blocks/src/main.rs:175
↓ 91 callers
Method
size
(mut self, width: f64, height: f64)
src/ui/mod.rs:846
↓ 85 callers
Method
iter
(&self)
protocol/src/types/bit/map.rs:123
↓ 83 callers
Method
get
(&self, name: &str)
src/render/glsl.rs:52
↓ 77 callers
Method
clear
(&mut self)
src/server/target.rs:30
↓ 74 callers
Function
glow_context
()
src/gl/mod.rs:36
↓ 65 callers
Method
map
Maps the memory in the buffer on the gpu to memory which the program can access. The access flag will specify how the program plans to use the returne
src/gl/mod.rs:758
↓ 53 callers
Method
write_to
(&self, buf: &mut W)
protocol/src/types/metadata.rs:465
↓ 51 callers
Method
as_str
(&self)
protocol/src/nbt/mod.rs:127
↓ 49 callers
Method
clone
(&self)
src/screen/launcher.rs:46
↓ 47 callers
Method
join
(&mut self, other: &Model)
src/model/mod.rs:958
↓ 46 callers
Method
bind
Binds the texture to the passed target.
src/gl/mod.rs:281
↓ 40 callers
Function
load_chunk
( world: &World, x: i32, z: i32, new: bool, skylight: bool, re
src/world/mod.rs:1501
↓ 40 callers
Method
put_raw
(&mut self, index: i32, val: T)
protocol/src/types/metadata.rs:61
↓ 35 callers
Method
write_packet
(&mut self, packet: T)
protocol/src/protocol/mod.rs:1172
↓ 34 callers
Method
add_text
(&mut self, text: TextRef)
src/ui/mod.rs:1512
↓ 33 callers
Method
add_slot
Add a slot to this mapping with a specific pixel offset where the slot will be located.
src/inventory/slot_mapping.rs:80
↓ 30 callers
Method
get_block
(&self, pos: Position)
src/world/mod.rs:199
↓ 29 callers
Method
get
Returns the tag with the given name from the compound. # Panics Panics when the tag isn't a compound.
protocol/src/nbt/mod.rs:56
↓ 28 callers
Method
get
(&self, code: KeyCode, key: &Key)
src/settings/keybinds.rs:41
↓ 27 callers
Method
clone
(&self)
src/screen/server_list.rs:50
↓ 27 callers
Method
shift
(self, dir: Direction)
shared/src/position.rs:18
↓ 26 callers
Function
get_texture
(element: usize, basic_elements: &[ui::ImageRef])
src/inventory/beacon.rs:389
↓ 25 callers
Method
get
(&self, idx: usize)
src/world/storage.rs:19
↓ 24 callers
Method
pop_screen
(&self)
src/screen/mod.rs:171
↓ 23 callers
Method
add_screen
(&self, screen: Box<dyn Screen>)
src/screen/mod.rs:156
↓ 23 callers
Method
get_height
(&self)
src/render/mod.rs:1771
↓ 23 callers
Method
get_width
(&self)
src/render/mod.rs:1763
↓ 23 callers
Method
next
(&mut self)
src/server/target.rs:266
↓ 22 callers
Function
append_box
Helper methods
src/render/model.rs:407
↓ 22 callers
Method
enable
(&self)
src/gl/mod.rs:622
↓ 21 callers
Method
relative
(&self, x: f32, y: f32, width: f32, height: f32)
src/render/mod.rs:1779
↓ 20 callers
Function
build_world
(protocol_version: i32)
src/world/mod.rs:1496
↓ 20 callers
Method
bytes
(&self, width: f64, height: f64)
src/render/ui.rs:445
↓ 20 callers
Method
index
(&self)
shared/src/axis.rs:19
↓ 20 callers
Method
update_icons
Reposition all slots so that they can be rendered in the correct location.
src/inventory/slot_mapping.rs:135
↓ 18 callers
Method
center
(&self)
src/render/mod.rs:117
↓ 17 callers
Method
get_textures_ref
(&self)
src/render/mod.rs:897
↓ 17 callers
Method
is_focused
(&self)
src/main.rs:126
↓ 17 callers
Method
vertex_pointer
(&self, size: i32, ty: Type, normalized: bool, stride: i32, offset: i32)
src/gl/mod.rs:634
↓ 16 callers
Method
clone
(&self)
src/screen/settings_menu.rs:24
↓ 16 callers
Method
is_key_pressed
(&self, key: Actionkey)
src/entity/player.rs:573
↓ 16 callers
Method
set_parameter
( &self, target: TextureTarget, param: TextureParameter, value: TextureValue,
src/gl/mod.rs:436
↓ 15 callers
Method
register
(&mut self, name: &str, source: &str)
src/render/glsl.rs:31
↓ 15 callers
Method
write_packet
(&self, p: T)
src/server/mod.rs:1532
↓ 14 callers
Function
get_data_dir
()
src/paths.rs:40
↓ 14 callers
Method
map
(self)
protocol/src/protocol/mapped_packet.rs:1431
↓ 13 callers
Method
id
(&self)
src/inventory/anvil.rs:69
↓ 13 callers
Function
set_button_state
(state: ButtonState, btn: usize, basic_elements: &mut [ui::ImageRef])
src/inventory/beacon.rs:409
↓ 12 callers
Method
get_bool
(&self, input: BoolSetting)
src/settings/config_var.rs:124
↓ 12 callers
Method
get_version
(&self)
protocol/src/protocol/mod.rs:1508
↓ 12 callers
Method
open
(&self, plugin: &str, name: &str)
src/resources.rs:131
↓ 12 callers
Function
resolve_textures
( texture: &Texture, width: f32, height: f32, depth: f32, offset_x: f32, offset_y: f32
src/entity/mod.rs:414
↓ 12 callers
Method
size_of_string
(&self, val: &str)
src/render/ui.rs:239
↓ 12 callers
Method
to_match_base
(&self)
generate_blocks/src/main.rs:1074
↓ 11 callers
Method
deref
(&self)
src/gl/mod.rs:788
↓ 11 callers
Method
get_material
(block: &block::Block, collision: &Option<CollisionInfo>)
generate_blocks/src/main.rs:672
↓ 11 callers
Method
use_program
(&self)
src/gl/mod.rs:491
↓ 10 callers
Method
clone
(&self)
src/screen/edit_account.rs:31
↓ 10 callers
Method
clone
(&self)
src/screen/login.rs:38
↓ 10 callers
Function
current_protocol_version
()
protocol/src/protocol/mod.rs:62
↓ 10 callers
Function
get_button_state
(btn: usize, basic_elements: &[ui::ImageRef])
src/inventory/beacon.rs:398
↓ 10 callers
Method
get_modifier
(&self)
protocol/src/format.rs:438
↓ 10 callers
Method
set_child
Set the child slot mapping. This will replace any child previously set.
src/inventory/slot_mapping.rs:65
↓ 10 callers
Method
set_float
(&self, val: f32)
src/gl/mod.rs:564
↓ 10 callers
Method
uniform_location
(&self, name: &str)
src/gl/mod.rs:497
↓ 10 callers
Method
update_slot_index
(&mut self, slot_index: u8)
src/render/hud.rs:178
↓ 9 callers
Method
get_string
(&self, input: StringSetting)
src/settings/config_var.rs:142
↓ 9 callers
Method
ordinal
(&self)
protocol/src/protocol/packet.rs:3305
↓ 9 callers
Method
replace_screen
(&self, screen: Box<dyn Screen>)
src/screen/mod.rs:183
↓ 9 callers
Method
set_data
(&self, target: BufferTarget, data: &[u8], usage: BufferUsage)
src/gl/mod.rs:739
↓ 9 callers
Method
set_int
(&self, val: i32)
src/gl/mod.rs:552
↓ 9 callers
Method
write_to
(&self, buf: &mut W)
protocol/src/protocol/mod.rs:297
↓ 8 callers
Method
build
(&mut self, components: &format::Component, color: Option<format::Color>)
src/render/model.rs:490
↓ 8 callers
Method
clone
(&self)
protocol/src/protocol/mod.rs:1616
↓ 8 callers
Method
clone
(&self)
protocol/src/protocol/login.rs:99
↓ 8 callers
Method
get_model
(&mut self, key: &ModelHandle)
src/render/model.rs:111
↓ 8 callers
Method
get_offset
(&self)
shared/src/direction.rs:74
↓ 8 callers
Method
set_matrix4
(&self, m: &::cgmath::Matrix4<f32>)
src/gl/mod.rs:597
↓ 7 callers
Method
add_dummy_state
(&mut self, name: &str, state_type: block::StateType, value: &str)
generate_blocks/src/main.rs:571
↓ 7 callers
Function
enable
Enables the passed flag.
src/gl/mod.rs:146
↓ 7 callers
Method
get_texture
(textures: &RwLock<TextureManager>, name: &str)
src/render/mod.rs:915
↓ 7 callers
Method
has_sky_light
(&self)
src/world/mod.rs:1472
↓ 7 callers
Function
is_network_debug
()
protocol/src/protocol/mod.rs:70
↓ 7 callers
Method
set
(&mut self, idx: usize, b: block::Block)
src/world/storage.rs:23
↓ 7 callers
Method
tick
(&mut self, renderer: Arc<render::Renderer>, delta: f64, width: f64, height: f64)
src/ui/mod.rs:310
↓ 7 callers
Method
version
Returns the 'version' of the manager. The version is increased everytime a pack is added or removed.
src/resources.rs:127
↓ 6 callers
Method
as_bool
(&self)
src/settings/config_var.rs:78
↓ 6 callers
Method
by_vanilla_id
( &self, id: usize, modded_block_ids: &HashMap<usize, String>, // TODO: remove and add
blocks/src/lib.rs:49
↓ 6 callers
Method
clockwise
(&self)
shared/src/direction.rs:50
↓ 6 callers
Method
clone
(&self)
src/screen/edit_server.rs:31
↓ 6 callers
Method
counter_clockwise
(&self)
shared/src/direction.rs:62
↓ 6 callers
Method
get_block_light
(&self, pos: Position)
src/world/mod.rs:213
↓ 6 callers
Function
get_config_dir
()
src/paths.rs:32
↓ 6 callers
Method
get_item
Get the item contained in a slot, if any.
src/inventory/slot_mapping.rs:86
↓ 6 callers
Method
get_sky_light
(&self, pos: Position)
src/world/mod.rs:227
next →
1–100 of 1,277, ranked by callers