Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pumpkin-MC/Pumpkin
/ functions
Functions
10,199 in github.com/Pumpkin-MC/Pumpkin
⨍
Functions
10,199
◇
Types & classes
2,951
↓ 63 callers
Method
peek
(&self)
pumpkin/src/command/string_reader.rs:121
↓ 62 callers
Method
write_u8
(&mut self, data: u8)
pumpkin-protocol/src/ser/mod.rs:318
↓ 61 callers
Method
get
(&self, key: &Self::Value)
pumpkin-codecs/src/json_ops.rs:314
↓ 61 callers
Method
remove
(&mut self, pos: &BlockPos)
pumpkin-world/src/poi/mod.rs:118
↓ 60 callers
Method
is_air
(&self)
pumpkin-data/src/blocks.rs:176
↓ 58 callers
Method
min
(&self)
pumpkin-world/src/generation/noise/router/find_top_surface.rs:54
↓ 57 callers
Method
fill
( &self, chunk: &mut ProtoChunk, box_limit: &BlockBox, min_x: i32, min
pumpkin-world/src/generation/structure/structures/mod.rs:322
↓ 57 callers
Method
squared_distance_to_vec
(&self, other: &Self)
pumpkin-util/src/math/vector3.rs:293
↓ 56 callers
Method
to_f64
Converts this vector to a `Vector3<f64>`. # Returns A new `Vector3<f64>` with each component converted to `f64`.
pumpkin-util/src/math/vector3.rs:555
↓ 55 callers
Method
get_block_entity
(&self, block_pos: &BlockPos)
pumpkin/src/world/mod.rs:4966
↓ 54 callers
Method
cursor
(&self)
pumpkin/src/command/string_reader.rs:46
↓ 54 callers
Method
is_side_solid
(&self, side: BlockDirection)
pumpkin-data/src/block_state.rs:132
↓ 53 callers
Method
get
(&self, rule: &GameRule)
pumpkin-data/src/generated/game_rules.rs:454
↓ 53 callers
Method
put_string
(&mut self, name: &str, value: String)
pumpkin-nbt/src/compound.rs:110
↓ 53 callers
Method
spawn_entity
(&self, entity: Arc<dyn EntityBase>)
pumpkin/src/world/mod.rs:4107
↓ 52 callers
Method
increment_stat
( &self, category: statistics::StatisticCategory, stat: i32, amount: i32,
pumpkin/src/entity/player.rs:2267
↓ 52 callers
Method
is_empty
(&self)
pumpkin/src/command/context/string_range.rs:54
↓ 51 callers
Method
contains
(&self, x: i32, y: i32, z: i32)
pumpkin-util/src/math/block_box.rs:185
↓ 51 callers
Method
get_block_and_state_id
Gets the Block + state id from the Block Registry, Returns Air if the Block state has not been found
pumpkin/src/world/mod.rs:4827
↓ 51 callers
Method
position
(&self)
pumpkin/src/command/mod.rs:175
↓ 51 callers
Method
set_block_state
( self: &Arc<Self>, position: &BlockPos, block_state_id: BlockStateId, flags:
pumpkin/src/world/mod.rs:4238
↓ 50 callers
Method
as_u16
(self)
pumpkin-data/src/blocks.rs:231
↓ 50 callers
Method
into_iter
(self)
pumpkin-nbt/src/compound.rs:252
↓ 49 callers
Method
get_entity
(&self)
pumpkin/src/entity/mod.rs:3436
↓ 49 callers
Method
multiply
(self, x: T, y: T, z: T)
pumpkin-util/src/math/vector3.rs:223
↓ 48 callers
Function
create
()
pumpkin-util/src/noise/perlin.rs:538
↓ 48 callers
Method
get_string
(&self, name: &str)
pumpkin-nbt/src/compound.rs:197
↓ 48 callers
Method
send_meta_data
(&self, meta: &[Metadata<T>])
pumpkin/src/entity/mod.rs:2715
↓ 48 callers
Method
skip_whitespace
Skips any kind of whitespace until there isn't more of it to skip.
pumpkin/src/command/string_reader.rs:169
↓ 47 callers
Method
break_block
( self: &Arc<Self>, position: &BlockPos, cause: Option<Arc<Player>>, flags: Bl
pumpkin/src/world/mod.rs:4459
↓ 47 callers
Function
can_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos)
pumpkin/src/block/blocks/plant/cactus.rs:119
↓ 46 callers
Method
is_empty
(&self)
pumpkin-util/src/lib.rs:206
↓ 45 callers
Method
get_display_name
(&self)
pumpkin/src/entity/player.rs:4547
↓ 45 callers
Method
held_item
(&self, caller: &dyn EntityBase)
pumpkin/src/entity/living.rs:1738
↓ 45 callers
Method
offset_dir
(&self, offset: Vector3<i32>, direction: i32)
pumpkin-util/src/math/position.rs:484
↓ 45 callers
Method
put_bool
(&mut self, name: &str, value: bool)
pumpkin-nbt/src/compound.rs:122
↓ 44 callers
Method
bottom_y
(&self)
pumpkin-world/src/generation/proto_chunk.rs:323
↓ 44 callers
Method
get_bool
(&self, name: &str)
pumpkin-nbt/src/compound.rs:192
↓ 44 callers
Method
schedule_block_tick
( &self, block: &Block, block_pos: BlockPos, delay: u8, priority: Tick
pumpkin/src/world/mod.rs:4427
↓ 43 callers
Method
get
(&self, heightmap: ChunkHeightmapType, x: i32, z: i32, min_y: i32)
pumpkin-world/src/chunk/mod.rs:238
↓ 43 callers
Method
is_solid
(&self)
pumpkin-data/src/blocks.rs:170
↓ 43 callers
Method
set_cursor
Sets the current byte position of the internal cursor.
pumpkin/src/command/string_reader.rs:51
↓ 42 callers
Method
inventory
(&self)
pumpkin/src/entity/player.rs:853
↓ 42 callers
Method
is_empty
Checks if all equipment slots are empty.
pumpkin-inventory/src/entity_equipment.rs:92
↓ 42 callers
Method
register_permission
Register a permission for this plugin
pumpkin/src/plugin/api/context.rs:230
↓ 42 callers
Method
write_bool
(&mut self, data: bool)
pumpkin-protocol/src/ser/mod.rs:245
↓ 41 callers
Method
executes
(self, command: impl CommandExecutor + 'static)
pumpkin/src/command/argument_builder.rs:149
↓ 41 callers
Function
init_command_tree
()
pumpkin/src/command/commands/me.rs:45
↓ 40 callers
Method
map
(&self, input: i32)
pumpkin-util/src/noise/perlin.rs:167
↓ 39 callers
Method
add_player
( &mut self, res: Resource<BossBar>, player: Resource< crate::plugin::load
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/boss_bar.rs:309
↓ 39 callers
Method
next_f64
(&mut self)
pumpkin-util/src/random/legacy_rand.rs:128
↓ 39 callers
Method
values
()
pumpkin-world/src/tick/mod.rs:29
↓ 38 callers
Method
name
(&self)
pumpkin/src/command/node/detached.rs:234
↓ 38 callers
Method
send
( &mut self, packet: ClientboundPacket, id: i32, body: &str, )
pumpkin/src/net/rcon/mod.rs:167
↓ 38 callers
Method
world
(&self)
pumpkin/src/entity/player.rs:187
↓ 37 callers
Method
get
(&self, control: Self)
pumpkin/src/entity/ai/goal/mod.rs:115
↓ 37 callers
Method
is_empty
(&self)
pumpkin-world/src/chunk/palette.rs:403
↓ 37 callers
Method
kick
(&self, reason: TextComponent)
pumpkin/src/net/java/mod.rs:471
↓ 36 callers
Method
contains
(self, block_id: BlockId)
pumpkin-world/src/generation/structure/template/processor.rs:40
↓ 36 callers
Method
insert_item
Inserts an item into a range of slots. First tries to stack with existing items, then fills empty slots.
pumpkin-inventory/src/screen_handler.rs:704
↓ 36 callers
Method
is_empty
(&self)
pumpkin-inventory/src/player/player_inventory.rs:431
↓ 36 callers
Method
set_pos
Updates the entity's position, block position, and chunk position. This function calculates the new position, block position, and chunk position base
pumpkin/src/entity/mod.rs:1070
↓ 36 callers
Method
up_height
(&self, height: i32)
pumpkin-util/src/math/position.rs:509
↓ 36 callers
Function
value_to_int_provider
Converts an integer-provider JSON value into its corresponding `IntProvider` token stream. # Arguments - `v` – Either a bare JSON number (constant) o
pumpkin-codegen/src/placed_feature.rs:556
↓ 35 callers
Method
get_block_state
(&self, local_pos: &Vector3<i32>)
pumpkin-world/src/generation/proto_chunk.rs:444
↓ 35 callers
Method
get_index_for_component
Returns the index of this component in `stack`, inserting it if not yet present. # Arguments – `stack` – accumulator of all unique density-function c
pumpkin-codegen/src/noise_router.rs:697
↓ 35 callers
Method
register
(&mut self, item: T)
pumpkin/src/item/registry.rs:21
↓ 34 callers
Method
find_arg_default_name
(&self, args: &'a ConsumedArgs)
pumpkin/src/command/args/mod.rs:169
↓ 34 callers
Method
get_entity
(&self)
pumpkin/src/entity/projectile/mod.rs:254
↓ 33 callers
Method
as_any
(&self)
pumpkin/src/block/entities/bed.rs:35
↓ 33 callers
Method
get
Returns the parsed [`NbtTag`] from the name of the argument.
pumpkin/src/command/argument_types/nbt.rs:46
↓ 33 callers
Method
get_horizontal_facing
(&self)
pumpkin/src/entity/mod.rs:2508
↓ 33 callers
Method
get_pumpkin_block
(&self, block: BlockId)
pumpkin/src/block/registry.rs:1157
↓ 33 callers
Method
get_random
(&self)
pumpkin/src/entity/mob/mod.rs:382
↓ 33 callers
Method
is_alive
(&self)
pumpkin/src/entity/mod.rs:2905
↓ 33 callers
Method
normalize
(&self)
pumpkin-util/src/math/vector3.rs:426
↓ 33 callers
Method
push
(&'a self, entity: &'a Arc<dyn EntityBase>)
pumpkin/src/entity/vehicle/minecart.rs:404
↓ 33 callers
Method
send_game_packet
(&self, packet: &P)
pumpkin/src/net/bedrock/mod.rs:567
↓ 33 callers
Method
server
(&self)
pumpkin/src/command/context/command_source.rs:377
↓ 33 callers
Method
split
(&mut self, amount: u8)
pumpkin-data/src/item_stack/mod.rs:498
↓ 33 callers
Method
to_vec
(&self)
pumpkin-world/src/tick/scheduler.rs:93
↓ 32 callers
Method
add
(mut self, attribute: Attributes, base: f64)
pumpkin/src/entity/attributes.rs:236
↓ 32 callers
Method
get_player
(&self)
pumpkin/src/entity/player.rs:4518
↓ 32 callers
Method
get_var_int
(&mut self)
pumpkin-protocol/src/ser/mod.rs:142
↓ 31 callers
Method
fill_outline_random
( &self, min_x: i32, min_y: i32, min_z: i32, max_x: i32, max_y
pumpkin-world/src/generation/structure/structures/mod.rs:203
↓ 31 callers
Method
get_world_res
(&self, res: &Resource<World>)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/world.rs:86
↓ 31 callers
Method
horizontal_cell_block_count
(&self)
pumpkin-world/src/generation/noise/mod.rs:421
↓ 31 callers
Method
is_center_solid
(&self, side: BlockDirection)
pumpkin-data/src/block_state.rs:146
↓ 31 callers
Method
write_string
(&mut self, data: &str)
pumpkin-protocol/src/ser/mod.rs:379
↓ 30 callers
Method
as_mut
(&mut self)
pumpkin-nbt/src/lib.rs:202
↓ 30 callers
Method
as_str
(&self)
pumpkin/src/command/args/entity_anchor.rs:22
↓ 30 callers
Function
block_receives_redstone_power
(world: &World, pos: &BlockPos)
pumpkin/src/block/blocks/redstone/mod.rs:170
↓ 30 callers
Method
broadcast_packet_all
Broadcasts a packet to all connected players within the world. Please avoid this as we want to replace it with `broadcast_editioned` Sends the specif
pumpkin/src/world/mod.rs:531
↓ 30 callers
Function
consume_player
( state: &mut PluginHostState, player: &Resource<pumpkin::plugin::player::Player>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/events/mod.rs:175
↓ 30 callers
Method
decrement
(&mut self, amount: u8)
pumpkin-data/src/item_stack/mod.rs:536
↓ 30 callers
Method
send_feedback
Sends feedback to this source.
pumpkin/src/command/context/command_source.rs:440
↓ 30 callers
Method
send_packet_now
(&self, packet: &P)
pumpkin/src/net/mod.rs:259
↓ 30 callers
Method
serialize
(&self, _serializer: S)
pumpkin-protocol/src/codec/bit_set.rs:39
↓ 30 callers
Method
set_facing
(&mut self, facing: Option<BlockDirection>)
pumpkin-world/src/generation/structure/structures/mod.rs:123
↓ 29 callers
Method
add_raw
(&self, x: T, y: T, z: T)
pumpkin-util/src/math/vector3.rs:171
← previous
next →
101–200 of 10,199, ranked by callers