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
Method
new
(sync_id: u8, player_inventory: &Arc<PlayerInventory>)
pumpkin-inventory/src/stonecutter_screen_handler.rs:29
Method
new
Parses a slot action into a click event. # Arguments - `mode` - The action type from the protocol - `button` - The button value from the protocol - `
pumpkin-inventory/src/container_click.rs:60
Method
new
Creates a new `GUIBuilder` with a basic 9x3 layout.
pumpkin-inventory/src/gui_builder.rs:25
Method
new
Creates a new beacon screen handler.
pumpkin-inventory/src/beacon_screen_handler.rs:36
Method
new
( sync_id: u8, player_inventory: &Arc<PlayerInventory>, inventory: Arc<dyn Inventory>,
pumpkin-inventory/src/anvil/anvil_screen_handler.rs:26
Method
new
( inventory: Arc<dyn RecipeInputInventory>, provider: Option<Arc<dyn RecipeProvider>>, )
pumpkin-inventory/src/crafting/crafting_screen_handler.rs:327
Method
new
(width: u8, height: u8)
pumpkin-inventory/src/crafting/crafting_inventory.rs:59
Method
new
( sync_id: u8, player_inventory: &Arc<PlayerInventory>, inventory: Arc<dyn Inventory>,
pumpkin-inventory/src/merchant/merchant_screen_handler.rs:25
Method
new
Creates a new furnace-like screen handler. # Arguments - `sync_id` - The sync ID for client-server matching - `player_inventory` - The player's inven
pumpkin-inventory/src/furnace_like/furnace_like_screen_handler.rs:63
Method
new
Creates a new furnace slot. # Arguments - `inventory` - The furnace's inventory - `slot_type` - Whether this is the input (Top) or fuel (Bottom) slot
pumpkin-inventory/src/furnace_like/furnace_like_slot.rs:47
Method
new
()
pumpkin-inventory/src/player/ender_chest_inventory.rs:48
Method
new
Creates a new player screen handler. # Arguments - `player_inventory` - The player's inventory - `window_type` - The window type (usually None for pl
pumpkin-inventory/src/player/player_screen_handler.rs:80
Method
new
Creates a new player inventory. # Arguments - `entity_equipment` - The entity equipment storage for armor/off-hand - `equipment_slots` - Mapping of s
pumpkin-inventory/src/player/player_inventory.rs:63
Method
new
( sync_id: u8, player_inventory: &Arc<PlayerInventory>, inventory: &Arc<dyn Inventory>
pumpkin-inventory/src/enchanting/enchanting_screen_handler.rs:35
Method
new
Creates a new brewing stand screen handler. # Arguments - `sync_id` - The sync ID for client-server matching - `player_inventory` - The player's inve
pumpkin-inventory/src/brewing/brewing_screen_handler.rs:49
Method
new_all_of
(predicates: Vec<Self>)
pumpkin/src/command/argument_types/entity_selector/mod.rs:409
Method
new_array
(min: [f64; 3], max: [f64; 3])
pumpkin-util/src/math/boundingbox.rs:203
Method
new_breeze
(thrown_item_entity: ThrownItemEntity)
pumpkin/src/entity/projectile/wind_charge.rs:48
Method
new_collector
Creates a new initial collector. [`NbtTag`]s can directly be added to this collector without any type worries.
pumpkin-nbt/src/nbt_ops.rs:496
Method
new_container_id
Generates a new container id.
pumpkin/src/server/mod.rs:805
Method
new_default
(size: &EntityDimensions)
pumpkin-util/src/math/boundingbox.rs:63
Method
new_drag_item
(button: i8, slot: i16)
pumpkin-inventory/src/container_click.rs:133
Method
new_drop_item
(button: i8, slot: i16)
pumpkin-inventory/src/container_click.rs:119
Method
new_empty
(default: u8)
pumpkin-world/src/chunk/format/mod.rs:396
Method
new_error
(error: impl Into<String>)
pumpkin-codecs/src/data_result.rs:150
Method
new_error_with_lifecycle
( message: impl Into<String>, lifecycle: Lifecycle, )
pumpkin-codecs/src/data_result.rs:166
Method
new_filename
(yesterday: bool)
pumpkin/src/logging.rs:150
Method
new_filled
(default: u8)
pumpkin-world/src/chunk/format/mod.rs:412
Method
new_for_restore
Creates an `ItemEntity` for restoring from NBT without random velocity. The velocity and position will be set by `Entity::read_nbt_non_mut`.
pumpkin/src/entity/item.rs:98
Method
new_from_pos
(x: f64, y: f64, z: f64, size: &EntityDimensions)
pumpkin-util/src/math/boundingbox.rs:75
Method
new_key_click
(button: i8, slot: i16)
pumpkin-inventory/src/container_click.rs:104
Method
new_normal
(thrown_item_entity: ThrownItemEntity)
pumpkin/src/entity/projectile/wind_charge.rs:38
Method
new_normal_click
(button: i8, slot: i16)
pumpkin-inventory/src/container_click.rs:79
Method
new_option_error_with_lifecycle
( message: String, partial_result: Option<R>, lifecycle: Lifecycle, )
pumpkin-codecs/src/data_result.rs:193
Method
new_or_air
(inner: u16)
pumpkin-data/src/blocks.rs:216
Method
new_or_air
(inner: u16)
pumpkin-data/src/block_state.rs:212
Method
new_partial_error
(error: impl Into<String>, partial_result: R)
pumpkin-codecs/src/data_result.rs:156
Method
new_partial_error_with_lifecycle
( message: impl Into<String>, partial_result: R, lifecycle: Lifecycle, )
pumpkin-codecs/src/data_result.rs:179
Function
new_player_advancement
()
pumpkin/src/entity/player/advancement.rs:550
Method
new_portal
(pos: BlockPos)
pumpkin-world/src/poi/mod.rs:41
Method
new_remove
(entity_name: String, objective_name: String)
pumpkin-protocol/src/java/client/play/update_score.rs:50
Method
new_shift_click
(slot: i16)
pumpkin-inventory/src/container_click.rs:97
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/lingering_potion.rs:45
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/small_fireball.rs:33
Method
new_shot
(entity: Entity, shooter: &Entity, pickup: ArrowPickup)
pumpkin/src/entity/projectile/arrow.rs:94
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/fireball.rs:38
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/splash_potion.rs:41
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/ender_pearl.rs:41
Method
new_shot
( entity: Entity, shooter: &Entity, item_stack: ItemStack, pickup: ArrowPickup
pumpkin/src/entity/projectile/trident.rs:59
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/egg.rs:49
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/snowball.rs:36
Method
new_shot
(entity: Entity, shooter: &Entity)
pumpkin/src/entity/projectile/firework_rocket.rs:50
Method
new_span
Allocates a new monotonically increasing span ID.
pumpkin-plugin-api/src/logging.rs:30
Method
new_start
Matches Start(Random random, int i, int j)
pumpkin-world/src/generation/structure/structures/stronghold/spiral_staircase.rs:34
Method
new_start
Create as the very first (start) piece at a fixed y=64.
pumpkin-world/src/generation/structure/structures/nether_fortress/bridge_crossing.rs:28
Method
new_success
(result: R)
pumpkin-codecs/src/data_result.rs:138
Method
new_success_with_lifecycle
(result: R, lifecycle: Lifecycle)
pumpkin-codecs/src/data_result.rs:144
Method
new_unreliable
(payload: Vec<u8>)
pumpkin-protocol/src/bedrock/frame_set.rs:55
Method
new_with_component
( item_count: u8, item: &'static Item, component: Vec<(DataComponent, Option<Box<dyn D
pumpkin-data/src/item_stack/mod.rs:112
Method
new_with_velocity
( entity: Entity, item_stack: ItemStack, velocity: Vector3<f64>, pickup_delay:
pumpkin/src/entity/item.rs:69
Method
new_zombie
(position: Vector3<f64>, on_ground: bool)
pumpkin/src/entity/ai/pathfinder/node_evaluator.rs:58
Method
newtype_variant_seed
( self, seed: T, )
pumpkin-protocol/src/ser/deserializer.rs:305
Function
next_between_i32
()
pumpkin-util/src/random/xoroshiro128.rs:352
Function
next_bool
()
pumpkin-util/src/random/legacy_rand.rs:313
Function
next_bool
()
pumpkin-util/src/random/xoroshiro128.rs:435
Method
next_bool
(&mut self)
pumpkin-util/src/random/xoroshiro128.rs:197
Function
next_bounded_i32
()
pumpkin-util/src/random/legacy_rand.rs:211
Function
next_bounded_i32
()
pumpkin-util/src/random/xoroshiro128.rs:334
Method
next_bounded_i32
(&mut self, bound: i32)
pumpkin-util/src/random/xoroshiro128.rs:177
Method
next_element_seed
(&mut self, seed: T)
pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/player.rs:61
Method
next_element_seed
(&mut self, seed: E)
pumpkin-nbt/src/deserializer.rs:512
Method
next_element_seed
( &mut self, seed: T, )
pumpkin-protocol/src/codec/item_stack_seralizer.rs:90
Method
next_entity
(&mut self)
pumpkin/src/entity/player.rs:377
Function
next_f32
()
pumpkin-util/src/random/legacy_rand.rs:277
Function
next_f32
()
pumpkin-util/src/random/xoroshiro128.rs:393
Method
next_f32
(&mut self)
pumpkin-util/src/random/xoroshiro128.rs:201
Function
next_f64
()
pumpkin-util/src/random/legacy_rand.rs:255
Function
next_f64
()
pumpkin-util/src/random/xoroshiro128.rs:372
Method
next_f64
(&mut self)
pumpkin-util/src/random/xoroshiro128.rs:205
Function
next_gaussian
()
pumpkin-util/src/random/legacy_rand.rs:326
Function
next_gaussian
()
pumpkin-util/src/random/xoroshiro128.rs:447
Method
next_gaussian
(&mut self)
pumpkin-util/src/random/xoroshiro128.rs:209
Function
next_i32
()
pumpkin-util/src/random/legacy_rand.rs:189
Function
next_i32
()
pumpkin-util/src/random/xoroshiro128.rs:313
Function
next_i64
()
pumpkin-util/src/random/legacy_rand.rs:291
Function
next_i64
()
pumpkin-util/src/random/xoroshiro128.rs:414
Method
next_i64
(&mut self)
pumpkin-util/src/random/xoroshiro128.rs:193
Function
next_inbetween_exclusive
()
pumpkin-util/src/random/xoroshiro128.rs:362
Function
next_inbetween_exclusive_i32
()
pumpkin-util/src/random/legacy_rand.rs:244
Function
next_inbetween_i32
()
pumpkin-util/src/random/legacy_rand.rs:233
Method
next_inbetween_i32_exclusive
(&mut self, min: i32, max: i32)
pumpkin-util/src/random/mod.rs:234
Method
next_key_seed
(&mut self, seed: K)
pumpkin-nbt/src/deserializer.rs:465
Method
next_key_seed
( &mut self, seed: K, )
pumpkin-protocol/src/ser/deserializer.rs:219
Method
next_or_thread
(nodes: &[TreeNodePosition], idx: usize)
pumpkin-codegen/src/advancement.rs:522
Function
next_triangular
()
pumpkin-util/src/random/xoroshiro128.rs:468
Method
next_triangular
(mode: f64, deviation: f64)
pumpkin/src/entity/projectile/arrow.rs:144
Method
next_triangular
(mode: f64, deviation: f64)
pumpkin/src/entity/projectile/trident.rs:110
Method
next_value_seed
(&mut self, seed: V)
pumpkin-nbt/src/deserializer.rs:476
Method
next_value_seed
( &mut self, seed: Val, )
pumpkin-protocol/src/ser/deserializer.rs:229
Function
no_fade
()
pumpkin-util/src/noise/perlin.rs:767
← previous
next →
8,101–8,200 of 10,199, ranked by callers