MCPcopy Create free account

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

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

Methodstop
(&'a mut self, _mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/avoid_entity.rs:187
Methodstop
(&'a mut self, mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/destroy_egg.rs:56
Methodstop
(&'a mut self, _mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/wander_around.rs:69
Methodstop
(&'a mut self, mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/owner_hurt_by_target.rs:97
Methodstop
(&'a mut self, mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/owner_hurt_target.rs:97
Methodstop
(&'a mut self, _mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/blaze_attack.rs:75
Methodstop
(&'a mut self, _mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/escape_danger.rs:88
Methodstop
(&'a mut self, _mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/teleport_towards_player.rs:192
Methodstop
(&'a mut self, mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/track_target.rs:172
Methodstop
(&'a mut self, mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/revenge.rs:87
Methodstop
(&'a mut self, mob: &'a dyn Mob)
pumpkin/src/entity/ai/goal/beg.rs:112
Methodstop
(&mut self)
pumpkin/src/entity/ai/pathfinder/mod.rs:113
Methodstop_playing
(&mut self, res: Resource<JukeboxBlockEntity>)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/block_entity.rs:413
Methodstop_playing
Stops the music and updates block state
pumpkin/src/block/blocks/jukebox.rs:77
Methodstop_using_item
Stop using an item
pumpkin/src/entity/player.rs:4020
Methodstore_player
Stores the player to synchronize with. Must be called before any sync operations.
pumpkin-inventory/src/sync_handler.rs:70
Methodstored_next_gaussian
(&self)
pumpkin-util/src/random/xoroshiro128.rs:139
Methodstrafe
(&mut self, forwards: f32, right: f32)
pumpkin/src/entity/ai/control/move_control.rs:129
Methodstrikethrough
(mut self)
pumpkin-util/src/text/style.rs:113
Methodstrikethrough
( &mut self, res: Resource<TextComponent>, value: bool, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:183
Functionstring_integer_map
()
pumpkin-codecs/src/codec/map.rs:122
Methodstruct_variant
( self, fields: &'static [&'static str], visitor: V, )
pumpkin-protocol/src/ser/deserializer.rs:320
Methodsub
(&self, other: &Self)
pumpkin-util/src/math/vector2.rs:64
Methodsub_raw
(&self, x: T, y: T, z: T)
pumpkin-util/src/math/vector3.rs:205
Methodsubstring_slice
(&self, string: &'a str)
pumpkin/src/command/context/string_range.rs:47
Methodsuccess_count
(&mut self, res: Resource<CommandBlockEntity>)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/block_entity.rs:195
Methodsuccess_value
(self)
pumpkin/src/command/context/command_source.rs:512
Methodsuffix_path
Consumes this identifier to add a suffix to the current path.
pumpkin-util/src/identifier.rs:220
Methodsuggest
( &'a self, context: &'a CommandContext, builder: SuggestionsBuilder, )
pumpkin/src/command/commands/advancement.rs:528
Methodsuggest
( &self, _context: &CommandContext, mut builder: SuggestionsBuilder, )
pumpkin/src/command/commands/tick.rs:349
Methodsuggest
( &'a self, context: &'a CommandContext, mut builder: SuggestionsBuilder, )
pumpkin/src/command/commands/op.rs:90
Methodsuggest
( &'a self, _sender: &CommandSender, _server: &'a Server, _input: &'a str,
pumpkin/src/command/args/bossbar_style.rs:53
Methodsuggest
Used for tab completion (but only if argument suggestion type is "`minecraft:ask_server`"!). NOTE: This is called after this consumer's [`ArgumentCon
pumpkin/src/command/args/mod.rs:88
Methodsuggest
( &'a self, _sender: &CommandSender, _server: &'a Server, _input: &'a str,
pumpkin/src/command/args/difficulty.rs:47
Methodsuggest
( &'a self, _sender: &CommandSender, server: &'a Server, _input: &'a str,
pumpkin/src/command/args/gameprofile.rs:107
Methodsuggest
( &'a self, _sender: &CommandSender, _server: &'a Server, _input: &'a str,
pumpkin/src/command/args/bossbar_color.rs:55
Methodsuggest
( &'a self, _sender: &CommandSender, _server: &'a Server, _input: &'a str,
pumpkin/src/command/args/sound_category.rs:58
Functionsuggest_append
()
pumpkin/src/command/suggestion/mod.rs:396
Functionsuggest_multiple
()
pumpkin/src/command/suggestion/mod.rs:435
Methodsuggest_names
( parser: &EntitySelectorParser, mut builder: SuggestionsBuilder, )
pumpkin/src/command/argument_types/entity_selector/option.rs:313
Functionsuggest_noop
()
pumpkin/src/command/suggestion/mod.rs:428
Functionsuggest_replace
()
pumpkin/src/command/suggestion/mod.rs:412
Functionsuperblock_rejects_bad_signature
()
pumpkin-world/src/chunk/format/linear.rs:718
Functionsuperblock_round_trip
()
pumpkin-world/src/chunk/format/linear.rs:702
Methodswap_buffers
(&mut self)
pumpkin-world/src/generation/noise/router/chunk_noise_router.rs:640
Methodswap_buffers
(&mut self)
pumpkin-world/src/generation/noise/router/chunk_density_function.rs:307
Methodswap_item
Swaps the items between main hand and off-hand. # Returns The new main hand item and new off-hand item.
pumpkin-inventory/src/player/player_inventory.rs:128
Methodswing_hand
Swing the hand of the player
pumpkin/src/entity/player.rs:3981
Methodsync_position
Returns whether syncing the position was needed
pumpkin/src/net/java/play.rs:283
Methodsyntax_error
(reader: &StringReader)
pumpkin/src/command/argument_types/coordinates/rotation.rs:51
Functionsyntax_renderer_outputs_two_messages_with_context_styling
()
pumpkin/src/command/dispatcher.rs:727
Methodsystem_message
(message: String)
pumpkin-protocol/src/bedrock/server/text.rs:55
Methodtag_key
()
pumpkin-data/src/blocks.rs:93
Methodtag_key
()
pumpkin-data/src/generated/fluid.rs:760
Methodtag_key
()
pumpkin-data/src/generated/damage_type.rs:502
Methodtag_key
()
pumpkin-data/src/generated/enchantment.rs:37
Methodtag_key
()
pumpkin-data/src/generated/entity_type.rs:43
Methodtake_cache_clone
Clones this instance, creating a new struct taking ownership of the cache and replacing the original with a dummy
pumpkin-world/src/generation/noise/router/chunk_density_function.rs:728
Methodtake_pending_block_entities
(&mut self)
pumpkin-world/src/generation/proto_chunk.rs:331
Methodtake_stack
(&self, _amount: u8)
pumpkin-inventory/src/crafting/crafting_screen_handler.rs:502
Methodteleport
( &mut self, entity: Resource<Entity>, pos: Position, world_ref: Resource<Worl
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/entity.rs:164
Methodteleport
( &mut self, player: Resource<Player>, position: pumpkin::plugin::common::Position,
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:979
Methodteleport
This method takes ownership of Arc<Self>, so the lifetime bounds are different.
pumpkin/src/entity/mod.rs:192
Methodteleport
( self: Arc<Self>, position: Vector3<f64>, yaw: Option<f32>, pitch: Option<f32
pumpkin/src/entity/player.rs:4460
Methodteleport_passengers_recursive
Recursively teleports all passengers (and their passengers) to the destination
pumpkin/src/entity/mod.rs:2189
Methodteleport_world
( &mut self, player: Resource<Player>, world: wasmtime::component::Resource<pumpkin::p
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:995
Methodtest
( &self, block_registry: &dyn WorldPortalExt, chunk: &T, pos: &BlockPos, )
pumpkin-world/src/generation/block_predicate.rs:28
Methodtest
(context: &MaterialRuleContext)
pumpkin-world/src/generation/surface/mod.rs:210
Methodtest
(&self, state: BlockStateId, random: &mut RandomGenerator)
pumpkin-world/src/generation/rule/random_block_match.rs:10
Methodtest
(&self, state: BlockStateId)
pumpkin-world/src/generation/rule/tag_match.rs:12
Methodtest
(&self, state: BlockStateId, random: &mut RandomGenerator)
pumpkin-world/src/generation/rule/random_block_state_match.rs:10
Methodtest
(&self, state: BlockStateId)
pumpkin-world/src/generation/rule/block_state_match.rs:9
Methodtest
(&self, state: BlockStateId)
pumpkin-world/src/generation/rule/block_match.rs:9
Methodtest
test if the requirements is complete
pumpkin-data/src/advancement_data.rs:214
Methodtext
(plain: P)
pumpkin-util/src/text/mod.rs:437
Methodtext
(&mut self, plain: String)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:80
Methodtext_as_str
(&self)
pumpkin/src/command/suggestion/mod.rs:187
Methodthird_walk
Third walk of the tree positioning algorithm. This function adjusts all y-coordinates of the tree by adding a uniform offset, ensuring all coordinate
pumpkin-codegen/src/advancement.rs:496
Methodtick
Performs periodic maintenance tasks. This function should be called regularly to save player data and clean expired cache entries.
pumpkin/src/data/player_server.rs:72
Methodtick
(&self, server: &Arc<Server>)
pumpkin/src/server/scheduler.rs:115
Methodtick
(&self)
pumpkin/src/server/tick_rate_manager.rs:47
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/daylight_detector.rs:45
Methodtick
(&'a self, _world: &'a Arc<World>)
pumpkin/src/block/entities/mod.rs:52
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/shulker_box.rs:68
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/barrel.rs:72
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/beacon.rs:244
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/bell.rs:64
Methodtick
(&'a self, _world: &'a Arc<World>)
pumpkin/src/block/entities/jukebox.rs:80
Methodtick
( &'a self, world: &'a Arc<crate::world::World>, )
pumpkin/src/block/entities/brewing_stand.rs:414
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/piston.rs:233
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/ender_chest.rs:50
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/mob_spawner.rs:101
Methodtick
(&'a self, world: &'a Arc<World>)
pumpkin/src/block/entities/hopper.rs:75
Methodtick
( &'a self, caller: &'a Arc<dyn EntityBase>, server: &'a Server, )
pumpkin/src/entity/tnt.rs:37
Methodtick
( &'a self, _caller: &'a Arc<dyn EntityBase>, _server: &'a Server, )
pumpkin/src/entity/area_effect_cloud.rs:204
Methodtick
Called every tick for this entity. The `caller` parameter is a reference to the entity that initiated the tick. This can be the same entity the metho
pumpkin/src/entity/mod.rs:136
Methodtick
(&self, player: &Arc<Player>)
pumpkin/src/entity/hunger.rs:33
Methodtick
( &'a self, caller: &'a Arc<dyn EntityBase>, server: &'a Server, )
pumpkin/src/entity/item.rs:430
Methodtick
(&self, player: &Arc<Player>)
pumpkin/src/entity/breath.rs:37
Methodtick
( &'a self, caller: &'a Arc<dyn EntityBase>, server: &'a Server, )
pumpkin/src/entity/living.rs:2344
← previousnext →9,601–9,700 of 10,199, ranked by callers