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
↓ 29 callers
Method
as_any
(&self)
pumpkin/src/plugin/api/gui.rs:94
↓ 29 callers
Method
broadcast_to_chunk
Broadcasts a packet to all players who currently have the target chunk loaded. This uses highly optimized Chebyshev distance math (Chunk Grid) instead
pumpkin/src/world/mod.rs:5252
↓ 29 callers
Method
min
(&self)
pumpkin-util/src/math/bounds.rs:135
↓ 28 callers
Method
add_block_entity
(&self, block_entity: Arc<dyn BlockEntity>)
pumpkin/src/world/mod.rs:4986
↓ 28 callers
Method
clear
(&mut self)
pumpkin/src/entity/player/advancement.rs:176
↓ 28 callers
Method
contains
(&self, coords: &dyn Coordinate)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:124
↓ 28 callers
Function
deserialize
( id: DataComponent, seq: &mut A, )
pumpkin-protocol/src/codec/data_component.rs:869
↓ 28 callers
Method
entity_id
(&self)
pumpkin/src/entity/living.rs:439
↓ 28 callers
Method
get_attribute_value
Returns the computed value for `attribute` using the local instance, falling back to `attribute.default_value` if no local instance exists.
pumpkin/src/entity/living.rs:389
↓ 28 callers
Method
parse_or_revert
(&mut self, closure: impl FnOnce(&mut Self) -> Option<T>)
pumpkin/src/command/snbt/mod.rs:200
↓ 28 callers
Method
play_sound
Plays sound at this entity's position with the entity's sound category
pumpkin/src/entity/mod.rs:2709
↓ 28 callers
Method
put_compound
(&mut self, name: &str, value: Self)
pumpkin-nbt/src/compound.rs:145
↓ 28 callers
Method
read_chunk_sync
( &self, coordinates: &Vector2<i32>, f: F, )
pumpkin-world/src/level.rs:771
↓ 28 callers
Method
water_source
Returns true if the block was a water source block.
pumpkin/src/block/mod.rs:494
↓ 28 callers
Method
write_slice
(&mut self, data: &[u8])
pumpkin-protocol/src/ser/mod.rs:332
↓ 27 callers
Method
all
()
pumpkin-util/src/lib.rs:262
↓ 27 callers
Method
as_vector3
(&self)
pumpkin/src/entity/ai/pathfinder/node.rs:104
↓ 27 callers
Method
chunk_position
(&self)
pumpkin-util/src/math/position.rs:306
↓ 27 callers
Method
fire
Fire an event to all registered handlers
pumpkin/src/plugin/mod.rs:1027
↓ 27 callers
Method
get
(&self, index: T)
pumpkin-protocol/src/codec/bitset.rs:11
↓ 27 callers
Method
get_compound
(&self, name: &str)
pumpkin-nbt/src/compound.rs:207
↓ 27 callers
Method
get_intersecting
(&self, box_to_check: &BlockBox)
pumpkin-world/src/generation/structure/structures/mod.rs:551
↓ 27 callers
Function
get_seed
Generates a new random seed based on the current time and a uniquifier. The seed is generated by combining: - An atomic counter multiplied by a large
pumpkin-util/src/random/mod.rs:30
↓ 27 callers
Function
text_component_from_resource
( state: &PluginHostState, text: &Resource<pumpkin::plugin::text::TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:478
↓ 26 callers
Function
from_bytes
Deserializes struct using Serde Deserializer from normal NBT
pumpkin-nbt/src/deserializer.rs:272
↓ 26 callers
Method
get
(&self)
pumpkin-world/src/chunk_system/channel.rs:106
↓ 26 callers
Method
get_entity_by_id
Gets an entity by an entity id
pumpkin/src/world/mod.rs:3693
↓ 26 callers
Method
intersects
(&self, other: &Self)
pumpkin-util/src/math/block_box.rs:199
↓ 26 callers
Function
start_block_x
(x: i32)
pumpkin-world/src/generation/positions.rs:82
↓ 26 callers
Function
start_block_z
(z: i32)
pumpkin-world/src/generation/positions.rs:92
↓ 25 callers
Function
argument_default_name
same as [`crate::command::tree::builder::argument`], but uses default arg name of consumer
pumpkin/src/command/tree/builder.rs:167
↓ 25 callers
Function
block_entity_from_resource
( state: &PluginHostState, entity: &Resource<BlockEntity>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/block_entity.rs:30
↓ 25 callers
Method
create_without_context
(&'static self)
pumpkin/src/command/errors/error_types.rs:227
↓ 25 callers
Method
extract_compound
(&self)
pumpkin-nbt/src/tag.rs:428
↓ 25 callers
Method
fill_downwards
Fills downwards while the column stays structure-replaceable.
pumpkin-world/src/generation/structure/structures/mod.rs:352
↓ 25 callers
Method
get_behaviour
(&self)
pumpkin-inventory/src/gui_builder.rs:118
↓ 25 callers
Method
get_item
( &mut self, res: Resource<Gui>, slot: u32, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/gui.rs:98
↓ 25 callers
Method
get_item_stack
( &self, res: &Resource<ItemStackHandle>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/item_stack.rs:135
↓ 25 callers
Method
next
(&mut self)
pumpkin/src/command/tree/mod.rs:110
↓ 24 callers
Method
contains
( &mut self, border: Resource<WitWorldBorder>, x: f64, z: f64, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/world.rs:1023
↓ 24 callers
Method
decrement_unless_creative
(&mut self, gamemode: GameMode, amount: u8)
pumpkin-data/src/item_stack/mod.rs:527
↓ 24 callers
Function
get
(value: &dyn DataComponentImpl)
pumpkin-data/src/data_component_impl.rs:131
↓ 24 callers
Method
get
Selects an element from a weighted distribution using the provided random generator. # Arguments `distribution` – A slice of weighted entries to sele
pumpkin-util/src/math/pool.rs:18
↓ 24 callers
Method
get_behaviour_mut
(&mut self)
pumpkin-inventory/src/gui_builder.rs:122
↓ 24 callers
Function
modify_dripstone_thickness_to
( world: &Arc<World>, pos: &BlockPos, new_thickness: SpeleothemThickness, )
pumpkin/src/block/blocks/dripstone.rs:385
↓ 24 callers
Method
to_block
(self)
pumpkin-data/src/blocks.rs:225
↓ 24 callers
Method
to_props
(&self)
pumpkin-data/src/generated/fluid.rs:938
↓ 23 callers
Method
get_list
(&self, name: &str)
pumpkin-nbt/src/compound.rs:202
↓ 23 callers
Method
get_living_entity
(&self)
pumpkin/src/entity/tnt.rs:107
↓ 23 callers
Method
is_full_cube
(&self)
pumpkin-data/src/block_state.rs:113
↓ 23 callers
Method
is_solid_block
(&self)
pumpkin-data/src/block_state.rs:121
↓ 23 callers
Method
next_inbetween_i32
(&mut self, min: i32, max: i32)
pumpkin-util/src/random/mod.rs:205
↓ 23 callers
Function
section_to_block
(coord: i32)
pumpkin-world/src/generation/mod.rs:79
↓ 23 callers
Method
spawn
(world: &Arc<World>, position: Vector3<f64>, amount: u32)
pumpkin/src/entity/experience_orb.rs:30
↓ 23 callers
Method
store_dynamic_error_and_suggest
Records that a dynamic error occurred while parsing, and adds suggestions to counteract it.
pumpkin/src/command/parser.rs:154
↓ 23 callers
Function
value_to_block_state_provider
Converts a block-state-provider JSON object into its `BlockStateProvider` token stream. # Arguments – `v` – the JSON value for the provider, expected
pumpkin-codegen/src/configured_feature.rs:891
↓ 22 callers
Method
build
(self)
pumpkin/src/command/suggestion/suggestions.rs:50
↓ 22 callers
Method
get_all_players
Returns all players from all worlds.
pumpkin/src/server/mod.rs:726
↓ 22 callers
Method
max
(&self)
pumpkin-util/src/math/bounds.rs:141
↓ 22 callers
Method
path
()
pumpkin/src/data/usercache.rs:38
↓ 22 callers
Method
properties
(&self, id: BlockStateId)
pumpkin-data/src/generated/fluid.rs:663
↓ 22 callers
Method
send_packet_now
(&self, packet: &P)
pumpkin/src/net/java/mod.rs:491
↓ 22 callers
Method
vertical_cell_block_count
(&self)
pumpkin-world/src/generation/noise/mod.rs:427
↓ 21 callers
Method
east
(&self)
pumpkin-util/src/math/position.rs:557
↓ 21 callers
Method
get
(&self, x: i32, y: i32, z: i32)
pumpkin-world/src/generation/carver/mask.rs:34
↓ 21 callers
Method
get_max_stack_size
(&self)
pumpkin-data/src/item_stack/mod.rs:224
↓ 21 callers
Method
get_player_by_uuid
Retrieves a player by their unique UUID. This function searches the world's active player list for a player with the specified UUID. If found, it ret
pumpkin/src/world/mod.rs:3766
↓ 21 callers
Method
get_selected_slot
(&mut self, player: Resource<Player>)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:1098
↓ 21 callers
Method
has_client_loaded
(&self)
pumpkin/src/entity/player.rs:2066
↓ 21 callers
Method
play_sound_fine
( &self, sound: Sound, category: SoundCategory, position: &Vector3<f64>,
pumpkin/src/world/mod.rs:776
↓ 21 callers
Method
rotate_clockwise
(&self)
pumpkin-data/src/block_direction.rs:247
↓ 21 callers
Method
send_velocity
(&self)
pumpkin/src/entity/mod.rs:1036
↓ 21 callers
Method
set_stack
(&self, slot: usize, stack: ItemStack)
pumpkin/src/plugin/api/gui.rs:80
↓ 21 callers
Method
south
(&self)
pumpkin-util/src/math/position.rs:566
↓ 21 callers
Method
update_neighbor
( self: &Arc<Self>, neighbor_block_pos: &BlockPos, source_block: &Block, )
pumpkin/src/world/mod.rs:4871
↓ 20 callers
Method
add_slot
Adds a slot to this screen handler. Assigns an ID and sets up tracking for the slot.
pumpkin-inventory/src/screen_handler.rs:273
↓ 20 callers
Method
expand
(&self, command: &str, range: StringRange)
pumpkin/src/command/suggestion/mod.rs:213
↓ 20 callers
Method
get_byte
(&self, name: &str)
pumpkin-nbt/src/compound.rs:150
↓ 20 callers
Method
get_entities_at_box
Gets all non Player entities at a Box
pumpkin/src/world/mod.rs:3735
↓ 20 callers
Method
get_stack
(&self, slot: usize)
pumpkin-inventory/src/player/player_inventory.rs:457
↓ 20 callers
Method
get_text
( &mut self, text_component: Resource<TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:122
↓ 20 callers
Method
into_iter
(self)
pumpkin-world/src/chunk/palette.rs:417
↓ 20 callers
Method
position
(&self)
pumpkin-world/src/chunk/format/mod.rs:52
↓ 20 callers
Method
serialize_field
(&mut self, value: &T)
pumpkin-protocol/src/ser/serializer.rs:265
↓ 20 callers
Method
sync_world_event
(&self, world_event: WorldEvent, position: BlockPos, data: i32)
pumpkin/src/world/mod.rs:4649
↓ 20 callers
Method
to_centered_f64
(&self)
pumpkin-util/src/math/position.rs:441
↓ 20 callers
Method
to_string
(&self)
pumpkin-data/src/data_component_impl.rs:1007
↓ 20 callers
Method
update_last_action_time
Updates the last action time to now. Call this on player actions like movement, chat, etc.
pumpkin/src/entity/player.rs:2622
↓ 19 callers
Function
command
A short-form way to create a new [`CommandArgumentBuilder`] from a literal and a command description. This can be imported directly without a prefix,
pumpkin/src/command/argument_builder.rs:62
↓ 19 callers
Method
flat_map
Chains a `DataResult` with another function taking a `DataResult`. - If there is a complete or partial result, `f` is called with that result, and the
pumpkin-codecs/src/data_result.rs:310
↓ 19 callers
Method
get
(&self)
pumpkin-inventory/src/screen_handler.rs:90
↓ 19 callers
Method
get_cloned_stack
Gets a copy of the stack in this slot. Acquires a lock and returns a clone of the stack.
pumpkin-inventory/src/slot.rs:112
↓ 19 callers
Method
get_text_mut
( &mut self, res: &Resource<TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:31
↓ 19 callers
Method
put_byte
(&mut self, name: &str, value: i8)
pumpkin-nbt/src/compound.rs:118
↓ 19 callers
Method
read
(r: Bytes)
pumpkin-world/src/chunk/format/pump.rs:61
↓ 19 callers
Method
rotation
Returns entity rotation as vector
pumpkin/src/entity/mod.rs:1108
↓ 19 callers
Method
sample
( &mut self, router: &mut ChunkNoiseRouter, ore_random_deriver: &XoroshiroSplitter,
pumpkin-world/src/generation/noise/mod.rs:45
↓ 19 callers
Method
send_content_updates
Sends all content updates to listeners and sync handler.
pumpkin-inventory/src/screen_handler.rs:619
↓ 19 callers
Method
string
(&self)
pumpkin/src/command/string_reader.rs:40
↓ 19 callers
Method
suggest
(mut self, text: T)
pumpkin/src/command/suggestion/suggestions.rs:56
← previous
next →
201–300 of 10,199, ranked by callers