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
↓ 3 callers
Method
write_legacy
(&self, writer: &mut W)
pumpkin-protocol/src/codec/lp_vector_3d.rs:114
↓ 3 callers
Method
write_packet_data
(&self, writer: &mut W, id: u8)
pumpkin-protocol/src/bedrock/frame_set.rs:20
↓ 3 callers
Method
write_packet_data
( &self, mut write: impl Write, version: &JavaMinecraftVersion, )
pumpkin-protocol/src/java/client/play/sound_effect.rs:48
↓ 3 callers
Method
write_packet_data
( &self, mut write: impl Write, version: &JavaMinecraftVersion, )
pumpkin-protocol/src/java/client/play/entity_sound_effect.rs:58
↓ 3 callers
Method
write_world_info
( &self, info: &LevelData, level_folder: &Path, )
pumpkin-world/src/world_info/anvil.rs:102
↓ 3 callers
Function
yaw_pitch_facing_position
Calculates yaw and pitch to look from one position towards another.
pumpkin/src/command/commands/rotate.rs:24
↓ 2 callers
Method
abort_respawn
(&mut self, world: &Arc<World>)
pumpkin/src/world/dragon_fight.rs:483
↓ 2 callers
Function
abs_max
(a: f64, b: f64)
pumpkin-protocol/src/codec/lp_vector_3d.rs:142
↓ 2 callers
Method
absolute_bounding_box
(&self, pos: Vector3<f64>)
pumpkin/src/command/argument_types/entity_selector/mod.rs:250
↓ 2 callers
Method
accept_all
Accepts all [`NbtTag`]s of the provided list.
pumpkin-nbt/src/nbt_ops.rs:513
↓ 2 callers
Method
ack_window_open
(&self)
pumpkin/src/entity/player.rs:204
↓ 2 callers
Method
add_attached_child
Adds an already-attached child to a given node. # Panics Panics if the node to be added to a non-root node is a [`CommandAttachedNode`], or if the n
pumpkin/src/command/node/tree.rs:212
↓ 2 callers
Method
add_chest
( &self, chunk: &mut ProtoChunk, bb: &BlockBox, random: &mut RandomGenerator,
pumpkin-world/src/generation/structure/structures/mod.rs:464
↓ 2 callers
Method
add_command_node
( &mut self, provider: NonLeafNodeBuilder, )
pumpkin/src/plugin/loader/wasm/wasm_host/state.rs:243
↓ 2 callers
Method
add_context
( &mut self, provider: Arc<Context>, )
pumpkin/src/plugin/loader/wasm/wasm_host/state.rs:106
↓ 2 callers
Method
add_cursor
(&mut self, pos: BlockPos, charge: i32)
pumpkin-world/src/generation/feature/features/sculk_patch.rs:239
↓ 2 callers
Method
add_data_result
(mut self, value: DataResult<T>)
pumpkin-codecs/src/list_builder.rs:55
↓ 2 callers
Method
add_entities
( &self, list: &mut Vec<Arc<dyn EntityBase>>, world: &World, bounding_box: Opt
pumpkin/src/command/argument_types/entity_selector/mod.rs:143
↓ 2 callers
Method
add_entity
(&self, world: &World, entity: &dyn EntityBase)
pumpkin/src/world/natural_spawner.rs:284
↓ 2 callers
Method
add_global_chunk_listener
(&self)
pumpkin-world/src/chunk_system/chunk_listener.rs:35
↓ 2 callers
Method
add_junction
(&mut self, junction: JigsawJunction)
pumpkin-world/src/generation/structure/structures/jigsaw.rs:506
↓ 2 callers
Method
add_or_replace_modifier
(&mut self, modifier: Modifier)
pumpkin/src/entity/attributes.rs:75
↓ 2 callers
Method
add_recipe_slots
( &'a mut self, crafing_inventory: Arc<dyn RecipeInputInventory>, provider: Option<Arc
pumpkin-inventory/src/crafting/crafting_screen_handler.rs:539
↓ 2 callers
Method
add_stack_to_slot
Adds a stack to a specific slot. Returns the number of items that couldn't fit.
pumpkin-inventory/src/player/player_inventory.rs:162
↓ 2 callers
Method
add_text
( &mut self, text_component: Resource<TextComponent>, text: String, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:112
↓ 2 callers
Method
add_trades
(&self, profession: VillagerProfession, level: i32)
pumpkin/src/entity/passive/villager/mod.rs:228
↓ 2 callers
Method
add_velocity
(&self, velocity: Vector3<f64>)
pumpkin/src/entity/mod.rs:944
↓ 2 callers
Method
advance
(&mut self)
pumpkin/src/entity/ai/pathfinder/path.rs:38
↓ 2 callers
Function
all_neighbors_empty
Returns `true` if all four horizontal neighbors of `pos` are air, optionally ignoring one direction (`ignore`).
pumpkin-world/src/generation/feature/features/chorus_plant.rs:48
↓ 2 callers
Method
allow_modification
Checks if this slot can be modified by the player. Mojang name: `allowModification`
pumpkin-inventory/src/slot.rs:211
↓ 2 callers
Function
ancient_city_shrieker_state
()
pumpkin-world/src/generation/feature/features/sculk_patch.rs:181
↓ 2 callers
Method
apply
(&self, pos: Vector3<f64>)
pumpkin/src/command/argument_types/entity_selector/mod.rs:301
↓ 2 callers
Method
apply_2_and_make_stable
Similar to [`Self::apply_2`], but this also marks the returned `DataResult` as [`Lifecycle::Stable`].
pumpkin-codecs/src/data_result.rs:406
↓ 2 callers
Method
apply_color_effect
Applies a per-character color effect to the text content. # Arguments - `color_gen` – A function that takes the character index and total length and
pumpkin-util/src/text/mod.rs:883
↓ 2 callers
Method
apply_fluid_moving_speed
(&self, dy: &mut f64, gravity: f64, falling: bool)
pumpkin/src/entity/living.rs:1010
↓ 2 callers
Method
apply_internal
( &mut self, router: &mut ChunkNoiseRouter, pos: &Vector3<i32>, sample_options
pumpkin-world/src/generation/noise/aquifer_sampler.rs:570
↓ 2 callers
Method
apply_knockback
Applies knockback to the entity, following vanilla Minecraft's mechanics. `LivingEntity.takeKnockback()` This function calculates the entity's new vel
pumpkin/src/entity/mod.rs:1292
↓ 2 callers
Method
apply_spread
Core spread logic with quiescence checks and state updates. Implements: - Quiescence: prevents unnecessary updates (e.g., source blocks, lower levels
pumpkin/src/block/fluid/flowing_trait.rs:316
↓ 2 callers
Method
apply_updates
Flushes pending updates to chunk storage
pumpkin-world/src/lighting/engine.rs:94
↓ 2 callers
Method
are_compatible
(&self, other: &'static Enchantment)
pumpkin-data/src/generated/enchantment.rs:1085
↓ 2 callers
Method
as_any
(&self)
pumpkin/src/block/entities/hopper.rs:115
↓ 2 callers
Method
as_any_mut
(&mut self)
pumpkin/src/plugin/api/gui.rs:143
↓ 2 callers
Method
as_long
(&self)
pumpkin-util/src/math/position.rs:607
↓ 2 callers
Function
as_translate
(text: &TextComponent)
pumpkin-codegen/src/advancement.rs:42
↓ 2 callers
Function
assert_world_y
(run: &mut Run, x: i32, y: i32, z: i32, expected: BlockStateId)
pumpkin-world/src/generation/carver/cave.rs:468
↓ 2 callers
Method
attach
Helper to attach a [`DetachedNode`] irreversibly into this [`Tree`], returning the ID of the now attached node.
pumpkin/src/command/node/tree.rs:135
↓ 2 callers
Method
award
award a criterion of an advancement to the player, updating its status to complete and granting rewards if applicable.
pumpkin/src/entity/player/advancement.rs:414
↓ 2 callers
Method
award_experience
(&self, amount: i32)
pumpkin/src/entity/player.rs:5161
↓ 2 callers
Method
axis
(&self)
pumpkin/src/world/portal/nether.rs:250
↓ 2 callers
Function
ban_ip
( sender: &CommandSender, server: &Server, target: &str, reason: Option<String>, )
pumpkin/src/command/commands/banip.rs:77
↓ 2 callers
Function
ban_players
Returns the number of players successfully banned.
pumpkin/src/command/commands/ban.rs:68
↓ 2 callers
Function
bedrock_param_type
(arg: &ArgumentType)
pumpkin/src/command/client_suggestions.rs:589
↓ 2 callers
Method
biome
(&self, x: i32, y: i32, z: i32, sampler: &mut MultiNoiseSampler<'_>)
pumpkin-world/src/generation/blender/mod.rs:325
↓ 2 callers
Method
biome
(&self, x: i32, y: i32, z: i32, noise: &mut MultiNoiseSampler<'_>)
pumpkin-world/src/biome/mod.rs:36
↓ 2 callers
Method
bits_per_entry
(&self)
pumpkin-world/src/chunk/palette.rs:185
↓ 2 callers
Method
block_and_await_ongoing_tasks
Blocks until all in-flight serialiser operations have completed by acquiring (and immediately releasing) a write-lock on every cached serialiser. Thi
pumpkin-world/src/chunk/io/file_manager.rs:408
↓ 2 callers
Function
block_entity_from_nbt
(nbt: &NbtCompound)
pumpkin/src/block/entities/mod.rs:151
↓ 2 callers
Method
block_position
(&self)
pumpkin/src/entity/ai/pathfinder/node_evaluator.rs:114
↓ 2 callers
Method
bold
(mut self)
pumpkin-util/src/text/mod.rs:929
↓ 2 callers
Method
bottom
(&self)
pumpkin-world/src/cylindrical_chunk_iterator.rs:45
↓ 2 callers
Function
bounce_entity_after_fall
(entity: &dyn EntityBase, bounce_multiplier: f64)
pumpkin/src/block/mod.rs:49
↓ 2 callers
Method
broadcast_entity_spawn
(&self, entity: &Arc<dyn EntityBase>)
pumpkin/src/world/mod.rs:4113
↓ 2 callers
Method
broadcast_packet_except_editioned
( &self, except: &[uuid::Uuid], je_packet: &J, be_packet: &B, )
pumpkin/src/world/mod.rs:695
↓ 2 callers
Method
build_sample_list
(&self)
pumpkin/src/server/connection_cache.rs:98
↓ 2 callers
Method
build_surface
( &mut self, generator: &super::generator::VanillaGenerator, surface_height_estimate_s
pumpkin-world/src/generation/proto_chunk.rs:888
↓ 2 callers
Method
burnable
(&self)
pumpkin-data/src/block_state.rs:82
↓ 2 callers
Function
bypasses_armor_durability
Returns `true` if `damage_type` is in `#minecraft:bypasses_armor` (1.21.11). These sources bypass armor entirely (fall, drown, freeze, etc.).
pumpkin/src/entity/living.rs:2629
↓ 2 callers
Method
calculate
(&self, level: i32)
pumpkin-data/src/generated/enchantment.rs:31
↓ 2 callers
Method
calculate_collision_time
( &self, other: &Self, movement: Vector3<f64>, axis: Axis, max_time: f
pumpkin-util/src/math/boundingbox.rs:260
↓ 2 callers
Method
calculate_gaussian
Generates the next Gaussian-distributed random value. # Returns A random value from a standard Gaussian (normal) distribution.
pumpkin-util/src/random/gaussian.rs:21
↓ 2 callers
Method
calculate_output_signal
( &self, world: &World, pos: BlockPos, state: &BlockState, block: &Blo
pumpkin/src/block/blocks/redstone/comparator.rs:321
↓ 2 callers
Method
calculate_push
(&mut self)
pumpkin/src/block/blocks/piston/mod.rs:49
↓ 2 callers
Function
calculate_ray_intersection
Ray intersection algorithm for AABBs, returning a t value
pumpkin/src/entity/projectile/mod.rs:273
↓ 2 callers
Function
calculate_ray_intersection
Ray intersection algorithm for AABBs
pumpkin/src/entity/projectile/arrow.rs:519
↓ 2 callers
Function
calculate_ray_intersection
Ray intersection algorithm for AABBs, returning a t value
pumpkin/src/entity/projectile/trident.rs:413
↓ 2 callers
Method
calculate_teleport_yaw
( &self, current_yaw: f32, source_axis: Option<HorizontalAxis>, )
pumpkin/src/world/portal/nether.rs:42
↓ 2 callers
Method
can_add_segment
(&self, props: &Self::Properties)
pumpkin/src/block/blocks/plant/segmented.rs:49
↓ 2 callers
Method
can_attack_with_owner
(&self, _target: &dyn EntityBase, _owner: &dyn EntityBase)
pumpkin/src/entity/mob/mod.rs:447
↓ 2 callers
Function
can_connect_diagonal_to
(block: &Block)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:309
↓ 2 callers
Method
can_enchant
(&self, item: &'static Item)
pumpkin-data/src/generated/enchantment.rs:1082
↓ 2 callers
Function
can_entity_walk_on_powder_snow
(entity: &dyn EntityBase)
pumpkin/src/block/blocks/powder_snow.rs:22
↓ 2 callers
Method
can_generate
(&self)
pumpkin-world/src/generation/structure/structures/nether_fortress/mod.rs:124
↓ 2 callers
Method
can_hit
(&self)
pumpkin/src/entity/mob/mod.rs:607
↓ 2 callers
Method
can_load
(&self, path: &Path)
pumpkin/src/plugin/loader/native.rs:59
↓ 2 callers
Method
can_merge
(&self)
pumpkin/src/entity/item.rs:110
↓ 2 callers
Function
can_place_at
(chunk: &T, pos: BlockPos)
pumpkin-world/src/generation/feature/features/basalt_columns.rs:120
↓ 2 callers
Function
can_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos)
pumpkin/src/block/blocks/doors.rs:353
↓ 2 callers
Function
can_place_at
(world: &dyn BlockAccessor, position: &BlockPos)
pumpkin/src/block/blocks/candle_cakes.rs:146
↓ 2 callers
Method
can_place_at
(&self, args: CanPlaceAtArgs<'_>)
pumpkin/src/block/blocks/fire/fire.rs:242
↓ 2 callers
Function
can_place_at_pos
( block_accessor: &dyn BlockAccessor, position: &BlockPos, placing_direction: Option<BlockDirectio
pumpkin/src/block/blocks/dripstone.rs:287
↓ 2 callers
Function
can_plant_dripleaf_on_top
(support_block: &Block)
pumpkin/src/block/blocks/plant/big_dripleaf.rs:248
↓ 2 callers
Method
can_read_bytes
(&self, length: usize)
pumpkin/src/command/string_reader.rs:82
↓ 2 callers
Method
can_spawn
(&self, category: &'static MobCategory)
pumpkin/src/world/natural_spawner.rs:69
↓ 2 callers
Method
can_stay_at
Check whether the shulker can stay where it is. The block at `pos` must be free (air) and the block in the `face` direction from `pos` must be solid.
pumpkin/src/entity/mob/shulker.rs:200
↓ 2 callers
Method
can_update_at
( &self, world: &World, block: &Block, state_id: BlockStateId, positio
pumpkin/src/block/registry.rs:834
↓ 2 callers
Method
can_use
Returns whether this option can be used by the provided [`EntitySelectorParser`].
pumpkin/src/command/argument_types/entity_selector/option.rs:289
↓ 2 callers
Method
carve
( &self, config: &CarverConfig, run: &mut CarveRun, random: &mut RandomGenerat
pumpkin-world/src/generation/carver/cave.rs:11
↓ 2 callers
Method
cast_any
(&self)
pumpkin/src/entity/tnt.rs:119
↓ 2 callers
Function
ceil_log2
(value: u32)
pumpkin-util/src/math/mod.rs:142
↓ 2 callers
Method
check_infinite_source_formation
Checks if infinite source formation conditions are met. Requirements: - 2+ horizontally adjacent source blocks (level 8, non-falling) - Block below i
pumpkin/src/block/fluid/flowing_trait.rs:414
← previous
next →
1,601–1,700 of 10,199, ranked by callers