MCPcopy Create free account

hub / github.com/Pumpkin-MC/Pumpkin / functions

Functions10,199 in github.com/Pumpkin-MC/Pumpkin

↓ 10 callersMethodget_selected_slot
Gets the currently selected hotbar slot index.
pumpkin-inventory/src/player/player_inventory.rs:538
↓ 10 callersFunctionget_template
(name: &str)
pumpkin-world/src/generation/structure/template/cache.rs:143
↓ 10 callersMethodget_top_y
(&self, heightmap: &HeightMap, x: i32, z: i32)
pumpkin-world/src/generation/proto_chunk.rs:365
↓ 10 callersMethodget_world_border_res
( &self, res: &Resource<WitWorldBorder>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/world.rs:98
↓ 10 callersMethodgrant_progress
(&mut self, name: &str)
pumpkin/src/entity/player/advancement.rs:82
↓ 10 callersMethodhas_permission
(&self, permission: &str)
pumpkin/src/command/context/command_source.rs:482
↓ 10 callersMethodhas_stack
(&self)
pumpkin-inventory/src/crafting/crafting_screen_handler.rs:471
↓ 10 callersMethodheight
(&self)
pumpkin/src/entity/mod.rs:2439
↓ 10 callersMethodis_sitting
(self)
pumpkin/src/entity/boss/ender_dragon/phase/mod.rs:71
↓ 10 callersMethodis_sneaking
(&self)
pumpkin/src/entity/mod.rs:2473
↓ 10 callersMethodis_waterlogged
(&self, id: BlockStateId)
pumpkin-data/src/blocks.rs:126
↓ 10 callersFunctionis_within_view_distance
( center: Vector2<i32>, target: Vector2<i32>, view_distance: i32, )
pumpkin/src/world/chunker.rs:27
↓ 10 callersMethodlength
Calculates the length (magnitude) of the vector. # Returns The length of the vector.
pumpkin-util/src/math/vector3.rs:406
↓ 10 callersMethodmark_dirty
(&self)
pumpkin-inventory/src/slot.rs:367
↓ 10 callersMethodremove_block_entity
(&self, block_pos: &BlockPos)
pumpkin/src/world/mod.rs:5022
↓ 10 callersMethodsave
(&self, path: &Path)
pumpkin/src/plugin/cache.rs:26
↓ 10 callersMethodsend_health
(&self)
pumpkin/src/entity/player.rs:2644
↓ 10 callersMethodsend_system_message
(&self, text: &TextComponent)
pumpkin/src/entity/player.rs:3135
↓ 10 callersMethodserialize_str
(self, v: &str)
pumpkin-nbt/src/serializer.rs:389
↓ 10 callersMethodset_damage
(&mut self, damage: i32)
pumpkin-data/src/item_stack/mod.rs:264
↓ 10 callersMethodset_progress
(&mut self, goal: NavigatorGoal)
pumpkin/src/entity/ai/pathfinder/mod.rs:101
↓ 10 callersMethodskip_bytes
(&mut self, count: i64)
pumpkin-nbt/src/deserializer.rs:33
↓ 10 callersMethodto_field_ident
Converts this version to a snake_case `Ident` suitable for use as a struct field name. # Returns A `syn::Ident` like `v1_21_4` for `JavaMinecraftVers
pumpkin-codegen/src/version.rs:85
↓ 10 callersMethodto_index
(&self)
pumpkin-data/src/block_direction.rs:59
↓ 10 callersMethodupdate_sequence
(&self, _player: &Player, sequence: i32)
pumpkin/src/net/java/play.rs:2071
↓ 9 callersMethodat
( &self, index: usize, sample_data: Option<&mut ChunkNoiseFunctionSampleOptions>,
pumpkin-world/src/generation/noise/mod.rs:106
↓ 9 callersMethodbroadcast_packet_except_editioned_sync
( &self, except: &[uuid::Uuid], je_packet: &J, be_packet: &B, )
pumpkin/src/world/mod.rs:671
↓ 9 callersMethodcall
(&self, return_value: ReturnValue)
pumpkin/src/command/context/command_source.rs:59
↓ 9 callersMethodcan_interact_with_block_at
(&self, position: &BlockPos, additional_range: f64)
pumpkin/src/entity/player.rs:2605
↓ 9 callersFunctioncan_place_at
(block_accessor: &dyn BlockAccessor, block_pos: &BlockPos)
pumpkin/src/block/blocks/carpet.rs:107
↓ 9 callersFunctioncan_replace
(id: BlockId)
pumpkin-world/src/generation/feature/features/drip_stone/mod.rs:11
↓ 9 callersMethodclose
Closes the connection to the client. This function marks the connection as closed using an atomic flag. It's generally preferable to use the `kick` f
pumpkin/src/net/java/mod.rs:751
↓ 9 callersMethoddirections
(&self)
pumpkin/src/block/blocks/redstone/rails/mod.rs:210
↓ 9 callersMethoddrop_stack
(self: &Arc<Self>, pos: &BlockPos, stack: ItemStack)
pumpkin/src/world/mod.rs:4585
↓ 9 callersFunctionencode_legacy_velocity_component
(component: f64)
pumpkin-protocol/src/codec/lp_vector_3d.rs:129
↓ 9 callersMethodenqueue_equipment_change
( &'a self, slot: &'a EquipmentSlot, stack: &'a ItemStack, )
pumpkin/src/entity/player.rs:5132
↓ 9 callersMethodexecute
( &'a self, sender: &'a CommandSender, _server: &'a crate::server::Server, arg
pumpkin/src/command/commands/effect.rs:41
↓ 9 callersMethodexecute
( &'a self, sender: &'a CommandSender, server: &'a crate::server::Server, _arg
pumpkin/src/command/commands/time.rs:49
↓ 9 callersMethodextract_string
(&self)
pumpkin-nbt/src/tag.rs:412
↓ 9 callersMethodeye_position
(&self)
pumpkin/src/entity/player.rs:2125
↓ 9 callersMethodfill_forward_opening
( &self, start: &StructurePiece, collector: &mut StructurePiecesCollector, ran
pumpkin-world/src/generation/structure/structures/nether_fortress/mod.rs:418
↓ 9 callersFunctionfrom_bytes_bedrock
Deserializes struct using Serde Deserializer from Bedrock network NBT
pumpkin-nbt/src/deserializer.rs:284
↓ 9 callersFunctionfrom_chunk
(coord: i32)
pumpkin-world/src/generation/mod.rs:99
↓ 9 callersMethodget_bool
(&mut self)
pumpkin-protocol/src/ser/mod.rs:137
↓ 9 callersMethodget_cached_path_type
(&mut self, pos: Vector3<i32>)
pumpkin/src/entity/ai/pathfinder/walk_node_evaluator.rs:285
↓ 9 callersFunctionget_chunk_index
(cache: &Cache, chunk_x: i32, chunk_z: i32)
pumpkin-world/src/lighting/storage.rs:6
↓ 9 callersMethodget_closest_player
(&self, pos: Vector3<f64>, radius: f64)
pumpkin/src/world/mod.rs:3856
↓ 9 callersMethodget_enchantment_level
(&self, enchantment: &'static Enchantment)
pumpkin-data/src/item_stack/mod.rs:247
↓ 9 callersMethodget_entity
(&self)
pumpkin/src/entity/tnt.rs:103
↓ 9 callersMethodget_entity
(&self)
pumpkin/src/entity/projectile/arrow.rs:444
↓ 9 callersMethodget_max_health
Returns the current maximum health for this entity
pumpkin/src/entity/living.rs:284
↓ 9 callersMethodget_players_at_box
Gets all Player entities at a Box
pumpkin/src/world/mod.rs:3745
↓ 9 callersMethodget_position
(&self)
pumpkin/src/block/entities/bed.rs:17
↓ 9 callersMethodget_proto_chunk_mut
(&mut self)
pumpkin-world/src/chunk_system/chunk_state.rs:190
↓ 9 callersFunctionget_view_distance
(player: &Player)
pumpkin/src/world/chunker.rs:15
↓ 9 callersMethodhas_flag
(&self, flag: Flags)
pumpkin/src/command/argument_types/entity_selector/parser.rs:432
↓ 9 callersFunctionhash_seed
(seed: u64)
pumpkin-world/src/biome/mod.rs:44
↓ 9 callersMethodis_empty
(&self)
pumpkin/src/block/entities/brewing_stand.rs:209
↓ 9 callersMethodis_empty
(&self)
pumpkin-data/src/item_stack/mod.rs:393
↓ 9 callersMethodis_liquid
(id: BlockId)
pumpkin-world/src/generation/structure/structures/buried_treasure.rs:139
↓ 9 callersFunctionleak_str
Leaks a string to get a 'static str. This is used for non-standard property values that aren't covered by static strings.
pumpkin-data/src/block_rotation.rs:291
↓ 9 callersMethodmax
(&self)
pumpkin-codegen/src/chest_loot.rs:33
↓ 9 callersMethodmax
(&self)
pumpkin-world/src/generation/noise/router/density_function/spline.rs:237
↓ 9 callersMethodmin
(&self)
pumpkin-world/src/generation/noise/router/density_function/spline.rs:232
↓ 9 callersFunctionnext_triangular
()
pumpkin-util/src/random/legacy_rand.rs:348
↓ 9 callersMethodnorth
(&self)
pumpkin-util/src/math/position.rs:548
↓ 9 callersMethodplace_sand
(&self, chunk: &mut ProtoChunk, bb: &BlockBox, x: i32, y: i32, z: i32)
pumpkin-world/src/generation/structure/structures/desert_pyramid.rs:104
↓ 9 callersMethodprocess_tick
Process a tick for projectile movement and collisions
pumpkin/src/entity/projectile/mod.rs:118
↓ 9 callersMethodput_long
(&mut self, name: &str, value: i64)
pumpkin-nbt/src/compound.rs:133
↓ 9 callersMethodput_short
(&mut self, name: &str, value: i16)
pumpkin-nbt/src/compound.rs:126
↓ 9 callersMethodraycast
( self: &Arc<Self>, start_pos: Vector3<f64>, end_pos: Vector3<f64>, hit_check:
pumpkin/src/world/mod.rs:5139
↓ 9 callersFunctionread_gzip_compound_tag
Reads a `GZipped` NBT compound tag from any reader. # Arguments `input` - Any type implementing the Read trait containing `GZipped` NBT data # Retu
pumpkin-nbt/src/nbt_compress.rs:15
↓ 9 callersFunctionsalt_mix
(seed: i64, salt: i64)
pumpkin-world/src/generation/biome.rs:148
↓ 9 callersMethodset_flag
(&self, flag: Flag, value: bool)
pumpkin/src/entity/mod.rs:2635
↓ 9 callersMethodsplit
(&mut self)
pumpkin-util/src/random/legacy_rand.rs:88
↓ 9 callersFunctionsplit_stack
These are some utility functions found in Inventories.java
pumpkin-world/src/inventory/mod.rs:15
↓ 9 callersFunctionto_bytes
(value: &T, w: impl Write)
pumpkin-nbt/src/serializer.rs:300
↓ 9 callersFunctionto_bytes_bedrock
(value: &T, w: impl Write)
pumpkin-nbt/src/serializer.rs:304
↓ 9 callersFunctionto_wasm_block_name
(block: &'static Block)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/events/mod.rs:76
↓ 9 callersMethodtop_block_height_exclusive
(&self, x: i32, z: i32)
pumpkin-world/src/generation/proto_chunk.rs:381
↓ 9 callersMethodtry_enqueue_packet
(&self, packet: &P)
pumpkin/src/net/mod.rs:233
↓ 9 callersMethodupdate_block_entity
(&self, block_entity: &Arc<dyn BlockEntity>)
pumpkin/src/world/mod.rs:5031
↓ 9 callersMethodwest
(&self)
pumpkin-util/src/math/position.rs:539
↓ 9 callersMethodwrite_list
( &mut self, list: &[G], writer: impl Fn(&mut Self, &G) -> Result<(), WritingError>,
pumpkin-protocol/src/ser/mod.rs:404
↓ 9 callersMethodwrite_option
( &mut self, data: &Option<G>, writer: impl FnOnce(&mut Self, &G) -> Result<(), Writin
pumpkin-protocol/src/ser/mod.rs:391
↓ 9 callersMethodyz_to_buf_index
( &self, cell_y_position: usize, cell_z_position: usize, )
pumpkin-world/src/generation/noise/router/chunk_density_function.rs:257
↓ 8 callersMethodaccept
Accepts an [`NbtTag`].
pumpkin-nbt/src/nbt_ops.rs:503
↓ 8 callersFunctionautocomplete_consumer
()
pumpkin/src/command/commands/bossbar.rs:29
↓ 8 callersMethodbedrock_metadata
(&self)
pumpkin/src/entity/mod.rs:959
↓ 8 callersFunctionbuild_packet_with_encoder
Helper function to build a packet with optional compression and encryption
pumpkin-protocol/src/java/packet_encoder.rs:395
↓ 8 callersMethodcan_place_at
( &self, _block: &pumpkin_data::Block, _state: &pumpkin_data::BlockState,
pumpkin-world/src/chunk_system/generation.rs:77
↓ 8 callersMethodclear
(&mut self)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:54
↓ 8 callersMethodclear_active_hand
(&self)
pumpkin/src/entity/living.rs:246
↓ 8 callersMethodempty
(&self)
pumpkin-codecs/src/json_ops.rs:54
↓ 8 callersMethodenqueue_packet
(&self, packet: &P)
pumpkin/src/net/java/mod.rs:371
↓ 8 callersMethodexecute
( &'a self, sender: &'a CommandSender, _server: &'a crate::server::Server, arg
pumpkin/src/command/commands/experience.rs:135
↓ 8 callersFunctionfrom_wasm_position
( position: pumpkin::plugin::common::Position, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/events/mod.rs:54
↓ 8 callersMethodget
Gets a template by `name`, loading it from embedded resources if not cached. Returns the loaded template wrapped in an `Arc`, or `None` if the templa
pumpkin-world/src/generation/structure/template/cache.rs:39
↓ 8 callersMethodget
Returns the serializer, initialising it from disk on the first call.
pumpkin-world/src/chunk/io/file_manager.rs:89
↓ 8 callersMethodget
(&mut self, map: &ChunkLevel, pos: ChunkPos)
pumpkin-world/src/chunk_system/chunk_loading.rs:56
← previousnext →501–600 of 10,199, ranked by callers