MCPcopy Create free account

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

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

↓ 3 callersMethodsample
( &mut self, component_stack: &mut [ChunkNoiseFunctionComponent], pos: &Vector3<i32>,
pumpkin-world/src/generation/noise/router/chunk_noise_router.rs:190
↓ 3 callersMethodsave_chunks
( &'a self, folder: &'a LevelFolder, chunks_data: Vec<(Vector2<i32>, Self::Data)>,
pumpkin-world/src/chunk/io/file_manager.rs:309
↓ 3 callersMethodschedule_tick
(&self, tick: &ScheduledTick<&'a T>, sub_tick_order: u64)
pumpkin-world/src/tick/scheduler.rs:51
↓ 3 callersFunctionsend_bedrock_commands_packet
( player: &Arc<Player>, server: &Server, dispatcher: &CommandDispatcher, )
pumpkin/src/command/client_suggestions.rs:262
↓ 3 callersFunctionsend_c_commands_packet
( player: &Arc<Player>, server: &Server, dispatcher: &CommandDispatcher, )
pumpkin/src/command/client_suggestions.rs:24
↓ 3 callersMethodsend_error
Sends an error message to the console. # Note Do not use this function if you want to report a [`CommandSyntaxError`]. Instead, wrap the error in an
pumpkin/src/command/context/command_source.rs:463
↓ 3 callersMethodsend_framed_packet
( &self, packet: &P, reliability: RakReliability, )
pumpkin/src/net/bedrock/mod.rs:614
↓ 3 callersMethodsend_permission_lvl_update
Updates the client of the player's current permission level.
pumpkin/src/entity/player.rs:2364
↓ 3 callersMethodserialize
(&self, serializer: S)
pumpkin-protocol/src/lib.rs:163
↓ 3 callersFunctionserialize_any_item_stack_with_id
( stack: &ItemStack, item_id: u16, is_template: bool, serializer: S, )
pumpkin-protocol/src/codec/item_stack_seralizer.rs:38
↓ 3 callersMethodserialize_i64
(self, v: i64)
pumpkin-nbt/src/serializer.rs:343
↓ 3 callersMethodserialize_struct
( self, _name: &'static str, _len: usize, )
pumpkin-protocol/src/ser/serializer.rs:145
↓ 3 callersMethodset_attacking
(&self, attacking: bool)
pumpkin/src/entity/mob/mod.rs:136
↓ 3 callersMethodset_axis
Sets the component value for the specified axis. # Arguments - `a` – The axis to set the value for. - `value` – The new value for the axis.
pumpkin-util/src/math/vector3.rs:86
↓ 3 callersMethodset_block_no_heightmap_update
Sets the given block in the chunk, returning the old block Contrary to `set_block` this does not update the heightmap. Only use this if you know you
pumpkin-world/src/chunk/mod.rs:450
↓ 3 callersMethodset_carried_block
(&self, block_state: Option<BlockStateId>)
pumpkin/src/entity/mob/enderman.rs:311
↓ 3 callersMethodset_charged
(&self, _charged: bool)
pumpkin/src/entity/mob/blaze.rs:58
↓ 3 callersMethodset_client_loaded
(&self, loaded: bool)
pumpkin/src/entity/player.rs:2071
↓ 3 callersMethodset_encryption
( &self, shared_secret: &[u8], // decrypted )
pumpkin/src/net/java/mod.rs:181
↓ 3 callersMethodset_for_gamemode
(&mut self, gamemode: GameMode)
pumpkin/src/entity/player.rs:4661
↓ 3 callersMethodset_frozen
(&self, server: &Server, frozen: bool)
pumpkin/src/server/tick_rate_manager.rs:92
↓ 3 callersMethodset_gamemode
(self: &Arc<Self>, gamemode: GameMode)
pumpkin/src/entity/player.rs:2850
↓ 3 callersMethodset_invisible
Sets whether the entity is invisible and sends updated metadata.
pumpkin/src/entity/mod.rs:2485
↓ 3 callersMethodset_item_stack
Set the item stack shown by this thrown egg
pumpkin/src/entity/projectile/egg.rs:61
↓ 3 callersMethodset_living_flag
(&self, flag: u8, value: bool)
pumpkin/src/entity/living.rs:230
↓ 3 callersMethodset_mob_flag
(&self, flag: u8, value: bool)
pumpkin/src/entity/mob/mod.rs:160
↓ 3 callersMethodset_permission_lvl
Sets the player's permission level and notifies the client.
pumpkin/src/entity/player.rs:2389
↓ 3 callersMethodset_repair_cost
(&mut self, cost: i16)
pumpkin-inventory/src/anvil/anvil_screen_handler.rs:87
↓ 3 callersMethodset_size
(&self, size: i32, update_health: bool)
pumpkin/src/entity/mob/slime.rs:90
↓ 3 callersMethodset_stack
Sets the stack in this slot. # Note Make sure to drop any locks to the slot stack before calling this.
pumpkin-inventory/src/slot.rs:141
↓ 3 callersMethodset_stack_no_callbacks
Sets the stack without calling callbacks.
pumpkin-inventory/src/slot.rs:159
↓ 3 callersMethodset_straight_shape
(&mut self, shape: RailShapeStraight)
pumpkin/src/block/blocks/redstone/rails/mod.rs:275
↓ 3 callersFunctionset_tilt_and_schedule_tick
( state_id: BlockStateId, world: &Arc<World>, pos: &BlockPos, tilt: Tilt, sound_wrapper: O
pumpkin/src/block/blocks/plant/big_dripleaf.rs:164
↓ 3 callersMethodset_time
(&mut self, time: i64)
pumpkin/src/world/time.rs:55
↓ 3 callersMethodset_velocity_from_rotation
( &self, pitch: f32, yaw: f32, roll: f32, speed: f32, divergen
pumpkin/src/entity/projectile/arrow.rs:118
↓ 3 callersMethodset_villager_data
(&self, data: VillagerData)
pumpkin/src/entity/passive/villager/mod.rs:206
↓ 3 callersFunctionsetworldspawn
( sender: &CommandSender, server: &Server, block_pos: BlockPos, yaw: f32, pitch: f32, )
pumpkin/src/command/commands/setworldspawn.rs:98
↓ 3 callersMethodshould_enqueue_chunk
(&mut self, position: Vector2<i32>, chunk: &SyncChunk)
pumpkin/src/entity/player.rs:196
↓ 3 callersMethodsize
(&self)
pumpkin-world/src/inventory/simple_inventory.rs:33
↓ 3 callersMethodsize
(&self)
pumpkin/src/plugin/api/gui.rs:47
↓ 3 callersMethodsize
(&self)
pumpkin/src/block/entities/hopper.rs:280
↓ 3 callersMethodskip_string
(&mut self)
pumpkin-nbt/src/deserializer.rs:129
↓ 3 callersMethodslow_movement
(&self, state: &BlockState, multiplier: Vector3<f64>)
pumpkin/src/entity/mod.rs:3233
↓ 3 callersMethodsplit_unless_creative
(&mut self, gamemode: GameMode, amount: u8)
pumpkin-data/src/item_stack/mod.rs:506
↓ 3 callersFunctionsquare_f64
(n: f64)
pumpkin-util/src/math/mod.rs:205
↓ 3 callersMethodstart_block_x
(&self)
pumpkin-world/src/generation/proto_chunk.rs:1445
↓ 3 callersMethodstart_block_z
(&self)
pumpkin-world/src/generation/proto_chunk.rs:1449
↓ 3 callersMethodstart_loading_plugin
Start loading a plugin asynchronously
pumpkin/src/plugin/mod.rs:816
↓ 3 callersMethodstretch
(&self, other: Vector3<f64>)
pumpkin-util/src/math/boundingbox.rs:341
↓ 3 callersMethodsync_block_state_to_client
(&self, world: &World, position: BlockPos)
pumpkin/src/net/java/play.rs:2081
↓ 3 callersMethodtake_readline
(&self)
pumpkin/src/logging.rs:319
↓ 3 callersMethodtake_text
( &mut self, res: &Resource<TextComponent>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/text.rs:40
↓ 3 callersMethodteleport_randomly
(&self)
pumpkin/src/entity/mob/enderman.rs:115
↓ 3 callersMethodtext_as_string
(&self)
pumpkin/src/command/suggestion/mod.rs:173
↓ 3 callersMethodtick
(self: &Arc<Self>, server: Arc<Server>)
pumpkin/src/world/mod.rs:878
↓ 3 callersMethodtick_goals
(&mut self, mob: &dyn Mob, tick_all: bool)
pumpkin/src/entity/ai/goal/goal_selector.rs:117
↓ 3 callersMethodto_flowing
(&self)
pumpkin-data/src/generated/fluid.rs:705
↓ 3 callersFunctionto_long
(value: f64)
pumpkin-protocol/src/codec/lp_vector_3d.rs:146
↓ 3 callersMethodto_name
(&self)
pumpkin-data/src/data_component_impl.rs:1283
↓ 3 callersMethodto_rail_shape_ascending_towards
(&self)
pumpkin/src/block/blocks/redstone/rails/mod.rs:334
↓ 3 callersMethodto_str
(&self)
pumpkin-data/src/data_component_impl.rs:546
↓ 3 callersMethodtool_required
(&self)
pumpkin-data/src/block_state.rs:87
↓ 3 callersMethodtop_material
( &mut self, chunk: &mut ProtoChunk, x: i32, y: i32, z: i32, u
pumpkin-world/src/generation/carver/mod.rs:78
↓ 3 callersMethodtop_motion_blocking_block_height_exclusive
(&self, x: i32, z: i32)
pumpkin-world/src/generation/proto_chunk.rs:393
↓ 3 callersFunctiontriangle
(rng: &mut R, min: f64, max: f64)
pumpkin/src/block/blocks/redstone/dropper.rs:64
↓ 3 callersMethodtry_insert
try to insert the advancement in the tree if it has a parent and his has not yet been register fail and return the owned AdvancementHolder
pumpkin-codegen/src/advancement.rs:750
↓ 3 callersFunctiontry_move
(world: &Arc<World>, block: &Block, block_pos: &BlockPos)
pumpkin/src/block/blocks/piston/piston.rs:323
↓ 3 callersFunctiontry_schedule_die_tick
(block: &Block, world: &Arc<World>, pos: &BlockPos)
pumpkin/src/block/blocks/coral/mod.rs:47
↓ 3 callersMethodtry_take_stack_range
Tries to take a stack in the given range. Returns `None` if can't take items or if slot is empty. For result slots, cannot take partial stacks. Moja
pumpkin-inventory/src/slot.rs:225
↓ 3 callersMethodtype_enum
(&self)
pumpkin/src/entity/passive/villager/data.rs:47
↓ 3 callersFunctionunknown_command_syntax_error
(input: &str, cursor: usize)
pumpkin/src/command/dispatcher.rs:142
↓ 3 callersMethodunload_plugin
Unload a plugin by name
pumpkin/src/plugin/mod.rs:933
↓ 3 callersMethodupdate_best
(&mut self, heuristic: f32, node: &Node)
pumpkin/src/entity/ai/pathfinder/node.rs:127
↓ 3 callersMethodupdate_enchantments
(&mut self, _player: &dyn InventoryPlayer)
pumpkin-inventory/src/enchanting/enchanting_screen_handler.rs:62
↓ 3 callersMethodupdate_fluid_state
(&self, caller: &Arc<dyn EntityBase>)
pumpkin/src/entity/mod.rs:1739
↓ 3 callersMethodupdate_last_pos
(&self)
pumpkin/src/entity/mod.rs:1662
↓ 3 callersMethodupdate_level_composter
( &self, world: &Arc<World>, location: &BlockPos, state_id: BlockStateId,
pumpkin/src/block/blocks/composter.rs:121
↓ 3 callersMethodupdate_neighbors
Updates neighboring blocks of a block
pumpkin/src/world/mod.rs:4833
↓ 3 callersMethodupdate_velocity_from_input
(&self, movement_input: Vector3<f64>, speed: f64)
pumpkin/src/entity/mod.rs:1948
↓ 3 callersFunctionupdate_wire_neighbors
(world: &Arc<World>, pos: &BlockPos)
pumpkin/src/block/blocks/redstone/mod.rs:36
↓ 3 callersMethoduse_with_item
( &self, block: &Block, player: &Arc<Player>, position: &BlockPos, hit
pumpkin/src/block/registry.rs:758
↓ 3 callersFunctionvalidate_fixed_size
Tries to check a list to have a fixed size `size`, returning the appropriate [`DataResult`]. # Arguments - `list`: The list to validate. - `size`: Th
pumpkin-codecs/src/codec/list.rs:190
↓ 3 callersFunctionvalue_to_block_list
(v: &Value)
pumpkin-codegen/src/configured_feature.rs:1229
↓ 3 callersFunctionvalue_to_block_wrapper
Converts a block-list JSON value (string or array) into a `BlockWrapper` token stream. # Arguments – `v` – a JSON string (single block) or array of s
pumpkin-codegen/src/configured_feature.rs:1128
↓ 3 callersFunctionvalue_to_noise_base
Converts a noise-provider JSON object into a `NoiseBlockStateProviderBase` token stream. # Arguments – `v` – the JSON object containing `"seed"`, `"n
pumpkin-codegen/src/configured_feature.rs:1034
↓ 3 callersFunctionvalue_to_option_i32
Converts a nullable JSON integer into an `Option<i32>` token stream. # Arguments - `v` – A JSON number or `null`. # Returns `Some(n)` if `v` is a va
pumpkin-codegen/src/placed_feature.rs:779
↓ 3 callersMethodvisit_bool
(self, v: bool)
pumpkin-nbt/src/tag.rs:520
↓ 3 callersMethodvisit_map
( self, map: A, )
pumpkin-nbt/src/tag.rs:590
↓ 3 callersFunctionwaterlogged_check
(block: &Block, state: BlockStateId)
pumpkin/src/item/items/bucket.rs:71
↓ 3 callersMethodwith_complete_or_partial
Returns a `DataResult` with a new result/partial result, depending on the type of `DataResult` this is. - For a complete result, this returns another
pumpkin-codecs/src/data_result.rs:482
↓ 3 callersMethodwith_node
Mutates itself with a new node added to this builder.
pumpkin/src/command/context/command_context.rs:479
↓ 3 callersMethodwith_start_jigsaw
(mut self, name: &str)
pumpkin-world/src/generation/structure/structures/jigsaw.rs:530
↓ 3 callersMethodwrite
(&self, w: &mut (impl AsyncWrite + Unpin + Send))
pumpkin-world/src/chunk/format/anvil.rs:273
↓ 3 callersMethodwrite
(&self, writer: &mut W)
pumpkin-protocol/src/bedrock/frame_set.rs:123
↓ 3 callersMethodwrite
(&self, writer: &mut W)
pumpkin-protocol/src/bedrock/server/text.rs:158
↓ 3 callersFunctionwrite_dynamic_ingredient_holderset
( write: &mut impl Write, ingredient: Option<&crate::codec::recipe::OwnedRecipeIngredient>, versio
pumpkin-protocol/src/java/client/play/recipe_book_add.rs:725
↓ 3 callersFunctionwrite_dynamic_ingredient_slot_display
( write: &mut impl Write, ingredient: &crate::codec::recipe::OwnedRecipeIngredient, version: JavaM
pumpkin-protocol/src/java/client/play/recipe_book_add.rs:683
↓ 3 callersFunctionwrite_dynamic_result_slot_display
( write: &mut impl Write, result: &crate::codec::recipe::OwnedRecipeResult, version: JavaMinecraft
pumpkin-protocol/src/java/client/play/recipe_book_add.rs:763
↓ 3 callersMethodwrite_i64
(&mut self, value: i64)
pumpkin-nbt/src/serializer.rs:167
↓ 3 callersMethodwrite_into
(&self, out: &mut Vec<u8>)
pumpkin-world/src/chunk/format/linear.rs:246
← previousnext →1,501–1,600 of 10,199, ranked by callers