MCPcopy Create free account

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

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

↓ 29 callersMethodas_any
(&self)
pumpkin/src/plugin/api/gui.rs:94
↓ 29 callersMethodbroadcast_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 callersMethodmin
(&self)
pumpkin-util/src/math/bounds.rs:135
↓ 28 callersMethodadd_block_entity
(&self, block_entity: Arc<dyn BlockEntity>)
pumpkin/src/world/mod.rs:4986
↓ 28 callersMethodclear
(&mut self)
pumpkin/src/entity/player/advancement.rs:176
↓ 28 callersMethodcontains
(&self, coords: &dyn Coordinate)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:124
↓ 28 callersFunctiondeserialize
( id: DataComponent, seq: &mut A, )
pumpkin-protocol/src/codec/data_component.rs:869
↓ 28 callersMethodentity_id
(&self)
pumpkin/src/entity/living.rs:439
↓ 28 callersMethodget_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 callersMethodparse_or_revert
(&mut self, closure: impl FnOnce(&mut Self) -> Option<T>)
pumpkin/src/command/snbt/mod.rs:200
↓ 28 callersMethodplay_sound
Plays sound at this entity's position with the entity's sound category
pumpkin/src/entity/mod.rs:2709
↓ 28 callersMethodput_compound
(&mut self, name: &str, value: Self)
pumpkin-nbt/src/compound.rs:145
↓ 28 callersMethodread_chunk_sync
( &self, coordinates: &Vector2<i32>, f: F, )
pumpkin-world/src/level.rs:771
↓ 28 callersMethodwater_source
Returns true if the block was a water source block.
pumpkin/src/block/mod.rs:494
↓ 28 callersMethodwrite_slice
(&mut self, data: &[u8])
pumpkin-protocol/src/ser/mod.rs:332
↓ 27 callersMethodall
()
pumpkin-util/src/lib.rs:262
↓ 27 callersMethodas_vector3
(&self)
pumpkin/src/entity/ai/pathfinder/node.rs:104
↓ 27 callersMethodchunk_position
(&self)
pumpkin-util/src/math/position.rs:306
↓ 27 callersMethodfire
Fire an event to all registered handlers
pumpkin/src/plugin/mod.rs:1027
↓ 27 callersMethodget
(&self, index: T)
pumpkin-protocol/src/codec/bitset.rs:11
↓ 27 callersMethodget_compound
(&self, name: &str)
pumpkin-nbt/src/compound.rs:207
↓ 27 callersMethodget_intersecting
(&self, box_to_check: &BlockBox)
pumpkin-world/src/generation/structure/structures/mod.rs:551
↓ 27 callersFunctionget_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 callersFunctiontext_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 callersFunctionfrom_bytes
Deserializes struct using Serde Deserializer from normal NBT
pumpkin-nbt/src/deserializer.rs:272
↓ 26 callersMethodget
(&self)
pumpkin-world/src/chunk_system/channel.rs:106
↓ 26 callersMethodget_entity_by_id
Gets an entity by an entity id
pumpkin/src/world/mod.rs:3693
↓ 26 callersMethodintersects
(&self, other: &Self)
pumpkin-util/src/math/block_box.rs:199
↓ 26 callersFunctionstart_block_x
(x: i32)
pumpkin-world/src/generation/positions.rs:82
↓ 26 callersFunctionstart_block_z
(z: i32)
pumpkin-world/src/generation/positions.rs:92
↓ 25 callersFunctionargument_default_name
same as [`crate::command::tree::builder::argument`], but uses default arg name of consumer
pumpkin/src/command/tree/builder.rs:167
↓ 25 callersFunctionblock_entity_from_resource
( state: &PluginHostState, entity: &Resource<BlockEntity>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/block_entity.rs:30
↓ 25 callersMethodcreate_without_context
(&'static self)
pumpkin/src/command/errors/error_types.rs:227
↓ 25 callersMethodextract_compound
(&self)
pumpkin-nbt/src/tag.rs:428
↓ 25 callersMethodfill_downwards
Fills downwards while the column stays structure-replaceable.
pumpkin-world/src/generation/structure/structures/mod.rs:352
↓ 25 callersMethodget_behaviour
(&self)
pumpkin-inventory/src/gui_builder.rs:118
↓ 25 callersMethodget_item
( &mut self, res: Resource<Gui>, slot: u32, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/gui.rs:98
↓ 25 callersMethodget_item_stack
( &self, res: &Resource<ItemStackHandle>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/item_stack.rs:135
↓ 25 callersMethodnext
(&mut self)
pumpkin/src/command/tree/mod.rs:110
↓ 24 callersMethodcontains
( &mut self, border: Resource<WitWorldBorder>, x: f64, z: f64, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/world.rs:1023
↓ 24 callersMethoddecrement_unless_creative
(&mut self, gamemode: GameMode, amount: u8)
pumpkin-data/src/item_stack/mod.rs:527
↓ 24 callersFunctionget
(value: &dyn DataComponentImpl)
pumpkin-data/src/data_component_impl.rs:131
↓ 24 callersMethodget
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 callersMethodget_behaviour_mut
(&mut self)
pumpkin-inventory/src/gui_builder.rs:122
↓ 24 callersFunctionmodify_dripstone_thickness_to
( world: &Arc<World>, pos: &BlockPos, new_thickness: SpeleothemThickness, )
pumpkin/src/block/blocks/dripstone.rs:385
↓ 24 callersMethodto_block
(self)
pumpkin-data/src/blocks.rs:225
↓ 24 callersMethodto_props
(&self)
pumpkin-data/src/generated/fluid.rs:938
↓ 23 callersMethodget_list
(&self, name: &str)
pumpkin-nbt/src/compound.rs:202
↓ 23 callersMethodget_living_entity
(&self)
pumpkin/src/entity/tnt.rs:107
↓ 23 callersMethodis_full_cube
(&self)
pumpkin-data/src/block_state.rs:113
↓ 23 callersMethodis_solid_block
(&self)
pumpkin-data/src/block_state.rs:121
↓ 23 callersMethodnext_inbetween_i32
(&mut self, min: i32, max: i32)
pumpkin-util/src/random/mod.rs:205
↓ 23 callersFunctionsection_to_block
(coord: i32)
pumpkin-world/src/generation/mod.rs:79
↓ 23 callersMethodspawn
(world: &Arc<World>, position: Vector3<f64>, amount: u32)
pumpkin/src/entity/experience_orb.rs:30
↓ 23 callersMethodstore_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 callersFunctionvalue_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 callersMethodbuild
(self)
pumpkin/src/command/suggestion/suggestions.rs:50
↓ 22 callersMethodget_all_players
Returns all players from all worlds.
pumpkin/src/server/mod.rs:726
↓ 22 callersMethodmax
(&self)
pumpkin-util/src/math/bounds.rs:141
↓ 22 callersMethodpath
()
pumpkin/src/data/usercache.rs:38
↓ 22 callersMethodproperties
(&self, id: BlockStateId)
pumpkin-data/src/generated/fluid.rs:663
↓ 22 callersMethodsend_packet_now
(&self, packet: &P)
pumpkin/src/net/java/mod.rs:491
↓ 22 callersMethodvertical_cell_block_count
(&self)
pumpkin-world/src/generation/noise/mod.rs:427
↓ 21 callersMethodeast
(&self)
pumpkin-util/src/math/position.rs:557
↓ 21 callersMethodget
(&self, x: i32, y: i32, z: i32)
pumpkin-world/src/generation/carver/mask.rs:34
↓ 21 callersMethodget_max_stack_size
(&self)
pumpkin-data/src/item_stack/mod.rs:224
↓ 21 callersMethodget_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 callersMethodget_selected_slot
(&mut self, player: Resource<Player>)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:1098
↓ 21 callersMethodhas_client_loaded
(&self)
pumpkin/src/entity/player.rs:2066
↓ 21 callersMethodplay_sound_fine
( &self, sound: Sound, category: SoundCategory, position: &Vector3<f64>,
pumpkin/src/world/mod.rs:776
↓ 21 callersMethodrotate_clockwise
(&self)
pumpkin-data/src/block_direction.rs:247
↓ 21 callersMethodsend_velocity
(&self)
pumpkin/src/entity/mod.rs:1036
↓ 21 callersMethodset_stack
(&self, slot: usize, stack: ItemStack)
pumpkin/src/plugin/api/gui.rs:80
↓ 21 callersMethodsouth
(&self)
pumpkin-util/src/math/position.rs:566
↓ 21 callersMethodupdate_neighbor
( self: &Arc<Self>, neighbor_block_pos: &BlockPos, source_block: &Block, )
pumpkin/src/world/mod.rs:4871
↓ 20 callersMethodadd_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 callersMethodexpand
(&self, command: &str, range: StringRange)
pumpkin/src/command/suggestion/mod.rs:213
↓ 20 callersMethodget_byte
(&self, name: &str)
pumpkin-nbt/src/compound.rs:150
↓ 20 callersMethodget_entities_at_box
Gets all non Player entities at a Box
pumpkin/src/world/mod.rs:3735
↓ 20 callersMethodget_stack
(&self, slot: usize)
pumpkin-inventory/src/player/player_inventory.rs:457
↓ 20 callersMethodget_text
( &mut self, text_component: Resource<TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:122
↓ 20 callersMethodinto_iter
(self)
pumpkin-world/src/chunk/palette.rs:417
↓ 20 callersMethodposition
(&self)
pumpkin-world/src/chunk/format/mod.rs:52
↓ 20 callersMethodserialize_field
(&mut self, value: &T)
pumpkin-protocol/src/ser/serializer.rs:265
↓ 20 callersMethodsync_world_event
(&self, world_event: WorldEvent, position: BlockPos, data: i32)
pumpkin/src/world/mod.rs:4649
↓ 20 callersMethodto_centered_f64
(&self)
pumpkin-util/src/math/position.rs:441
↓ 20 callersMethodto_string
(&self)
pumpkin-data/src/data_component_impl.rs:1007
↓ 20 callersMethodupdate_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 callersFunctioncommand
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 callersMethodflat_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 callersMethodget
(&self)
pumpkin-inventory/src/screen_handler.rs:90
↓ 19 callersMethodget_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 callersMethodget_text_mut
( &mut self, res: &Resource<TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:31
↓ 19 callersMethodput_byte
(&mut self, name: &str, value: i8)
pumpkin-nbt/src/compound.rs:118
↓ 19 callersMethodread
(r: Bytes)
pumpkin-world/src/chunk/format/pump.rs:61
↓ 19 callersMethodrotation
Returns entity rotation as vector
pumpkin/src/entity/mod.rs:1108
↓ 19 callersMethodsample
( &mut self, router: &mut ChunkNoiseRouter, ore_random_deriver: &XoroshiroSplitter,
pumpkin-world/src/generation/noise/mod.rs:45
↓ 19 callersMethodsend_content_updates
Sends all content updates to listeners and sync handler.
pumpkin-inventory/src/screen_handler.rs:619
↓ 19 callersMethodstring
(&self)
pumpkin/src/command/string_reader.rs:40
↓ 19 callersMethodsuggest
(mut self, text: T)
pumpkin/src/command/suggestion/suggestions.rs:56
← previousnext →201–300 of 10,199, ranked by callers