MCPcopy Create free account

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

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

↓ 2 callersMethodset_age
Sets the entity's age in ticks. Negative values indicate that the entity is a baby.
pumpkin/src/entity/mod.rs:1013
↓ 2 callersMethodset_angry
(&self, angry: bool)
pumpkin/src/entity/mob/enderman.rs:283
↓ 2 callersMethodset_attach_face
(&self, face: BlockDirection)
pumpkin/src/entity/mob/shulker.rs:110
↓ 2 callersMethodset_color
(&mut self, res: Resource<BossBar>, color: WitColor)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/boss_bar.rs:207
↓ 2 callersMethodset_color
(&mut self, x: usize, z: usize, color: u8)
pumpkin/src/world/map.rs:72
↓ 2 callersMethodset_compression
( &mut self, compression_info: (CompressionThreshold, CompressionLevel), )
pumpkin-protocol/src/bedrock/packet_encoder.rs:104
↓ 2 callersMethodset_custom_data_component
(&mut self, custom_data: NbtCompound)
pumpkin-data/src/item_stack/mod.rs:443
↓ 2 callersMethodset_damage
(&self, damage: f32)
pumpkin/src/entity/vehicle/vehicle.rs:42
↓ 2 callersMethodset_encryption
NOTE: Encryption can only be set; a minecraft stream cannot go back to being unencrypted
pumpkin-protocol/src/java/packet_decoder.rs:96
↓ 2 callersMethodset_experience_level
Sets the player's experience level directly.
pumpkin/src/entity/player.rs:3273
↓ 2 callersMethodset_facing
(&mut self, facing: HorizontalFacing)
pumpkin/src/block/blocks/redstone/repeater.rs:216
↓ 2 callersMethodset_glowing
Sets whether the entity is glowing and sends updated metadata.
pumpkin/src/entity/mod.rs:2493
↓ 2 callersMethodset_hot_reload_enabled
(&self, enabled: bool)
pumpkin/src/plugin/mod.rs:374
↓ 2 callersMethodset_hurt_dir
(&self, hurt_dir: i32)
pumpkin/src/entity/vehicle/vehicle.rs:58
↓ 2 callersMethodset_hurt_time
(&self, hurt_time: i32)
pumpkin/src/entity/vehicle/vehicle.rs:50
↓ 2 callersMethodset_includes_entities
Sets this parse to not include non-player entities.
pumpkin/src/command/argument_types/entity_selector/parser.rs:437
↓ 2 callersMethodset_on_fire
Sets whether the entity is on fire for visual and damage purposes. This is separate from `fire_ticks` which tracks the damage aspect of being on fire.
pumpkin/src/entity/mod.rs:2501
↓ 2 callersMethodset_on_fire_for_ticks
(&self, ticks: u32)
pumpkin/src/entity/player.rs:4526
↓ 2 callersMethodset_open
(&self, world: &Arc<World>, open: bool)
pumpkin/src/block/entities/barrel.rs:135
↓ 2 callersMethodset_packed_and_sync
(&self, byte: u8)
pumpkin/src/entity/passive/sheep.rs:81
↓ 2 callersMethodset_powered
(&mut self, powered: bool)
pumpkin/src/block/blocks/redstone/rails/mod.rs:289
↓ 2 callersMethodset_predicate
(&mut self, predicate: F)
pumpkin/src/entity/ai/target_predicate.rs:82
↓ 2 callersMethodset_provoked
(&self, provoked: bool)
pumpkin/src/entity/mob/enderman.rs:299
↓ 2 callersMethodset_respawn_point
( &self, dimension: Dimension, block_pos: BlockPos, yaw: f32, pitch: f
pumpkin/src/entity/player.rs:1285
↓ 2 callersMethodset_shape
(&mut self, shape: RailShape)
pumpkin/src/block/blocks/redstone/rails/mod.rs:255
↓ 2 callersMethodset_show_bottom
(&self, show_bottom: bool)
pumpkin/src/entity/decoration/end_crystal.rs:24
↓ 2 callersFunctionset_side_dir
(props: &mut RedstoneWireLikeProperties, facing: HorizontalFacing)
pumpkin-world/src/generation/structure/structures/jungle_temple.rs:754
↓ 2 callersMethodset_source_portal
(&mut self, info: SourcePortalInfo)
pumpkin/src/world/portal/mod.rs:251
↓ 2 callersMethodset_sprinting
(&self, sprinting: bool)
pumpkin/src/entity/mod.rs:2613
↓ 2 callersMethodset_stack
(&self, slot: usize, stack: ItemStack)
pumpkin/src/block/entities/barrel.rs:211
↓ 2 callersMethodset_stack
( &self, slot: usize, stack: ItemStack, )
pumpkin/src/block/entities/brewing_stand.rs:258
↓ 2 callersMethodset_stack_prev
(&self, _stack: ItemStack, _previous_stack: ItemStack)
pumpkin-inventory/src/crafting/crafting_screen_handler.rs:479
↓ 2 callersMethodset_stat
(&self, category: statistics::StatisticCategory, stat: i32, value: i32)
pumpkin/src/entity/player.rs:2276
↓ 2 callersMethodset_stored_next_gaussian
(&mut self, value: Option<f64>)
pumpkin-util/src/random/legacy_rand.rs:74
↓ 2 callersMethodset_target
(&mut self, target: Option<Arc<dyn EntityBase>>)
pumpkin/src/entity/ai/goal/active_target.rs:78
↓ 2 callersFunctionset_tilt
(state_id: BlockStateId, world: &Arc<World>, pos: &BlockPos, new_tilt: Tilt)
pumpkin/src/block/blocks/plant/big_dripleaf.rs:202
↓ 2 callersMethodset_unhappy
(&self)
pumpkin/src/entity/passive/villager/mod.rs:269
↓ 2 callersMethodset_velocity
(&self, x: f64, y: f64, z: f64, power: f64, uncertainty: f64)
pumpkin/src/entity/projectile/arrow.rs:143
↓ 2 callersMethodset_velocity
(&self, x: f64, y: f64, z: f64, power: f64, uncertainty: f64)
pumpkin/src/entity/projectile/trident.rs:109
↓ 2 callersFunctionshift_sample_3d
(sampler: &DoublePerlinNoiseSampler, x: f64, y: f64, z: f64)
pumpkin-world/src/generation/noise/router/density_function/noise.rs:54
↓ 2 callersFunctionshould_extend
(world: &World, block_pos: &BlockPos, piston_dir: BlockDirection)
pumpkin/src/block/blocks/piston/piston.rs:293
↓ 2 callersMethodshould_prevent_fall_damage
(&self)
pumpkin/src/entity/living.rs:653
↓ 2 callersMethodshould_prevent_fall_damage_in_area
(&self)
pumpkin/src/entity/living.rs:680
↓ 2 callersMethodshould_run_every_tick
(&self)
pumpkin/src/entity/ai/goal/mod.rs:196
↓ 2 callersMethodshould_show_arms
(&self)
pumpkin/src/entity/decoration/armor_stand.rs:122
↓ 2 callersMethodshow_title
( &mut self, player: Resource<Player>, text: wasmtime::component::Resource<pumpkin::pl
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:934
↓ 2 callersMethodsided_transparency
(&self)
pumpkin-data/src/block_state.rs:92
↓ 2 callersMethodsize
(&self)
pumpkin/src/command/node/tree.rs:154
↓ 2 callersMethodsize
(&self)
pumpkin/src/block/entities/barrel.rs:173
↓ 2 callersMethodskip_i32
(&mut self)
pumpkin-nbt/src/deserializer.rs:207
↓ 2 callersMethodskip_i64
(&mut self)
pumpkin-nbt/src/deserializer.rs:215
↓ 2 callersMethodslice
()
pumpkin-data/src/generated/sound.rs:7336
↓ 2 callersFunctionslot_display_composite_type
(version: JavaMinecraftVersion)
pumpkin-protocol/src/java/client/play/recipe_book_add.rs:82
↓ 2 callersFunctionsmallest_encompassing_power_of_two
(value: u32)
pumpkin-util/src/math/mod.rs:172
↓ 2 callersMethodsort_and_limit
Sorts the provided entities according to this selector's order ([`Order::Arbitrary`] by default) and limits the number of entries depending on this se
pumpkin/src/command/argument_types/entity_selector/mod.rs:275
↓ 2 callersMethodsort_queue
(&mut self)
pumpkin-world/src/chunk_system/schedule.rs:229
↓ 2 callersMethodspawn_entity_generation
(self: &Arc<Self>, pos: Vector2<i32>)
pumpkin-world/src/level.rs:231
↓ 2 callersMethodspawn_particle
( &self, position: Vector3<f64>, offset: Vector3<f32>, max_speed: f32,
pumpkin/src/world/mod.rs:739
↓ 2 callersMethodspawn_plugin_initialization
( &self, mut instance: Box<dyn Plugin>, metadata: PluginMetadata, loader_data:
pumpkin/src/plugin/mod.rs:536
↓ 2 callersMethodspawn_task
Spawns a task associated with this world. All tasks spawned with this method are awaited when the client. This means tasks should complete in a reason
pumpkin-world/src/level.rs:280
↓ 2 callersMethodspawn_task
(&self, task: F)
pumpkin/src/net/bedrock/mod.rs:1400
↓ 2 callersMethodsplit_string
(&self, seed: &str)
pumpkin-util/src/random/legacy_rand.rs:165
↓ 2 callersMethodspread_to
Spreads fluid to a target position with the given state. Default implementation delegates to `apply_spread`. Implementations like lava can override t
pumpkin/src/block/fluid/flowing_trait.rs:464
↓ 2 callersFunctionsquare_f32
(n: f32)
pumpkin-util/src/math/mod.rs:211
↓ 2 callersFunctionsquared_magnitude
(a: f64, b: f64, c: f64)
pumpkin-util/src/math/mod.rs:98
↓ 2 callersMethodstage_id
(&self)
pumpkin-world/src/generation/proto_chunk.rs:313
↓ 2 callersMethodstart
(&self)
pumpkin/src/lib.rs:338
↓ 2 callersFunctionsteep_material_condition
(chunk: &ProtoChunk, block_x: i32, block_z: i32)
pumpkin-world/src/generation/surface/mod.rs:184
↓ 2 callersMethodstep_tick
(&self)
pumpkin-world/src/tick/scheduler.rs:22
↓ 2 callersFunctionstop_or_exit_server
()
pumpkin/src/lib.rs:184
↓ 2 callersFunctionstop_vertical_movement_after_fall
(entity: &dyn EntityBase)
pumpkin/src/block/mod.rs:42
↓ 2 callersMethodstrikethrough
(mut self)
pumpkin-util/src/text/mod.rs:959
↓ 2 callersFunctionstructure_key_to_token
(key: &str)
pumpkin-codegen/src/structures.rs:343
↓ 2 callersFunctionsubtract_angles
(start: f32, end: f32)
pumpkin-util/src/math/mod.rs:84
↓ 2 callersMethodsuggest_3d_coordinates
A helper method to suggest coordinate-related text.
pumpkin/src/command/suggestion/suggestions.rs:193
↓ 2 callersFunctionsuggestions
(snbt: &str)
pumpkin/src/command/snbt/tests.rs:16
↓ 2 callersFunctionsupports_seagrass
(support_block: &Block, support_block_state: &BlockState)
pumpkin/src/block/blocks/plant/seagrass.rs:65
↓ 2 callersFunctionsupports_small_dripleaf
(support_block: &Block, underwater: bool)
pumpkin/src/block/blocks/plant/small_dripleaf.rs:133
↓ 2 callersMethodsurface_offset
Shortcut for `self.surface_direction().to_offset()`.
pumpkin-world/src/generation/feature/features/vegetation_patch.rs:36
↓ 2 callersMethodswap_nodes
(&mut self, i: usize, j: usize)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:222
↓ 2 callersMethodswing_hand
(&self)
pumpkin/src/entity/living.rs:737
↓ 2 callersFunctionsyntax_error_for_arg_with_cursor
( raw_arg: RawArg<'_>, message: TextComponent, local_cursor: usize, )
pumpkin/src/command/args/entities.rs:434
↓ 2 callersMethodtake_node
(&mut self, res: &Resource<CommandNode>)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/commands/mod.rs:76
↓ 2 callersMethodteleport
(&self, world: &Arc<World>, pos: &BlockPos)
pumpkin/src/block/blocks/dragon_egg.rs:15
↓ 2 callersMethodteleport_somewhere
Attempt to teleport to a random nearby location where the shulker can attach. Returns `true` on success.
pumpkin/src/entity/mob/shulker.rs:228
↓ 2 callersMethodteleport_to
(&self, x: f64, y: f64, z: f64)
pumpkin/src/entity/mob/enderman.rs:159
↓ 2 callersFunctiontest_condition
( condition: &MaterialCondition, chunk: &mut ProtoChunk, context: &mut MaterialRuleContext, su
pumpkin-world/src/generation/surface/mod.rs:144
↓ 2 callersMethodtext_as_string_ref
(&self)
pumpkin/src/command/suggestion/mod.rs:180
↓ 2 callersMethodtick
( &'a self, caller: &'a Arc<dyn EntityBase>, _server: &'a Server, )
pumpkin/src/entity/mod.rs:3367
↓ 2 callersMethodtick_experience
(&self)
pumpkin/src/entity/player.rs:3168
↓ 2 callersMethodtick_stepping
(&self, _world: Arc<World>, _block_pos: BlockPos)
pumpkin/src/entity/ai/goal/step_and_destroy_block.rs:207
↓ 2 callersMethodtickrate
Getters
pumpkin/src/server/tick_rate_manager.rs:58
↓ 2 callersFunctiontime_argument
()
pumpkin/src/command/commands/tick.rs:365
↓ 2 callersMethodto
(&self)
pumpkin-data/src/generated/potion_brewing.rs:25
↓ 2 callersMethodto_bedrock_legacy
(&self, locale: Locale)
pumpkin-util/src/text/mod.rs:184
↓ 2 callersMethodto_bytes
( &self, )
pumpkin-world/src/chunk/format/mod.rs:45
↓ 2 callersFunctionto_chunk
(coord: i32)
pumpkin-world/src/generation/mod.rs:105
↓ 2 callersFunctionto_chunk_pos
(vec: &Vector2<i32>)
pumpkin-util/src/math/vector2.rs:184
↓ 2 callersMethodto_disk_nbt
(&self)
pumpkin-world/src/chunk/palette.rs:508
↓ 2 callersMethodto_east
(self)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:460
← previousnext →2,201–2,300 of 10,199, ranked by callers