Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/spacetimedb-minecraft
/ functions
Functions
985 in github.com/clockworklabs/spacetimedb-minecraft
⨍
Functions
985
◇
Types & classes
405
Method
get_block_loot_stack
Get the drop item stack from a block and metadata. This is called for each try.
crates/mc173-module/src/world/loot.rs:98
Method
get_chunk
(&mut self, x: i32, z: i32)
crates/mc173-module/src/chunk_cache.rs:15
Function
get_delay_ticks
(metadata: u8)
crates/mc173-module/src/block/repeater.rs:46
Function
get_delay_ticks
(metadata: u8)
crates/mc173-server/src/block/repeater.rs:46
Method
get_dimension
Get the dimension of this world, this is basically only for sky color on client and also for celestial angle on the server side for sky light calculat
crates/mc173-module/src/world.rs:275
Function
get_entity_light
Calculate the light levels for an entity given its base component.
crates/mc173-module/src/entity/common.rs:99
Function
get_explosion_resistance
The block resistance to explosions. When an explosion happens, each ray of the explosion starts with an intensity that equals the radius of the explos
crates/mc173-module/src/block/material.rs:326
Function
get_explosion_resistance
The block resistance to explosions. When an explosion happens, each ray of the explosion starts with an intensity that equals the radius of the explos
crates/mc173-server/src/block/material.rs:336
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/pumpkin.rs:8
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/button.rs:9
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/torch.rs:8
Function
get_face
Get facing of the dispenser.
crates/mc173-module/src/block/dispenser.rs:7
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/repeater.rs:8
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/trapdoor.rs:9
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/piston.rs:8
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/lever.rs:10
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/ladder.rs:9
Function
get_face
(metadata: u8)
crates/mc173-module/src/block/stair.rs:8
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/pumpkin.rs:8
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/button.rs:9
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/torch.rs:8
Function
get_face
Get facing of the dispenser.
crates/mc173-server/src/block/dispenser.rs:7
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/repeater.rs:8
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/bed.rs:8
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/trapdoor.rs:9
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/piston.rs:8
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/lever.rs:10
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/ladder.rs:9
Function
get_face
(metadata: u8)
crates/mc173-server/src/block/stair.rs:8
Function
get_fire_burn
Get the burn rate for the given block. The returned rate is used to randomly destroy a block that was on fire and replace it with fire. Blocks that ar
crates/mc173-module/src/block/material.rs:376
Function
get_fire_burn
(id: u8)
crates/mc173-server/src/block/material.rs:388
Function
get_fire_flammability
(id: u8)
crates/mc173-server/src/block/material.rs:368
Method
get_height
(&self, pos: IVec3)
crates/mc173-server/src/chunk.rs:86
Function
get_kind
(metadata: u8)
crates/mc173-server/src/block/sapling.rs:15
Function
get_light_emission
Get the light emission of a block given its id. The resulting value is between 0 and 15 included, so it's basically a 4-bit unsigned integer.
crates/mc173-server/src/block/material.rs:219
Function
get_light_opacity
Get the light opacity of a block given its id.
crates/mc173-server/src/block/material.rs:205
Method
get_light_update_count
(&self)
crates/mc173-module/src/world.rs:627
Function
get_piston_policy
Get piston policy of a given block.
crates/mc173-server/src/block/material.rs:404
Function
get_post_yaw
(metadata: u8)
crates/mc173-server/src/block/sign.rs:31
Method
get_seed
(&self)
crates/mc173-module/src/rand.rs:81
Function
get_slipperiness
The block slipperiness for entities.
crates/mc173-module/src/block/material.rs:232
Function
get_slipperiness
The block slipperiness for entities.
crates/mc173-server/src/block/material.rs:238
Method
get_stack
Get the stack in this slot.
crates/mc173-server/src/player.rs:1653
Function
get_wall_face
(metadata: u8)
crates/mc173-server/src/block/sign.rs:8
Method
get_weather
Get the current weather in the world.
crates/mc173-module/src/world.rs:290
Method
handle
Handle an incoming packet from this player.
crates/mc173-server/src/player.rs:148
Function
handle_break_block
(entity_id: u32, packet: StdbBreakBlockPacket)
crates/module/src/lib.rs:569
Method
handle_break_block
(connection_id: u64, packet: proto::BreakBlockPacket)
crates/mc173-server/src/player.rs:280
Method
handle_chat
Handle a chat message packet.
crates/mc173-server/src/player.rs:196
Method
handle_disconnect
Just disconnect itself, this will produce a lost event from the network.
crates/mc173-server/src/player.rs:187
Method
handle_event
( &self, event: Event, _reducer_callbacks: &mut ReducerCallbacks, _state: Arc<
crates/mc173-server/src/autogen/mod.rs:269
Function
handle_look
(entity_id: u32, packet: StdbLookPacket)
crates/module/src/lib.rs:708
Method
handle_look
Handle a look packet.
crates/module/src/player.rs:281
Method
handle_look
Handle a look packet.
crates/mc173-server/src/player.rs:224
Function
handle_position
(entity_id: u32, packet: StdbPositionPacket)
crates/module/src/lib.rs:699
Method
handle_position
Handle a position packet.
crates/module/src/player.rs:276
Method
handle_position
Handle a position packet.
crates/mc173-server/src/player.rs:208
Function
handle_position_look
(entity_id: u32, packet: StdbPositionLookPacket)
crates/module/src/lib.rs:717
Method
handle_position_look
Handle a position and look packet.
crates/module/src/player.rs:286
Method
handle_position_look
Handle a position and look packet.
crates/mc173-server/src/player.rs:237
Method
handle_resubscribe
( &self, new_subs: TableUpdate, client_cache: &mut ClientCache, callbacks: &mu
crates/mc173-server/src/autogen/mod.rs:295
Method
handle_table_update
( &self, table_update: TableUpdate, client_cache: &mut ClientCache, callbacks:
crates/mc173-server/src/autogen/mod.rs:156
Method
has_active_power
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/power.rs:17
Function
has_fluids_colliding
Return true if the given bounding box is colliding with any fluid (given material).
crates/mc173-module/src/entity/common.rs:46
Method
has_rain
(self)
crates/mc173-module/src/biome.rs:34
Method
has_snow
(self)
crates/mc173-module/src/biome.rs:46
Method
id_to_x_y
(id: u32)
crates/mc173-module/src/stdb/chunk.rs:63
Method
id_to_x_y
(id: u32)
crates/mc173-server/src/chunk.rs:75
Method
inc_damage
Increment damage to this item, if max damage is reached for that item, the stack size will be decremented (saturating at 0).
crates/mc173-server/src/item/mod.rs:273
Method
inflate
Expand this bounding box in all direction by the given delta.
crates/mc173-server/src/geom.rs:67
Function
init
(context: ReducerContext)
crates/module/src/lib.rs:51
Function
init
()
crates/mc173-module/src/stdb/weather.rs:14
Function
init
(nano_time: u128)
crates/mc173-module/src/stdb/rand.rs:11
Method
init_natural_spawn
Initialize this entity for natural spawn, for example this randomize the slime size or sheep color or make a spider with jokey.
crates/mc173-module/src/entity/mod.rs:730
Method
insert_terrain
Insert a terrain chunk that have just been returned by a terrain worker.
crates/mc173-module/src/storage.rs:398
Method
intersects
Return true if this bounding box intersects with the given one.
crates/mc173-server/src/geom.rs:108
Method
intersects_x
Return true if this bounding box intersects with the given one on the X axis.
crates/mc173-module/src/geom.rs:114
Method
intersects_x
Return true if this bounding box intersects with the given one on the X axis.
crates/mc173-server/src/geom.rs:115
Method
intersects_y
Return true if this bounding box intersects with the given one on the Y axis.
crates/mc173-module/src/geom.rs:119
Method
intersects_y
Return true if this bounding box intersects with the given one on the Y axis.
crates/mc173-server/src/geom.rs:120
Method
intersects_z
Return true if this bounding box intersects with the given one on the Z axis.
crates/mc173-module/src/geom.rs:124
Method
intersects_z
Return true if this bounding box intersects with the given one on the Z axis.
crates/mc173-server/src/geom.rs:125
Method
invoke_row_callbacks
( &self, reminders: &mut RowCallbackReminders, worker: &mut DbCallbacks, reduc
crates/mc173-server/src/autogen/mod.rs:188
Function
is_active
(metadata: u8)
crates/mc173-module/src/block/button.rs:34
Function
is_active
(metadata: u8)
crates/mc173-server/src/block/button.rs:34
Function
is_active
(metadata: u8)
crates/mc173-server/src/block/lever.rs:41
Method
is_breakable_by_default
(self)
crates/mc173-server/src/block/material.rs:521
Function
is_ext_sticky
(metadata: u8)
crates/mc173-server/src/block/piston.rs:42
Function
is_fluid
Return true if the given block is a fluid.
crates/mc173-module/src/block/material.rs:179
Function
is_fluid
Return true if the given block is a fluid.
crates/mc173-server/src/block/material.rs:185
Method
is_fluid
(self)
crates/mc173-server/src/block/material.rs:494
Function
is_fluid_proof
Return true if the given block can block fluid.
crates/mc173-server/src/block/material.rs:192
Function
is_growing
(metadata: u8)
crates/mc173-module/src/block/sapling.rs:37
Function
is_growing
(metadata: u8)
crates/mc173-server/src/block/sapling.rs:37
Method
is_hard
(self)
crates/mc173-module/src/entity/mod.rs:857
Function
is_head
(metadata: u8)
crates/mc173-server/src/block/bed.rs:46
Method
is_neg
(self)
crates/mc173-module/src/geom.rs:364
Method
is_neg
(self)
crates/mc173-server/src/geom.rs:371
Function
is_normal_cube
Return true if a block is a normal cube (Notchian implementation has this weird differentiation with the opaque cube).
crates/mc173-server/src/block/material.rs:180
Function
is_occupied
(metadata: u8)
crates/mc173-module/src/block/bed.rs:33
← previous
next →
601–700 of 985, ranked by callers