MCPcopy Create free account

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

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

↓ 4 callersMethodtext
(&self)
pumpkin/src/command/errors/error_types.rs:278
↓ 4 callersMethodto_bedrock
(self)
pumpkin/src/world/bossbar.rs:24
↓ 4 callersFunctionto_bytes_named
Serializes struct using Serde Serializer to normal NBT
pumpkin-nbt/src/serializer.rs:287
↓ 4 callersFunctionto_bytes_named_bedrock
Serializes struct using Serde Serializer to Bedrock network NBT
pumpkin-nbt/src/serializer.rs:294
↓ 4 callersMethodto_cardinal_direction
(&self)
pumpkin-data/src/block_direction.rs:207
↓ 4 callersMethodto_f32_lossy
(&self)
pumpkin-util/src/math/vector3.rs:541
↓ 4 callersFunctionto_gzip_bytes
Writes a Rust type as `GZipped` NBT to any writer. # Arguments `value` - The value to serialize and compress `output` - Any type implementing the Wr
pumpkin-nbt/src/nbt_compress.rs:88
↓ 4 callersMethodto_i32
Rounds each component to the nearest integer and converts to `Vector3<i32>`. # Returns A new `Vector3<i32>` with each component rounded to the neares
pumpkin-util/src/math/vector3.rs:583
↓ 4 callersMethodto_palette_and_packed_data
(&self, bits_per_entry: u8)
pumpkin-world/src/chunk/palette.rs:192
↓ 4 callersMethodto_property_delegate
(self: Arc<Self>)
pumpkin/src/block/entities/brewing_stand.rs:525
↓ 4 callersMethodto_str
(&self)
pumpkin-util/src/gamemode.rs:31
↓ 4 callersMethodto_tokens_with_id
Emits the cooking-recipe struct fields including the provided `recipe_id`. # Arguments – `tokens` – the token stream to extend. – `recipe_id` – the p
pumpkin-codegen/src/recipes.rs:132
↓ 4 callersMethodto_translated
(self)
pumpkin-util/src/text/mod.rs:328
↓ 4 callersMethodto_u16
Converts the forward mapping directly to a u16 table. Used with ViaBackwards mappings which are already in new→old direction.
pumpkin-codegen/src/remap/mod.rs:243
↓ 4 callersMethodto_value
(&self)
pumpkin-data/src/generated/fluid.rs:798
↓ 4 callersFunctionto_wasm_game_mode
(game_mode: GameMode)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/events/mod.rs:127
↓ 4 callersMethodto_wire_connection
(&self)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:481
↓ 4 callersMethodtop_y
(&self)
pumpkin-world/src/generation/height_limit.rs:10
↓ 4 callersMethodtranslation_key
(self)
pumpkin-util/src/difficulty.rs:44
↓ 4 callersFunctiontry_apply_material_rule
( rule: &MaterialRule, chunk: &mut ProtoChunk, context: &mut MaterialRuleContext, surface_heig
pumpkin-world/src/generation/surface/rule.rs:15
↓ 4 callersMethodtry_extract
(&mut self)
pumpkin-data/src/data_component_impl.rs:1659
↓ 4 callersFunctionunwrap_wire
(state: &BlockState)
pumpkin/src/block/blocks/redstone/turbo.rs:20
↓ 4 callersMethodupdate
(&mut self, player: &Player)
pumpkin/src/world/map.rs:82
↓ 4 callersMethodupdate
(&mut self, requirements: AdvancementRequirement)
pumpkin/src/entity/player/advancement.rs:104
↓ 4 callersMethodupdate_attribute
Convenience helper to mutate an attribute instance. Automatically inserts a new instance populated from the registry base if needed.
pumpkin/src/entity/living.rs:354
↓ 4 callersMethodupdate_bossbar_style
( &self, uuid: &Uuid, color: BossbarColor, dividers: BossbarDivisions,
pumpkin/src/world/bossbar.rs:179
↓ 4 callersFunctionupdate_flanking_rails_shape
( world: &Arc<World>, block: &Block, state_id: BlockStateId, block_pos: &BlockPos, )
pumpkin/src/block/blocks/redstone/rails/common.rs:110
↓ 4 callersMethodupsert
(&mut self, uuid: Uuid, name: String)
pumpkin/src/data/usercache.rs:84
↓ 4 callersFunctionvalue_to_block_direction
Converts a lowercase direction string into its `BlockDirection` token stream. # Arguments - `s` – Direction name (e.g. `"down"`, `"up"`, `"north"`, e
pumpkin-codegen/src/placed_feature.rs:657
↓ 4 callersFunctionvalue_to_height_map
Converts a SCREAMING_SNAKE_CASE heightmap name into its `HeightMap` token stream. # Arguments - `s` – Heightmap name string (e.g. `"MOTION_BLOCKING"`
pumpkin-codegen/src/placed_feature.rs:638
↓ 4 callersFunctionvalue_to_inline_placed_feature
Converts an inline placed-feature JSON object into a `PlacedFeature` token stream. # Arguments – `v` – the JSON object containing `"feature"` and `"p
pumpkin-codegen/src/configured_feature.rs:1535
↓ 4 callersFunctionvalue_to_placed_feature_wrapper
Converts a placed-feature reference JSON value into a `PlacedFeatureWrapper` token stream. # Arguments – `v` – a JSON string (named reference) or obj
pumpkin-codegen/src/configured_feature.rs:1560
↓ 4 callersFunctionvine_direction_mapper
(direction: BlockDirection, props: &mut VineLikeProperties)
pumpkin/src/block/blocks/vine.rs:290
↓ 4 callersMethodwas_already_valid
(&self)
pumpkin/src/world/portal/nether.rs:240
↓ 4 callersMethodwidth
(&self)
pumpkin/src/entity/mod.rs:2435
↓ 4 callersFunctionwith_carve_run
(dimension: Dimension, test: F)
pumpkin-world/src/generation/carver/mod.rs:352
↓ 4 callersFunctionwith_carve_run_options
( dimension: Dimension, surface_rule: Option<&MaterialRule>, use_carver_aquifer: bool, test: F
pumpkin-world/src/generation/carver/mod.rs:360
↓ 4 callersFunctionwithin_or_err
( reader: &mut StringReader, reader_start: usize, value: T, min: T, max: T, too_low_er
pumpkin/src/command/argument_types/core/mod.rs:17
↓ 4 callersMethodwrite
( &self, map: &mut ChunkLevel, change: &mut HashMapType<ChunkPos, (StagedChunkEnum, St
pumpkin-world/src/chunk_system/chunk_loading.rs:77
↓ 4 callersMethodwrite_bedrock
(self)
pumpkin-nbt/src/lib.rs:137
↓ 4 callersFunctionwrite_crafting_requirements
Write the `craftingRequirements: Option<List<Ingredient>>` field (present). Each slot is either `None` (empty grid cell) or `Some(ingredient)`.
pumpkin-protocol/src/java/client/play/recipe_book_add.rs:227
↓ 4 callersFunctionwrite_result_slot_display
( write: &mut impl Write, result: &RecipeResultStruct, version: JavaMinecraftVersion, )
pumpkin-protocol/src/java/client/play/recipe_book_add.rs:240
↓ 4 callersMethodxz_to_index_const
( &self, biome_x_position: usize, biome_z_position: usize, )
pumpkin-world/src/generation/noise/router/chunk_density_function.rs:478
↓ 3 callersMethodactive_plugins
(&self)
pumpkin/src/plugin/mod.rs:909
↓ 3 callersMethodadd
(&self, other: &Self)
pumpkin-util/src/math/vector3.rs:153
↓ 3 callersMethodadd_charge
(&self, pos: &BlockPos, charge: f64)
pumpkin/src/world/natural_spawner.rs:202
↓ 3 callersMethodadd_experience_levels
Add experience levels to the player.
pumpkin/src/entity/player.rs:3378
↓ 3 callersMethodadd_experience_points
Add experience points to the player.
pumpkin/src/entity/player.rs:3406
↓ 3 callersMethodadd_message
Add a message of another `DataResult` (`other_result`) to this `DataResult`. This is useful for *unit tuple* `DataResult`s used simply for final resu
pumpkin-codecs/src/data_result.rs:516
↓ 3 callersMethodadd_mob
(&self, chunk_pos: Vector2<i32>, world: &World, category: &'static MobCategory)
pumpkin/src/world/natural_spawner.rs:138
↓ 3 callersMethodadd_passenger
( &self, vehicle: Arc<dyn EntityBase>, passenger: Arc<dyn EntityBase>, )
pumpkin/src/entity/mod.rs:2918
↓ 3 callersMethodadd_recipe
(&self, recipe: DynamicRecipe)
pumpkin/src/server/recipe.rs:24
↓ 3 callersMethodappend
(&self, key: &str, value: Self::Value, builder: Self::Result)
pumpkin-nbt/src/nbt_ops.rs:430
↓ 3 callersMethodappend_minimum_str_parsable
(self, buffer: &mut String)
pumpkin/src/command/snbt/markers.rs:28
↓ 3 callersMethodapply_lighting_override
(&self, chunk: &SyncChunk)
pumpkin-world/src/chunk_system/schedule.rs:182
↓ 3 callersMethodare_swapped
Returns whether the minimum and maximum numbers in this [`Bounds`] are swapped.
pumpkin-util/src/math/bounds.rs:15
↓ 3 callersFunctionargument
A short-form way to create a new [`RequiredArgumentBuilder`] from an argument type and name. This can be imported directly without a prefix, or impor
pumpkin/src/command/argument_builder.rs:98
↓ 3 callersMethodas_str
(&self)
pumpkin-protocol/src/bedrock/server/animate.rs:76
↓ 3 callersMethodattack
(&self, victim: Arc<dyn EntityBase>)
pumpkin/src/entity/player.rs:910
↓ 3 callersFunctionblock_to_profession
(block: &Block)
pumpkin/src/entity/passive/villager/mod.rs:659
↓ 3 callersFunctionbounds_from_reader
( reader: &mut StringReader, error_type: &'static CommandErrorType<1>, )
pumpkin/src/command/argument_types/mod.rs:88
↓ 3 callersMethodbroadcast_message
( &self, message: &TextComponent, sender_name: &TextComponent, chat_type: u8,
pumpkin/src/world/mod.rs:583
↓ 3 callersMethodbroadcast_system_message
(&self, message: &TextComponent, overlay: bool)
pumpkin/src/world/mod.rs:555
↓ 3 callersFunctionbroken_chest_impl
(args: BrokenArgs<'_>)
pumpkin/src/block/blocks/chests.rs:208
↓ 3 callersMethodbubble_down
(&mut self, mut index: usize)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:193
↓ 3 callersMethodbubble_up
(&mut self, mut index: usize)
pumpkin/src/entity/ai/pathfinder/binary_heap.rs:172
↓ 3 callersFunctioncalc_block_breaking
( player: &Player, state: &BlockState, block: &'static Block, )
pumpkin/src/block/mod.rs:463
↓ 3 callersFunctioncalculate_density
()
pumpkin-world/src/generation/noise/aquifer_sampler.rs:1698
↓ 3 callersFunctioncalculate_power
(world: &World, pos: &BlockPos)
pumpkin/src/block/blocks/redstone/redstone_wire.rs:530
↓ 3 callersMethodcan_convert_to_source
Determines if lava can convert to source blocks based on game rules.
pumpkin/src/block/fluid/lava.rs:304
↓ 3 callersMethodcan_fit_pose
(&self, pose: EntityPose)
pumpkin/src/entity/player.rs:1652
↓ 3 callersMethodcan_grow_through
(&self, chunk: &T, pos: BlockPos)
pumpkin-world/src/generation/feature/features/tree/root/mangrove.rs:138
↓ 3 callersMethodcan_harvest
(&self, state: &BlockState, block: &'static Block)
pumpkin/src/entity/player.rs:2969
↓ 3 callersFunctioncan_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos)
pumpkin/src/block/blocks/farmland.rs:116
↓ 3 callersFunctioncan_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos, facing: BlockDirection)
pumpkin/src/block/blocks/torches.rs:134
↓ 3 callersFunctioncan_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos)
pumpkin/src/block/blocks/dirt_path.rs:61
↓ 3 callersFunctioncan_place_at
(block_accessor: &dyn BlockAccessor, position: &BlockPos)
pumpkin/src/block/blocks/candles.rs:159
↓ 3 callersFunctioncan_place_at
(world: &dyn BlockAccessor, position: &BlockPos)
pumpkin/src/block/blocks/banners.rs:52
↓ 3 callersFunctioncan_place_at
(world: &World, position: &BlockPos)
pumpkin/src/block/blocks/lanterns.rs:63
↓ 3 callersFunctioncan_place_at
(block_accessor: &dyn BlockAccessor, block_pos: &BlockPos)
pumpkin/src/block/blocks/plant/sugar_cane.rs:85
↓ 3 callersFunctioncan_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos, facing: BlockDirection)
pumpkin/src/block/blocks/redstone/redstone_torch.rs:295
↓ 3 callersFunctioncan_place_at
(world: &dyn BlockAccessor, block_pos: &BlockPos, facing: HorizontalFacing)
pumpkin/src/block/blocks/coral/coral_fan.rs:232
↓ 3 callersMethodcan_read_chars
(&self, length: usize)
pumpkin/src/command/string_reader.rs:96
↓ 3 callersFunctioncan_survive
(block_accessor: &dyn BlockAccessor, pos: &BlockPos)
pumpkin/src/block/blocks/plant/chorus_plant.rs:108
↓ 3 callersFunctioncan_survive
(block_accessor: &dyn BlockAccessor, pos: &BlockPos)
pumpkin/src/block/blocks/plant/chorus_flower.rs:48
↓ 3 callersFunctioncarve
(chunk: &mut ProtoChunk, generator: &VanillaGenerator)
pumpkin-world/src/generation/carver/mod.rs:122
↓ 3 callersFunctioncarve_at
( run: &mut Run, x: i32, y: i32, z: i32, initial_state: &'static pumpk
pumpkin-world/src/generation/carver/cave.rs:478
↓ 3 callersMethodcheck_waiting_tasks
Check if any tasks parked in `waiting_for_chunks` now have all their neighbor chunk data available, and re-queue them if so. Must be called after ever
pumpkin-world/src/chunk_system/schedule.rs:416
↓ 3 callersFunctionchunk_bucket_index
(i: usize, gs: u8)
pumpkin-world/src/chunk/format/linear.rs:646
↓ 3 callersFunctionchunk_local_index
(i: usize, gs: u8)
pumpkin-world/src/chunk/format/linear.rs:653
↓ 3 callersFunctionclamp_cursor_to_char_boundary
(input: &str, cursor: usize)
pumpkin/src/command/dispatcher.rs:121
↓ 3 callersFunctionclamp_value
(value: f64)
pumpkin-protocol/src/codec/lp_vector_3d.rs:135
↓ 3 callersMethodclear
Clears all equipped items.
pumpkin-inventory/src/entity_equipment.rs:103
↓ 3 callersMethodclose_container
(&self)
pumpkin-world/src/block/viewer.rs:28
↓ 3 callersMethodclose_handled_screen
(self: &Arc<Self>)
pumpkin/src/entity/player.rs:3493
↓ 3 callersFunctioncompare_entity_type
(expected_type: &str, actual: &EntityType)
pumpkin/src/world/loot.rs:450
↓ 3 callersMethodcompare_exchange
Performs a compare-and-exchange operation on the atomic float. # Arguments `current` – The value expected to be currently stored. `new` – The value t
pumpkin-util/src/math/atomic_f32.rs:58
↓ 3 callersMethodcompute
(&mut self, pos: &Vector3<i32>, density: f64)
pumpkin-world/src/generation/noise/aquifer_sampler.rs:147
↓ 3 callersFunctioncompute_placed_rail_shape
( world: &World, block_pos: &BlockPos, player_facing: HorizontalFacing, )
pumpkin/src/block/blocks/redstone/rails/common.rs:43
↓ 3 callersMethodcontains_block
(&self, x: i32, z: i32)
pumpkin/src/world/border.rs:114
← previousnext →1,201–1,300 of 10,199, ranked by callers