Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pumpkin-MC/Pumpkin
/ functions
Functions
10,199 in github.com/Pumpkin-MC/Pumpkin
⨍
Functions
10,199
◇
Types & classes
2,951
Function
build
Read every chest loot JSON from `../assets/loot_table/chests/` (recursively) and emit a `pumpkin-data/src/generated/chest_loot.rs` with static constan
pumpkin-codegen/src/chest_loot.rs:124
Function
build
Generates the `TokenStream` for the `EntityStatus` enum with `u8` discriminants.
pumpkin-codegen/src/entity_status.rs:9
Function
build
Generates the `TokenStream` for the `Attributes` struct and its associated constants.
pumpkin-codegen/src/attributes.rs:19
Function
build
()
pumpkin-codegen/src/noise_parameter.rs:7
Function
build
Reads `items.json` and generates the complete item registry `TokenStream`.
pumpkin-codegen/src/item.rs:875
Function
build
()
pumpkin-codegen/src/statistic.rs:19
Function
build
Generates the `TokenStream` for the `EntityPose` enum.
pumpkin-codegen/src/entity_pose.rs:9
Function
build
Generates the `TokenStream` for some slot range constants and a function to get one from the name of a range.
pumpkin-codegen/src/slot_ranges.rs:5
Function
build
Generates the `TokenStream` for the `ScoreboardDisplaySlot` enum.
pumpkin-codegen/src/scoreboard_slot.rs:9
Function
build
Generates the `TokenStream` for the `DamageType` struct, its associated enums, and constants.
pumpkin-codegen/src/damage_type.rs:63
Function
build
Generates the `TokenStream` for the `Enchantment` struct, `AttributeModifierSlot` enum, and `from_name`/`from_id` lookup methods.
pumpkin-codegen/src/enchantments.rs:90
Function
build
Generates the `TokenStream` for `TrackedId`, `TrackedData`, and all per-entity tracking constants.
pumpkin-codegen/src/tracked_data.rs:11
Function
build
Generates the `TokenStream` for `entity_from_egg` and `spawn_egg_ids` helper functions.
pumpkin-codegen/src/spawn_egg.rs:8
Function
build
Generates the `TokenStream` for the `get_recipe_remainder_id` function.
pumpkin-codegen/src/recipe_remainder.rs:6
Function
build
Generates the `TokenStream` for the `FUELS` constant array, `get_item_burn_ticks`, and `is_fuel`.
pumpkin-codegen/src/fuels.rs:5
Function
build
Generates the `TokenStream` for the `GameEvent` enum.
pumpkin-codegen/src/game_event.rs:9
Function
build
Generates the `TokenStream` for the `Biome` struct, its constants, lookup methods, the multi-noise biome source trees, and the `BiomeTree` search impl
pumpkin-codegen/src/biome.rs:210
Function
build
Generates the `TokenStream` for `POTION_RECIPES` and `ITEM_RECIPES` constant arrays.
pumpkin-codegen/src/potion_brewing.rs:84
Function
build
Generates the `TokenStream` for message type `u8` constants, including a synthetic `RAW` variant.
pumpkin-codegen/src/message_type.rs:30
Function
build
()
pumpkin-codegen/src/translations.rs:5
Function
build
Generates the `TokenStream` for the `SoundCategory` enum and its `from_name`/`to_name` methods.
pumpkin-codegen/src/sound_category.rs:10
Function
build
Reads `density_function.json` and emits the complete noise-router constants `TokenStream`.
pumpkin-codegen/src/noise_router.rs:1197
Function
build
()
pumpkin-codegen/src/bedrock_creative.rs:25
Function
build
()
pumpkin-codegen/src/carver.rs:7
Function
build
Reads `recipes.json` and emits the complete recipe constants and helpers `TokenStream`.
pumpkin-codegen/src/recipes.rs:467
Function
build
Generates the `TokenStream` for the `EntityType` struct, `MobCategory`, `SpawnRestriction`, and the `from_raw`/`from_name` lookup methods.
pumpkin-codegen/src/entity_type.rs:212
Function
build
Generates the `TokenStream` for the `Potion` struct, `Effect` struct, and `from_name` lookup.
pumpkin-codegen/src/potion.rs:64
Function
build
Generates the `TokenStream` for the `get_potted_item` function mapping item IDs to potted block IDs.
pumpkin-codegen/src/flower_pot_transformations.rs:6
Function
build
Generates the `TokenStream` for the `Registry` and `StaticRegistry` structs, version-keyed static registry data, and the `Registry::get_synced` method
pumpkin-codegen/src/registry.rs:14
Function
build
Generates the `TokenStream` for the `get_composter_increase_chance_from_item_id` function.
pumpkin-codegen/src/composter_increase_chance.rs:8
Function
build
()
pumpkin-codegen/src/villager.rs:51
Function
build
Reads `placed_feature.json` and emits the complete `build_placed_features()` function `TokenStream`.
pumpkin-codegen/src/placed_feature.rs:60
Function
build
Reads all block assets and generates the complete block registry `TokenStream`.
pumpkin-codegen/src/block.rs:841
Function
build
()
pumpkin-codegen/src/remap/mod.rs:13
Function
build
Generates the `TokenStream` for per-version sound ID remap tables and the `remap_sound_id_for_version` function.
pumpkin-codegen/src/remap/sound_id.rs:9
Function
build
Generates the `TokenStream` for per-version entity ID remap tables and the `remap_entity_id_for_version` function.
pumpkin-codegen/src/remap/entity_id.rs:9
Function
build
Generates the `TokenStream` for per-version block-state remap tables and the `remap_block_state_for_version` function.
pumpkin-codegen/src/remap/block_state.rs:9
Function
build
Generates the `TokenStream` for per-version item ID remap tables and the `remap_item_id_for_version`/`remap_item_id_from_version` functions.
pumpkin-codegen/src/remap/item_id.rs:9
Function
build
()
pumpkin-codegen/src/wit/particle.rs:5
Function
build
()
pumpkin-codegen/src/wit/data_component.rs:6
Function
build
()
pumpkin-codegen/src/wit/sound.rs:5
Function
build
()
pumpkin-codegen/src/wit/bedrock_packet.rs:11
Function
build
()
pumpkin-codegen/src/wit/enchantment.rs:6
Function
build
()
pumpkin-codegen/src/wit/biome.rs:6
Function
build
()
pumpkin-codegen/src/wit/entity_type.rs:6
Function
build
()
pumpkin-codegen/src/wit/java_packet.rs:12
Method
build
Builds the `GUIScreenHandler`.
pumpkin-inventory/src/gui_builder.rs:62
Function
build_bounded_node
( name: String, min: Option<T>, max: Option<T>, )
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/commands/mod.rs:668
Method
build_brand
()
pumpkin/src/server/connection_cache.rs:61
Function
build_configured_features
()
pumpkin-data/src/generated/configured_features_generated.rs:9
Function
build_enum
Reads `configured_features.json` and emits the complete `ConfiguredFeature` enum `TokenStream`.
pumpkin-codegen/src/configured_feature.rs:13
Function
build_enum
Reads `placed_feature.json` and emits the complete `PlacedFeature` enum `TokenStream`.
pumpkin-codegen/src/placed_feature.rs:8
Function
build_placed_features
()
pumpkin-data/src/generated/placed_features_generated.rs:3
Method
build_portal_frame
( world: &Arc<World>, lower_corner: BlockPos, axis: HorizontalAxis, is_fallbac
pumpkin/src/world/portal/nether.rs:728
Method
build_random_tick_sections_cache
( block_sections: &[BlockPalette], )
pumpkin-world/src/chunk/mod.rs:315
Method
build_response
(config: &BasicConfiguration)
pumpkin/src/server/connection_cache.rs:138
Method
build_with_builder
( self, builder: Self::Result, prefix: Self::Value, )
pumpkin-nbt/src/nbt_ops.rs:394
Method
build_with_builder
( self, builder: Self::Result, prefix: Self::Value, )
pumpkin-codecs/src/struct_builder.rs:273
Method
build_with_builder
( self, builder: Self::Result, prefix: Self::Value, )
pumpkin-codecs/src/json_ops.rs:341
Method
build_with_result_prefix
Builds the map stored in this builder along with a `DataResult` prefix and returns the result.
pumpkin-codecs/src/struct_builder.rs:52
Method
button
(mut self, text: impl Into<TextComponent>, image: Option<FormImage>)
pumpkin-plugin-api/src/forms.rs:22
Method
button1
(mut self, text: impl Into<TextComponent>)
pumpkin-plugin-api/src/forms.rs:56
Method
button2
(mut self, text: impl Into<TextComponent>)
pumpkin-plugin-api/src/forms.rs:61
Method
by_index
(index: usize)
pumpkin-data/src/block_direction.rs:92
Function
bypasses_armor_durability_returns_false_for_physical_sources
()
pumpkin/src/entity/living.rs:2719
Function
bypasses_armor_durability_returns_true_for_tag_members
()
pumpkin/src/entity/living.rs:2686
Method
calc_priority
( last_level: &ChunkLevel, last_high_priority: &[ChunkPos], pos: ChunkPos, sta
pumpkin-world/src/chunk_system/schedule.rs:208
Method
calculate_amplitudes
(octaves: &[i32])
pumpkin-util/src/noise/perlin.rs:316
Method
calculate_ceiling_orientation
Calculates orientation for ceiling-hanging signs.
pumpkin/src/block/blocks/signs.rs:220
Method
calculate_density
( barrier_sample: &mut Option<f64>, pos: &Vector3<i32>, router: &mut ChunkNoiseRouter,
pumpkin-world/src/generation/noise/aquifer_sampler.rs:315
Method
calculate_exposure
( explosion_pos: &Vector3<f64>, entity: &Entity, world: &Arc<World>, )
pumpkin/src/world/explosion.rs:207
Method
calculate_fitness
( noises: &[[ParameterRange; 7]], sampler: &dyn Fn(i32, i32) -> [i64; 7], x: i32,
pumpkin-world/src/biome/position_finder.rs:52
Method
calculate_length
(&self)
pumpkin/src/entity/ai/pathfinder/path.rs:179
Method
calculate_placement_position
(location: &BlockPos, face: BlockDirection)
pumpkin/src/item/items/armor_stand.rs:22
Method
calculate_redstone_output
(&self, world: &World, block: &Block, pos: &BlockPos)
pumpkin/src/block/blocks/redstone/pressure_plate/weighted.rs:102
Method
calculate_standing_orientation
Calculates orientation for standing signs.
pumpkin/src/block/blocks/signs.rs:245
Method
calculate_wall_hanging_facing
Determines the appropriate facing direction for a wall-hanging sign.
pumpkin/src/block/blocks/signs.rs:92
Method
calculate_wall_hanging_orientation
Calculates orientation for wall-hanging signs.
pumpkin/src/block/blocks/signs.rs:196
Method
calculate_wall_hanging_rotation
Calculates rotation for wall-hanging signs.
pumpkin/src/block/blocks/signs.rs:115
Method
calculate_wall_orientation
Calculates orientation for wall signs.
pumpkin/src/block/blocks/signs.rs:239
Method
can_attach
( source: &Self, target_facing: pumpkin_util::BlockDirection, target_name: &str, )
pumpkin-world/src/generation/structure/structures/jigsaw.rs:419
Method
can_convert_to_source
Determines if water can convert to source blocks based on game rules.
pumpkin/src/block/fluid/water.rs:98
Method
can_fall_through
(state: &BlockState, block: &Block)
pumpkin/src/block/blocks/falling.rs:17
Method
can_float
(&self)
pumpkin/src/entity/ai/pathfinder/walk_node_evaluator.rs:591
Method
can_follow
(mob: &dyn Mob)
pumpkin/src/entity/ai/goal/follow_owner.rs:33
Method
can_hit
(&self)
pumpkin/src/entity/mod.rs:246
Method
can_hit
(&self)
pumpkin/src/entity/boss/ender_dragon.rs:198
Method
can_hit
(&self)
pumpkin/src/entity/vehicle/boat.rs:87
Method
can_hit
(&self)
pumpkin/src/entity/vehicle/minecart.rs:554
Method
can_insert
Checks if the given stack can be inserted into this slot.
pumpkin-inventory/src/slot.rs:98
Method
can_insert
(&self, _stack: &ItemStack)
pumpkin-inventory/src/stonecutter_screen_handler.rs:228
Method
can_insert
(&self, _stack: &ItemStack)
pumpkin-inventory/src/crafting/crafting_screen_handler.rs:462
Method
can_insert
Restricts inserts based on slot type. - Top slot: accepts any item (smeltables) - Bottom slot: only accepts fuel items and buckets
pumpkin-inventory/src/furnace_like/furnace_like_slot.rs:75
Method
can_load
(&self, path: &Path)
pumpkin/src/plugin/loader/wasm/mod.rs:49
Method
can_mine
(&self, _player: &Player)
pumpkin/src/item/mod.rs:69
Method
can_mine
(&self, player: &Player)
pumpkin/src/item/items/swords.rs:15
Method
can_mine
(&self, player: &Player)
pumpkin/src/item/items/mace.rs:14
Method
can_mine
(&self, player: &Player)
pumpkin/src/item/items/trident.rs:162
Method
can_mine
(&self, player: &Player)
pumpkin/src/item/items/dye.rs:25
Method
can_open_doors
(&self)
pumpkin/src/entity/ai/pathfinder/walk_node_evaluator.rs:587
← previous
next →
4,501–4,600 of 10,199, ranked by callers