MCPcopy Create free account

hub / github.com/Pumpkin-MC/Pumpkin / functions

Functions10,199 in github.com/Pumpkin-MC/Pumpkin

↓ 6,556 callersFunctionnew
()
pumpkin-util/src/identifier.rs:405
↓ 1,321 callersMethodunwrap
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 callersMethodload
Loads the player's advancement progress from disk.
pumpkin/src/entity/player/advancement.rs:284
↓ 975 callersMethodinsert
(&mut self, advancement: &'static Advancement, progress: AdvancementProgress)
pumpkin/src/entity/player/advancement.rs:181
↓ 827 callersMethodto_string
(&self)
pumpkin-data/src/generated/effect.rs:566
↓ 773 callersMethodclone
(&self)
pumpkin/src/net/mod.rs:48
↓ 769 callersMethodpush
(&'a self, entity: &'a Arc<dyn EntityBase>)
pumpkin/src/entity/mod.rs:372
↓ 749 callersMethodmap
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 callersMethodstore
( &mut self, reader: &StringReader, error: impl FnOnce() -> DelayedCommandSyntaxError,
pumpkin/src/command/parser.rs:119
↓ 542 callersMethodclone
(&self)
pumpkin-data/src/data_component_impl.rs:125
↓ 475 callersMethodto_string
(&mut self, id: Uuid)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/uuid.rs:21
↓ 451 callersMethodload
()
pumpkin/src/data/mod.rs:29
↓ 432 callersMethodadd_block
( &self, world: &mut ProtoChunk, block: &BlockState, x: i32, y: i32,
pumpkin-world/src/generation/structure/structures/mod.rs:421
↓ 431 callersMethoditer
Returns an iterator to all the nodes of this tree.
pumpkin/src/command/node/tree.rs:410
↓ 415 callersMethodadd_goal
(&mut self, priority: u8, goal: Box<G>)
pumpkin/src/entity/ai/goal/goal_selector.rs:20
↓ 351 callersMethodas_ref
(&self)
pumpkin/src/entity/player.rs:4778
↓ 331 callersMethodfill_with_outline
( &self, chunk: &mut ProtoChunk, box_limit: &BlockBox, cant_replace_air: bool,
pumpkin-world/src/generation/structure/structures/mod.rs:237
↓ 326 callersMethodget_entity
Tries to get a single entity from a parsed argument of the provided [`CommandContext`].
pumpkin/src/command/argument_types/entity.rs:159
↓ 298 callersMethodclone
(&self)
pumpkin/src/entity/attributes.rs:179
↓ 295 callersMethodthen
(mut self, child: impl NodeBuilder)
pumpkin/src/command/tree/builder.rs:12
↓ 291 callersMethodto_offset
(&self)
pumpkin-data/src/block_direction.rs:97
↓ 288 callersMethodlen
(&self)
pumpkin-util/src/lib.rs:200
↓ 282 callersMethodnext_bounded_i32
(&mut self, bound: i32)
pumpkin-util/src/random/legacy_rand.rs:100
↓ 274 callersMethodextend
(&mut self, iter: T)
pumpkin-nbt/src/compound.rs:258
↓ 264 callersMethodoffset
(&self, offset: Vector3<i32>)
pumpkin-util/src/math/position.rs:457
↓ 241 callersMethodexpect
Expects to consume a specific [`char`], or return an [`Err`].
pumpkin/src/command/string_reader.rs:321
↓ 237 callersMethodto_state_id
(&self, block: &Block)
pumpkin/src/block/blocks/redstone/rails/mod.rs:241
↓ 233 callersMethodexpect
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 callersMethoditer
(&self)
pumpkin-world/src/chunk/palette.rs:383
↓ 204 callersMethodget_block
Gets a `Block` from the block registry. Returns `Block::AIR` if the block was not found.
pumpkin/src/world/mod.rs:4686
↓ 202 callersMethodload
( level: Arc<Level>, level_info: Arc<ArcSwap<LevelData>>, dimension: Dimension,
pumpkin/src/world/mod.rs:276
↓ 197 callersMethoddown
(&self)
pumpkin-util/src/math/position.rs:518
↓ 194 callersMethodhas_tag
(self, tag: Tag)
pumpkin-data/src/blocks.rs:237
↓ 187 callersFunctionnew
()
pumpkin-util/src/noise/simplex.rs:391
↓ 184 callersMethodget_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 callersMethoditer
(&self)
pumpkin-codecs/src/json_ops.rs:322
↓ 177 callersMethodwrite_var_int
(&mut self, data: &VarInt)
pumpkin-protocol/src/ser/mod.rs:351
↓ 168 callersMethodlen
(&self)
pumpkin/src/command/context/string_range.rs:61
↓ 165 callersMethodset_block_state
(&mut self, block_state: BlockStateId)
pumpkin/src/block/entities/hopper.rs:102
↓ 160 callersMethodis_empty
(&self)
pumpkin/src/entity/player/advancement.rs:194
↓ 158 callersMethodget
(&self, name: &str)
pumpkin/src/command/node/tree.rs:405
↓ 153 callersMethodclone
(&self)
pumpkin/src/block/entities/sign.rs:128
↓ 152 callersMethodregister
(&mut self, block: T)
pumpkin/src/block/registry.rs:624
↓ 142 callersMethodset_block_state
(&mut self, x: i32, y: i32, z: i32, block_state: &BlockState)
pumpkin-world/src/generation/proto_chunk.rs:452
↓ 141 callersMethodmap_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 callersMethodlen
(&self)
pumpkin-world/src/generation/structure/template/cache.rs:100
↓ 135 callersMethodlen
(&self)
pumpkin/src/entity/player/advancement.rs:187
↓ 134 callersFunctionargument
```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 callersMethodmin
(mut self, min_inclusive: T)
pumpkin/src/command/args/bounded_num.rs:146
↓ 130 callersMethodclone
(&self)
pumpkin/src/world/weather.rs:159
↓ 127 callersMethodup
(&self)
pumpkin-util/src/math/position.rs:497
↓ 126 callersMethodmax
(mut self, max_inclusive: T)
pumpkin/src/command/args/bounded_num.rs:152
↓ 126 callersMethodopposite
(&self)
pumpkin/src/block/blocks/chests.rs:628
↓ 121 callersMethodas_ref
(&self)
pumpkin-nbt/src/lib.rs:196
↓ 119 callersMethodadd_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 callersMethodmax
(&self)
pumpkin-world/src/generation/noise/router/find_top_surface.rs:59
↓ 117 callersMethodget_mob_entity
(&self)
pumpkin/src/entity/mob/bat.rs:111
↓ 112 callersFunctionliteral
(string: impl Into<String>)
pumpkin/src/command/tree/builder.rs:134
↓ 106 callersMethodput_int
(&mut self, name: &str, value: i32)
pumpkin-nbt/src/compound.rs:130
↓ 103 callersMethodas_str
(&self)
pumpkin-data/src/data_component_impl.rs:908
↓ 102 callersMethodnext_f32
(&mut self)
pumpkin-util/src/random/legacy_rand.rs:124
↓ 100 callersMethodget_state
(&self)
pumpkin-data/src/generated/fluid.rs:744
↓ 99 callersMethodupdate
( &mut self, heightmap_type: ChunkHeightmapType, local_x: i32, local_y: i32,
pumpkin-world/src/chunk/mod.rs:263
↓ 98 callersMethodfind
(kind: &PoolElementKind)
pumpkin-world/src/generation/structure/structures/jigsaw.rs:166
↓ 97 callersMethodis_none
(self)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:440
↓ 97 callersMethodsend_message
Sends a message to this source.
pumpkin/src/command/context/command_source.rs:406
↓ 96 callersMethodcontains
(&self, x: f64, z: f64)
pumpkin/src/world/border.rs:104
↓ 95 callersMethodto_block_id
(self)
pumpkin-data/src/block_state.rs:233
↓ 92 callersMethodget_block_state_id
(&self, position: &BlockPos)
pumpkin/src/world/mod.rs:4806
↓ 91 callersMethodread
(&mut self)
pumpkin/src/command/string_reader.rs:137
↓ 91 callersMethodwrite_all
Write entire file, disregarding saved offsets
pumpkin-world/src/chunk/format/anvil.rs:449
↓ 88 callersMethodadd
(&mut self, entry: PoiEntry)
pumpkin-world/src/poi/mod.rs:109
↓ 88 callersMethodload
(&'a self, path: &'a Path)
pumpkin/src/plugin/loader/wasm/mod.rs:34
↓ 88 callersMethodto_wit
(&self)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/generated_packets.rs:1110
↓ 85 callersMethodis_air
(&self, local_pos: &Vector3<i32>)
pumpkin-world/src/generation/proto_chunk.rs:431
↓ 85 callersMethodto_state
(self)
pumpkin-data/src/block_state.rs:227
↓ 84 callersMethodget_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 callersMethodget_int
(&self, name: &str)
pumpkin-nbt/src/compound.rs:172
↓ 82 callersFunctionfrom_block
(coord: i32)
pumpkin-world/src/generation/mod.rs:87
↓ 81 callersMethodany
()
pumpkin/src/command/argument_types/time.rs:36
↓ 79 callersMethodget_entity
(&self)
pumpkin/src/entity/mob/mod.rs:651
↓ 76 callersFunctionentity_from_resource
( state: &PluginHostState, entity: &Resource<Entity>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/entity.rs:28
↓ 75 callersMethodto_block_direction
(&self)
pumpkin-data/src/block_direction.rs:273
↓ 75 callersMethodwrite
(self)
pumpkin-nbt/src/lib.rs:124
↓ 74 callersMethodcolor_named
( &mut self, res: Resource<TextComponent>, color: NamedColor, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:144
↓ 74 callersFunctionplayer_from_resource
( state: &PluginHostState, player: &Resource<Player>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:467
↓ 74 callersMethodworld
(&self)
pumpkin/src/command/mod.rs:210
↓ 72 callersMethodenqueue_packet
(&self, packet: &P)
pumpkin/src/net/mod.rs:221
↓ 72 callersMethodremove
Removes the `Entity` from their current `World`
pumpkin/src/entity/mod.rs:2416
↓ 72 callersMethodto_state_id
(&self, fluid: &Fluid)
pumpkin-data/src/generated/fluid.rs:901
↓ 71 callersMethodget_mut
(&mut self, rule: &GameRule)
pumpkin-data/src/generated/game_rules.rs:543
↓ 70 callersMethodinto_iter
(self)
pumpkin/src/command/node/tree.rs:471
↓ 70 callersMethodupgrade
(self, cipher: Aes128Cfb8Enc)
pumpkin-protocol/src/java/packet_encoder.rs:21
↓ 69 callersMethodregister
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 callersMethodcreate
Creates an error with context from itself.
pumpkin/src/command/errors/error_types.rs:232
↓ 68 callersMethodget
(&self)
pumpkin-world/src/generation/feature/placed_features.rs:31
↓ 67 callersMethodpop
(&mut self)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:75
↓ 65 callersMethodput
(&mut self, name: &str, value: impl Into<NbtTag>)
pumpkin-nbt/src/compound.rs:104
↓ 64 callersMethodskip
Skips a [`char`], where the cursor is at.
pumpkin/src/command/string_reader.rs:144
↓ 63 callersMethodjoin
(elements: Vec<Self>, separator: &Self)
pumpkin-util/src/text/mod.rs:1084
next →1–100 of 10,199, ranked by callers