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
↓ 8 callers
Method
get_argument
Returns a reference to a particular argument with type `T`. If it fails, an error with the appropriate message is returned. Ideally should be used wi
pumpkin/src/command/context/command_context.rs:156
↓ 8 callers
Method
get_block
(&self, y: i32)
pumpkin-world/src/generation/noise/aquifer_sampler.rs:43
↓ 8 callers
Method
get_block_collision_shapes
(&self)
pumpkin-data/src/block_state.rs:175
↓ 8 callers
Method
get_block_state_id_if_loaded
(&self, position: &BlockPos)
pumpkin/src/world/mod.rs:4692
↓ 8 callers
Method
get_eye_pos
(&self)
pumpkin/src/entity/mod.rs:2888
↓ 8 callers
Method
get_eye_y
(&self)
pumpkin/src/entity/mod.rs:2897
↓ 8 callers
Method
get_int_array
(&self, name: &str)
pumpkin-nbt/src/compound.rs:212
↓ 8 callers
Method
get_living_entity
(&self)
pumpkin/src/entity/mod.rs:3440
↓ 8 callers
Method
get_living_entity
(&self)
pumpkin/src/entity/mob/mod.rs:655
↓ 8 callers
Method
get_or_fetch_chunk
( self: &Arc<Self>, pos: Vector2<i32>, f: F, )
pumpkin-world/src/level.rs:549
↓ 8 callers
Method
get_player_by_uuid
( &mut self, _rep: Resource<Server>, id: WitUuid, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/server.rs:139
↓ 8 callers
Function
get_side
(world: &World, pos: &BlockPos, side: BlockDirection)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:313
↓ 8 callers
Method
get_slot
Gets a slot by its index.
pumpkin-inventory/src/player/player_screen_handler.rs:70
↓ 8 callers
Method
get_str_bounded
(&mut self, bound: usize)
pumpkin-protocol/src/ser/mod.rs:157
↓ 8 callers
Method
get_text_provider
( &self, res: &Resource<pumpkin::plugin::text::TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/world.rs:107
↓ 8 callers
Method
get_top_block
Gets the y position of the first non air block from the top down
pumpkin/src/world/mod.rs:1722
↓ 8 callers
Method
into_absolute
(self, origin: Option<f64>)
pumpkin/src/command/args/coordinate.rs:29
↓ 8 callers
Method
is_empty
(&self)
pumpkin/src/command/suggestion/suggestions.rs:287
↓ 8 callers
Function
is_empty_block
`true` if the block one step in `dir` from `from` is air (the bullet can pass through it). Unloaded chunks are treated as empty.
pumpkin/src/entity/projectile/shulker_bullet.rs:244
↓ 8 callers
Method
is_horizontal
(&self)
pumpkin-data/src/block_direction.rs:177
↓ 8 callers
Method
is_in_love
(&self)
pumpkin/src/entity/mob/mod.rs:176
↓ 8 callers
Method
is_sprinting
(&self)
pumpkin/src/entity/mod.rs:2619
↓ 8 callers
Method
kick
(&self, reason: DisconnectReason, message: String)
pumpkin/src/net/bedrock/mod.rs:354
↓ 8 callers
Method
mark_dirty
(&self)
pumpkin/src/block/entities/brewing_stand.rs:277
↓ 8 callers
Method
mark_dirty
(&self)
pumpkin-inventory/src/player/player_inventory.rs:517
↓ 8 callers
Method
match_item
(&self, item: &pumpkin_data::item::Item)
pumpkin-inventory/src/crafting/recipe_provider.rs:20
↓ 8 callers
Method
max
(&self)
pumpkin-world/src/generation/noise/router/density_function/beardifier.rs:214
↓ 8 callers
Method
max_block_pos
(&self)
pumpkin-util/src/math/boundingbox.rs:311
↓ 8 callers
Method
max_y
(&self)
pumpkin-data/src/generated/chunk_gen_settings.rs:38
↓ 8 callers
Method
next
(random: &mut RandomGenerator)
pumpkin-world/src/generation/structure/structures/jungle_temple.rs:853
↓ 8 callers
Method
next_random
Generates the next random value and advances the generator state. This implements the core Xoroshiro128+ algorithm: `result = state.lo + state.hi` Th
pumpkin-util/src/random/xoroshiro128.rs:120
↓ 8 callers
Function
packed
(x: i64, y: i64, z: i64)
pumpkin-world/src/generation/positions.rs:28
↓ 8 callers
Function
parse
(snbt: &str)
pumpkin/src/command/snbt/tests.rs:12
↓ 8 callers
Function
process_packets
( dir: &str, state: &str, output: &mut String, attr_name: &str, variant_prefix: &str,
pumpkin-codegen/src/wit/packet_mapping.rs:191
↓ 8 callers
Method
profession_enum
(&self)
pumpkin/src/entity/passive/villager/data.rs:52
↓ 8 callers
Method
protocol_version
(&self)
pumpkin-util/src/version.rs:89
↓ 8 callers
Method
read_unquoted_string
Reads an unquoted string (not enclosed in quotes)
pumpkin/src/command/string_reader.rs:254
↓ 8 callers
Function
record_update
( updates: &mut Vec<SlotUpdate>, container_name: FullContainerName, slot_id: u8, count: u8,
pumpkin/src/net/bedrock/play.rs:1996
↓ 8 callers
Method
remaining_lowercase
(&self)
pumpkin/src/command/suggestion/suggestions.rs:44
↓ 8 callers
Method
send_pos_rot
(&self)
pumpkin/src/entity/mod.rs:1482
↓ 8 callers
Method
send_system_message_raw
(&self, text: &TextComponent, overlay: bool)
pumpkin/src/entity/player.rs:3139
↓ 8 callers
Method
set_block_breaking
(&self, from: &Entity, location: BlockPos, progress: i32)
pumpkin/src/world/mod.rs:4207
↓ 8 callers
Method
set_pose
(&self, pose: EntityPose)
pumpkin/src/entity/mod.rs:2739
↓ 8 callers
Function
set_surface_height
(chunk: &mut ProtoChunk, x: i32, z: i32, height: i16)
pumpkin-world/src/generation/carver/mod.rs:567
↓ 8 callers
Function
setup_cache
Build a cache containing chunk 0, 0 at the center so that features and lighting stages get a 3×3 cache.
pumpkin-world/benches/chunk_gen.rs:59
↓ 8 callers
Method
split_pos
(&self, x: i32, y: i32, z: i32)
pumpkin-util/src/random/xoroshiro128.rs:242
↓ 8 callers
Method
to_block_pos
Converts this vector to a `BlockPos` by rounding each component to the nearest integer. # Returns A new `BlockPos` representing the rounded position.
pumpkin-util/src/math/vector3.rs:643
↓ 8 callers
Method
to_bytes
(&self)
pumpkin-world/src/chunk/format/linear.rs:93
↓ 8 callers
Method
to_id
(&self)
pumpkin-protocol/src/bedrock/mod.rs:95
↓ 8 callers
Method
transform_pos
Transforms a template-relative position to world coordinates.
pumpkin-world/src/generation/structure/template/template_piece.rs:102
↓ 8 callers
Method
update_property
Updates a container property on the client. Used for UI elements like furnace progress bars. # Arguments - `screen_handler` - The screen handler - `
pumpkin-inventory/src/sync_handler.rs:176
↓ 8 callers
Method
write_bitset
(&mut self, data: &BitSet)
pumpkin-protocol/src/ser/mod.rs:387
↓ 8 callers
Method
write_packet_data
( &self, mut write: impl std::io::Write, version: &JavaMinecraftVersion, )
pumpkin-protocol/src/java/client/play/player_spawn_data.rs:57
↓ 7 callers
Method
add
(&self, category: &'static MobCategory)
pumpkin/src/world/natural_spawner.rs:60
↓ 7 callers
Method
add_block_entity
(&mut self, nbt: NbtCompound)
pumpkin-world/src/generation/proto_chunk.rs:327
↓ 7 callers
Method
add_child_to_root
Adds a [`CommandDetachedNode`] to the root node of this tree.
pumpkin/src/command/node/tree.rs:168
↓ 7 callers
Method
add_entity
( &mut self, provider: Arc<dyn EntityBase>, )
pumpkin/src/plugin/loader/wasm/wasm_host/state.rs:140
↓ 7 callers
Method
append
(mut self, other: Self)
pumpkin/src/command/suggestion/suggestions.rs:89
↓ 7 callers
Method
apply_density
(&self, density: f64)
pumpkin-data/src/generated/noise_router.rs:52
↓ 7 callers
Function
array_to_tokenstream
(array: &[String])
pumpkin-codegen/src/main.rs:182
↓ 7 callers
Method
as_any
(&self)
pumpkin/src/entity/player.rs:4861
↓ 7 callers
Method
as_blockpos
(&self)
pumpkin/src/entity/ai/pathfinder/node.rs:96
↓ 7 callers
Method
as_player
(&self)
pumpkin/src/command/mod.rs:129
↓ 7 callers
Method
at_pos
(&self, pos: BlockPos)
pumpkin-util/src/math/boundingbox.rs:163
↓ 7 callers
Method
can_insert
Restricts inserts to appropriate armor types.
pumpkin-inventory/src/slot.rs:424
↓ 7 callers
Function
can_place_at
(block_accessor: &dyn BlockAccessor, position: &BlockPos)
pumpkin/src/block/blocks/snow.rs:103
↓ 7 callers
Function
can_support_dripstone
(support_block: &Block)
pumpkin/src/block/blocks/dripstone.rs:376
↓ 7 callers
Method
cmp
(&self, other: &Self)
pumpkin/src/entity/player.rs:142
↓ 7 callers
Function
consume_world
( state: &mut PluginHostState, world: &Resource<pumpkin::plugin::world::World>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/events/mod.rs:197
↓ 7 callers
Method
create_list
(&self, values: I)
pumpkin-codecs/src/json_ops.rs:70
↓ 7 callers
Method
damage
( &'a self, source: &'a dyn EntityBase, amount: f32, damage_type: DamageType,
pumpkin/src/entity/boss/ender_dragon.rs:166
↓ 7 callers
Method
decode
(bytes: Vec<u8>)
pumpkin-protocol/src/query.rs:70
↓ 7 callers
Method
estimate_height
(&mut self, block_x: i32, block_z: i32)
pumpkin-world/src/generation/structure/structures/mod.rs:670
↓ 7 callers
Method
execute
( &'a self, _sender: &'a CommandSender, _server: &'a crate::server::Server, ar
pumpkin/src/command/commands/teleport.rs:73
↓ 7 callers
Method
execute
( &'a self, sender: &'a CommandSender, _server: &'a crate::server::Server, arg
pumpkin/src/command/commands/playsound.rs:69
↓ 7 callers
Method
fill_forward_opening
( &self, start: &StructurePiece, collector: &mut StructurePiecesCollector, ran
pumpkin-world/src/generation/structure/structures/stronghold/mod.rs:412
↓ 7 callers
Method
floor_to_i32
Floors each component to the nearest integer and converts to `Vector3<i32>`. # Returns A new `Vector3<i32>` with each component floored to the neares
pumpkin-util/src/math/vector3.rs:613
↓ 7 callers
Method
get_axis
Gets the component value for the specified axis. # Arguments - `a` – The axis to get the value for. # Returns The component value at the specified a
pumpkin-util/src/math/vector3.rs:73
↓ 7 callers
Method
get_entity
(&self)
pumpkin/src/entity/projectile/trident.rs:295
↓ 7 callers
Method
get_entity
(&self)
pumpkin/src/entity/boss/ender_dragon.rs:162
↓ 7 callers
Method
get_entry
(&self, uuid: &Uuid)
pumpkin/src/data/op.rs:17
↓ 7 callers
Method
get_index
(&self)
pumpkin-inventory/src/slot.rs:359
↓ 7 callers
Method
get_max_item_count_for_stack
Gets the maximum item count for the given stack in this slot.
pumpkin-inventory/src/slot.rs:180
↓ 7 callers
Method
get_player
Tries to get a single player from a parsed argument of the provided [`CommandContext`].
pumpkin/src/command/argument_types/entity.rs:194
↓ 7 callers
Method
get_player_by_name
Gets a `Player` by a username
pumpkin/src/world/mod.rs:3708
↓ 7 callers
Method
get_pumpkin_item
(&self, item: u16)
pumpkin/src/item/registry.rs:139
↓ 7 callers
Method
get_raw_packet
(&mut self)
pumpkin-protocol/src/java/packet_decoder.rs:111
↓ 7 callers
Method
get_state
(&self, chunk: &T, pos: &BlockPos)
pumpkin-world/src/generation/block_predicate.rs:255
↓ 7 callers
Method
get_structure_position
( &self, mut context: StructureGeneratorContext<'_>, )
pumpkin-world/src/generation/structure/structures/igloo.rs:65
↓ 7 callers
Function
get_translation_text
Resolves a translation into plain text. # Arguments `namespaced_key`: The fully qualified `namespace:key`. `locale`: The requested locale. `with`: Su
pumpkin-util/src/translation.rs:243
↓ 7 callers
Method
get_tree
(&'a self, key: &str)
pumpkin/src/command/dispatcher.rs:470
↓ 7 callers
Method
get_with_context
( &self, block_registry: &dyn WorldPortalExt, chunk: &T, random: &mut RandomGe
pumpkin-world/src/generation/block_state_provider.rs:49
↓ 7 callers
Method
horizontal_length
Calculates the horizontal length (size of XZ components) of the vector. # Returns The horizontal length of the vector.
pumpkin-util/src/math/vector3.rs:414
↓ 7 callers
Method
increment_custom
(&mut self, stat: CustomStatistic, amount: i32)
pumpkin/src/entity/player/statistics.rs:18
↓ 7 callers
Method
into_result
(self)
pumpkin-codecs/src/data_result.rs:209
↓ 7 callers
Method
is_empty
(&self)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:45
↓ 7 callers
Method
is_idle
(&self)
pumpkin/src/entity/ai/pathfinder/mod.rs:455
↓ 7 callers
Method
is_in_build_limit
(&self, dest: BlockPos)
pumpkin/src/world/mod.rs:4672
↓ 7 callers
Method
look_at
(&mut self, mob: &dyn Mob, x: f64, y: f64, z: f64)
pumpkin/src/entity/ai/control/look_control.rs:47
↓ 7 callers
Method
mark_dirty
(&self)
pumpkin/src/block/entities/jukebox.rs:172
← previous
next →
601–700 of 10,199, ranked by callers