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
↓ 6,556 callers
Function
new
()
pumpkin-util/src/identifier.rs:405
↓ 1,321 callers
Method
unwrap
Tries to get a complete result from this `DataResult`. If no such result exists, this function panics.
pumpkin-codecs/src/data_result.rs:234
↓ 1,206 callers
Method
load
Loads the player's advancement progress from disk.
pumpkin/src/entity/player/advancement.rs:284
↓ 975 callers
Method
insert
(&mut self, advancement: &'static Advancement, progress: AdvancementProgress)
pumpkin/src/entity/player/advancement.rs:181
↓ 827 callers
Method
to_string
(&self)
pumpkin-data/src/generated/effect.rs:566
↓ 773 callers
Method
clone
(&self)
pumpkin/src/net/mod.rs:48
↓ 769 callers
Method
push
(&'a self, entity: &'a Arc<dyn EntityBase>)
pumpkin/src/entity/mod.rs:372
↓ 749 callers
Method
map
Maps a `DataResult` of a type `R` to a `DataResult` of a type `T` by applying a function, leaving non-results untouched. `f` is applied to complete r
pumpkin-codecs/src/data_result.rs:275
↓ 647 callers
Method
store
( &mut self, reader: &StringReader, error: impl FnOnce() -> DelayedCommandSyntaxError,
pumpkin/src/command/parser.rs:119
↓ 542 callers
Method
clone
(&self)
pumpkin-data/src/data_component_impl.rs:125
↓ 475 callers
Method
to_string
(&mut self, id: Uuid)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/uuid.rs:21
↓ 451 callers
Method
load
()
pumpkin/src/data/mod.rs:29
↓ 432 callers
Method
add_block
( &self, world: &mut ProtoChunk, block: &BlockState, x: i32, y: i32,
pumpkin-world/src/generation/structure/structures/mod.rs:421
↓ 431 callers
Method
iter
Returns an iterator to all the nodes of this tree.
pumpkin/src/command/node/tree.rs:410
↓ 415 callers
Method
add_goal
(&mut self, priority: u8, goal: Box<G>)
pumpkin/src/entity/ai/goal/goal_selector.rs:20
↓ 351 callers
Method
as_ref
(&self)
pumpkin/src/entity/player.rs:4778
↓ 331 callers
Method
fill_with_outline
( &self, chunk: &mut ProtoChunk, box_limit: &BlockBox, cant_replace_air: bool,
pumpkin-world/src/generation/structure/structures/mod.rs:237
↓ 326 callers
Method
get_entity
Tries to get a single entity from a parsed argument of the provided [`CommandContext`].
pumpkin/src/command/argument_types/entity.rs:159
↓ 298 callers
Method
clone
(&self)
pumpkin/src/entity/attributes.rs:179
↓ 295 callers
Method
then
(mut self, child: impl NodeBuilder)
pumpkin/src/command/tree/builder.rs:12
↓ 291 callers
Method
to_offset
(&self)
pumpkin-data/src/block_direction.rs:97
↓ 288 callers
Method
len
(&self)
pumpkin-util/src/lib.rs:200
↓ 282 callers
Method
next_bounded_i32
(&mut self, bound: i32)
pumpkin-util/src/random/legacy_rand.rs:100
↓ 274 callers
Method
extend
(&mut self, iter: T)
pumpkin-nbt/src/compound.rs:258
↓ 264 callers
Method
offset
(&self, offset: Vector3<i32>)
pumpkin-util/src/math/position.rs:457
↓ 241 callers
Method
expect
Expects to consume a specific [`char`], or return an [`Err`].
pumpkin/src/command/string_reader.rs:321
↓ 237 callers
Method
to_state_id
(&self, block: &Block)
pumpkin/src/block/blocks/redstone/rails/mod.rs:241
↓ 233 callers
Method
expect
Tries to get a complete result from this `DataResult`. If no such result exists, this function panics with a custom message.
pumpkin-codecs/src/data_result.rs:244
↓ 214 callers
Method
iter
(&self)
pumpkin-world/src/chunk/palette.rs:383
↓ 204 callers
Method
get_block
Gets a `Block` from the block registry. Returns `Block::AIR` if the block was not found.
pumpkin/src/world/mod.rs:4686
↓ 202 callers
Method
load
( level: Arc<Level>, level_info: Arc<ArcSwap<LevelData>>, dimension: Dimension,
pumpkin/src/world/mod.rs:276
↓ 197 callers
Method
down
(&self)
pumpkin-util/src/math/position.rs:518
↓ 194 callers
Method
has_tag
(self, tag: Tag)
pumpkin-data/src/blocks.rs:237
↓ 187 callers
Function
new
()
pumpkin-util/src/noise/simplex.rs:391
↓ 184 callers
Method
get_block_state
Gets the `BlockState` from the block registry. Returns Air if the block state was not found.
pumpkin/src/world/mod.rs:4812
↓ 177 callers
Method
iter
(&self)
pumpkin-codecs/src/json_ops.rs:322
↓ 177 callers
Method
write_var_int
(&mut self, data: &VarInt)
pumpkin-protocol/src/ser/mod.rs:351
↓ 168 callers
Method
len
(&self)
pumpkin/src/command/context/string_range.rs:61
↓ 165 callers
Method
set_block_state
(&mut self, block_state: BlockStateId)
pumpkin/src/block/entities/hopper.rs:102
↓ 160 callers
Method
is_empty
(&self)
pumpkin/src/entity/player/advancement.rs:194
↓ 158 callers
Method
get
(&self, name: &str)
pumpkin/src/command/node/tree.rs:405
↓ 153 callers
Method
clone
(&self)
pumpkin/src/block/entities/sign.rs:128
↓ 152 callers
Method
register
(&mut self, block: T)
pumpkin/src/block/registry.rs:624
↓ 142 callers
Method
set_block_state
(&mut self, x: i32, y: i32, z: i32, block_state: &BlockState)
pumpkin-world/src/generation/proto_chunk.rs:452
↓ 141 callers
Method
map_or_else
Maps a `DataResult` of a type `R` to a type `T`. - If there is a complete result, `f` (the result function) is called with that result. - Otherwise, i
pumpkin-codecs/src/data_result.rs:295
↓ 135 callers
Method
len
(&self)
pumpkin-world/src/generation/structure/template/cache.rs:100
↓ 135 callers
Method
len
(&self)
pumpkin/src/entity/player/advancement.rs:187
↓ 134 callers
Function
argument
```name``` identifies this argument in [`ConsumedArgs`]. ```consumer: ArgumentConsumer``` has the purpose of validating arguments. Conversion may sta
pumpkin/src/command/tree/builder.rs:152
↓ 131 callers
Method
min
(mut self, min_inclusive: T)
pumpkin/src/command/args/bounded_num.rs:146
↓ 130 callers
Method
clone
(&self)
pumpkin/src/world/weather.rs:159
↓ 127 callers
Method
up
(&self)
pumpkin-util/src/math/position.rs:497
↓ 126 callers
Method
max
(mut self, max_inclusive: T)
pumpkin/src/command/args/bounded_num.rs:152
↓ 126 callers
Method
opposite
(&self)
pumpkin/src/block/blocks/chests.rs:628
↓ 121 callers
Method
as_ref
(&self)
pumpkin-nbt/src/lib.rs:196
↓ 119 callers
Method
add_child
Adds a child to a given node. # Panics Panics if the node to be added to a non-root node is a [`CommandDetachedNode`]. Essentially, this means that
pumpkin/src/command/node/tree.rs:190
↓ 119 callers
Method
max
(&self)
pumpkin-world/src/generation/noise/router/find_top_surface.rs:59
↓ 117 callers
Method
get_mob_entity
(&self)
pumpkin/src/entity/mob/bat.rs:111
↓ 112 callers
Function
literal
(string: impl Into<String>)
pumpkin/src/command/tree/builder.rs:134
↓ 106 callers
Method
put_int
(&mut self, name: &str, value: i32)
pumpkin-nbt/src/compound.rs:130
↓ 103 callers
Method
as_str
(&self)
pumpkin-data/src/data_component_impl.rs:908
↓ 102 callers
Method
next_f32
(&mut self)
pumpkin-util/src/random/legacy_rand.rs:124
↓ 100 callers
Method
get_state
(&self)
pumpkin-data/src/generated/fluid.rs:744
↓ 99 callers
Method
update
( &mut self, heightmap_type: ChunkHeightmapType, local_x: i32, local_y: i32,
pumpkin-world/src/chunk/mod.rs:263
↓ 98 callers
Method
find
(kind: &PoolElementKind)
pumpkin-world/src/generation/structure/structures/jigsaw.rs:166
↓ 97 callers
Method
is_none
(self)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:440
↓ 97 callers
Method
send_message
Sends a message to this source.
pumpkin/src/command/context/command_source.rs:406
↓ 96 callers
Method
contains
(&self, x: f64, z: f64)
pumpkin/src/world/border.rs:104
↓ 95 callers
Method
to_block_id
(self)
pumpkin-data/src/block_state.rs:233
↓ 92 callers
Method
get_block_state_id
(&self, position: &BlockPos)
pumpkin/src/world/mod.rs:4806
↓ 91 callers
Method
read
(&mut self)
pumpkin/src/command/string_reader.rs:137
↓ 91 callers
Method
write_all
Write entire file, disregarding saved offsets
pumpkin-world/src/chunk/format/anvil.rs:449
↓ 88 callers
Method
add
(&mut self, entry: PoiEntry)
pumpkin-world/src/poi/mod.rs:109
↓ 88 callers
Method
load
(&'a self, path: &'a Path)
pumpkin/src/plugin/loader/wasm/mod.rs:34
↓ 88 callers
Method
to_wit
(&self)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/generated_packets.rs:1110
↓ 85 callers
Method
is_air
(&self, local_pos: &Vector3<i32>)
pumpkin-world/src/generation/proto_chunk.rs:431
↓ 85 callers
Method
to_state
(self)
pumpkin-data/src/block_state.rs:227
↓ 84 callers
Method
get_block_and_state
Gets the Block + Block state from the Block Registry, Returns Air if the Block state has not been found
pumpkin/src/world/mod.rs:4818
↓ 84 callers
Method
get_int
(&self, name: &str)
pumpkin-nbt/src/compound.rs:172
↓ 82 callers
Function
from_block
(coord: i32)
pumpkin-world/src/generation/mod.rs:87
↓ 81 callers
Method
any
()
pumpkin/src/command/argument_types/time.rs:36
↓ 79 callers
Method
get_entity
(&self)
pumpkin/src/entity/mob/mod.rs:651
↓ 76 callers
Function
entity_from_resource
( state: &PluginHostState, entity: &Resource<Entity>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/entity.rs:28
↓ 75 callers
Method
to_block_direction
(&self)
pumpkin-data/src/block_direction.rs:273
↓ 75 callers
Method
write
(self)
pumpkin-nbt/src/lib.rs:124
↓ 74 callers
Method
color_named
( &mut self, res: Resource<TextComponent>, color: NamedColor, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:144
↓ 74 callers
Function
player_from_resource
( state: &PluginHostState, player: &Resource<Player>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:467
↓ 74 callers
Method
world
(&self)
pumpkin/src/command/mod.rs:210
↓ 72 callers
Method
enqueue_packet
(&self, packet: &P)
pumpkin/src/net/mod.rs:221
↓ 72 callers
Method
remove
Removes the `Entity` from their current `World`
pumpkin/src/entity/mod.rs:2416
↓ 72 callers
Method
to_state_id
(&self, fluid: &Fluid)
pumpkin-data/src/generated/fluid.rs:901
↓ 71 callers
Method
get_mut
(&mut self, rule: &GameRule)
pumpkin-data/src/generated/game_rules.rs:543
↓ 70 callers
Method
into_iter
(self)
pumpkin/src/command/node/tree.rs:471
↓ 70 callers
Method
upgrade
(self, cipher: Aes128Cfb8Enc)
pumpkin-protocol/src/java/packet_encoder.rs:21
↓ 69 callers
Method
register
Registers a command which can then be dispatched. Returns the local ID of the node attached to the tree. Note that, at least for now with this system
pumpkin/src/command/node/dispatcher.rs:136
↓ 68 callers
Method
create
Creates an error with context from itself.
pumpkin/src/command/errors/error_types.rs:232
↓ 68 callers
Method
get
(&self)
pumpkin-world/src/generation/feature/placed_features.rs:31
↓ 67 callers
Method
pop
(&mut self)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:75
↓ 65 callers
Method
put
(&mut self, name: &str, value: impl Into<NbtTag>)
pumpkin-nbt/src/compound.rs:104
↓ 64 callers
Method
skip
Skips a [`char`], where the cursor is at.
pumpkin/src/command/string_reader.rs:144
↓ 63 callers
Method
join
(elements: Vec<Self>, separator: &Self)
pumpkin-util/src/text/mod.rs:1084
next →
1–100 of 10,199, ranked by callers