MCPcopy Create free account

hub / github.com/clockworklabs/spacetimedb-minecraft / functions

Functions985 in github.com/clockworklabs/spacetimedb-minecraft

Methodget_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
Methodget_chunk
(&mut self, x: i32, z: i32)
crates/mc173-module/src/chunk_cache.rs:15
Functionget_delay_ticks
(metadata: u8)
crates/mc173-module/src/block/repeater.rs:46
Functionget_delay_ticks
(metadata: u8)
crates/mc173-server/src/block/repeater.rs:46
Methodget_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
Functionget_entity_light
Calculate the light levels for an entity given its base component.
crates/mc173-module/src/entity/common.rs:99
Functionget_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
Functionget_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
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/pumpkin.rs:8
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/button.rs:9
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/torch.rs:8
Functionget_face
Get facing of the dispenser.
crates/mc173-module/src/block/dispenser.rs:7
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/repeater.rs:8
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/trapdoor.rs:9
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/piston.rs:8
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/lever.rs:10
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/ladder.rs:9
Functionget_face
(metadata: u8)
crates/mc173-module/src/block/stair.rs:8
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/pumpkin.rs:8
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/button.rs:9
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/torch.rs:8
Functionget_face
Get facing of the dispenser.
crates/mc173-server/src/block/dispenser.rs:7
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/repeater.rs:8
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/bed.rs:8
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/trapdoor.rs:9
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/piston.rs:8
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/lever.rs:10
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/ladder.rs:9
Functionget_face
(metadata: u8)
crates/mc173-server/src/block/stair.rs:8
Functionget_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
Functionget_fire_burn
(id: u8)
crates/mc173-server/src/block/material.rs:388
Functionget_fire_flammability
(id: u8)
crates/mc173-server/src/block/material.rs:368
Methodget_height
(&self, pos: IVec3)
crates/mc173-server/src/chunk.rs:86
Functionget_kind
(metadata: u8)
crates/mc173-server/src/block/sapling.rs:15
Functionget_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
Functionget_light_opacity
Get the light opacity of a block given its id.
crates/mc173-server/src/block/material.rs:205
Methodget_light_update_count
(&self)
crates/mc173-module/src/world.rs:627
Functionget_piston_policy
Get piston policy of a given block.
crates/mc173-server/src/block/material.rs:404
Functionget_post_yaw
(metadata: u8)
crates/mc173-server/src/block/sign.rs:31
Methodget_seed
(&self)
crates/mc173-module/src/rand.rs:81
Functionget_slipperiness
The block slipperiness for entities.
crates/mc173-module/src/block/material.rs:232
Functionget_slipperiness
The block slipperiness for entities.
crates/mc173-server/src/block/material.rs:238
Methodget_stack
Get the stack in this slot.
crates/mc173-server/src/player.rs:1653
Functionget_wall_face
(metadata: u8)
crates/mc173-server/src/block/sign.rs:8
Methodget_weather
Get the current weather in the world.
crates/mc173-module/src/world.rs:290
Methodhandle
Handle an incoming packet from this player.
crates/mc173-server/src/player.rs:148
Functionhandle_break_block
(entity_id: u32, packet: StdbBreakBlockPacket)
crates/module/src/lib.rs:569
Methodhandle_break_block
(connection_id: u64, packet: proto::BreakBlockPacket)
crates/mc173-server/src/player.rs:280
Methodhandle_chat
Handle a chat message packet.
crates/mc173-server/src/player.rs:196
Methodhandle_disconnect
Just disconnect itself, this will produce a lost event from the network.
crates/mc173-server/src/player.rs:187
Methodhandle_event
( &self, event: Event, _reducer_callbacks: &mut ReducerCallbacks, _state: Arc<
crates/mc173-server/src/autogen/mod.rs:269
Functionhandle_look
(entity_id: u32, packet: StdbLookPacket)
crates/module/src/lib.rs:708
Methodhandle_look
Handle a look packet.
crates/module/src/player.rs:281
Methodhandle_look
Handle a look packet.
crates/mc173-server/src/player.rs:224
Functionhandle_position
(entity_id: u32, packet: StdbPositionPacket)
crates/module/src/lib.rs:699
Methodhandle_position
Handle a position packet.
crates/module/src/player.rs:276
Methodhandle_position
Handle a position packet.
crates/mc173-server/src/player.rs:208
Functionhandle_position_look
(entity_id: u32, packet: StdbPositionLookPacket)
crates/module/src/lib.rs:717
Methodhandle_position_look
Handle a position and look packet.
crates/module/src/player.rs:286
Methodhandle_position_look
Handle a position and look packet.
crates/mc173-server/src/player.rs:237
Methodhandle_resubscribe
( &self, new_subs: TableUpdate, client_cache: &mut ClientCache, callbacks: &mu
crates/mc173-server/src/autogen/mod.rs:295
Methodhandle_table_update
( &self, table_update: TableUpdate, client_cache: &mut ClientCache, callbacks:
crates/mc173-server/src/autogen/mod.rs:156
Methodhas_active_power
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/power.rs:17
Functionhas_fluids_colliding
Return true if the given bounding box is colliding with any fluid (given material).
crates/mc173-module/src/entity/common.rs:46
Methodhas_rain
(self)
crates/mc173-module/src/biome.rs:34
Methodhas_snow
(self)
crates/mc173-module/src/biome.rs:46
Methodid_to_x_y
(id: u32)
crates/mc173-module/src/stdb/chunk.rs:63
Methodid_to_x_y
(id: u32)
crates/mc173-server/src/chunk.rs:75
Methodinc_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
Methodinflate
Expand this bounding box in all direction by the given delta.
crates/mc173-server/src/geom.rs:67
Functioninit
(context: ReducerContext)
crates/module/src/lib.rs:51
Functioninit
()
crates/mc173-module/src/stdb/weather.rs:14
Functioninit
(nano_time: u128)
crates/mc173-module/src/stdb/rand.rs:11
Methodinit_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
Methodinsert_terrain
Insert a terrain chunk that have just been returned by a terrain worker.
crates/mc173-module/src/storage.rs:398
Methodintersects
Return true if this bounding box intersects with the given one.
crates/mc173-server/src/geom.rs:108
Methodintersects_x
Return true if this bounding box intersects with the given one on the X axis.
crates/mc173-module/src/geom.rs:114
Methodintersects_x
Return true if this bounding box intersects with the given one on the X axis.
crates/mc173-server/src/geom.rs:115
Methodintersects_y
Return true if this bounding box intersects with the given one on the Y axis.
crates/mc173-module/src/geom.rs:119
Methodintersects_y
Return true if this bounding box intersects with the given one on the Y axis.
crates/mc173-server/src/geom.rs:120
Methodintersects_z
Return true if this bounding box intersects with the given one on the Z axis.
crates/mc173-module/src/geom.rs:124
Methodintersects_z
Return true if this bounding box intersects with the given one on the Z axis.
crates/mc173-server/src/geom.rs:125
Methodinvoke_row_callbacks
( &self, reminders: &mut RowCallbackReminders, worker: &mut DbCallbacks, reduc
crates/mc173-server/src/autogen/mod.rs:188
Functionis_active
(metadata: u8)
crates/mc173-module/src/block/button.rs:34
Functionis_active
(metadata: u8)
crates/mc173-server/src/block/button.rs:34
Functionis_active
(metadata: u8)
crates/mc173-server/src/block/lever.rs:41
Methodis_breakable_by_default
(self)
crates/mc173-server/src/block/material.rs:521
Functionis_ext_sticky
(metadata: u8)
crates/mc173-server/src/block/piston.rs:42
Functionis_fluid
Return true if the given block is a fluid.
crates/mc173-module/src/block/material.rs:179
Functionis_fluid
Return true if the given block is a fluid.
crates/mc173-server/src/block/material.rs:185
Methodis_fluid
(self)
crates/mc173-server/src/block/material.rs:494
Functionis_fluid_proof
Return true if the given block can block fluid.
crates/mc173-server/src/block/material.rs:192
Functionis_growing
(metadata: u8)
crates/mc173-module/src/block/sapling.rs:37
Functionis_growing
(metadata: u8)
crates/mc173-server/src/block/sapling.rs:37
Methodis_hard
(self)
crates/mc173-module/src/entity/mod.rs:857
Functionis_head
(metadata: u8)
crates/mc173-server/src/block/bed.rs:46
Methodis_neg
(self)
crates/mc173-module/src/geom.rs:364
Methodis_neg
(self)
crates/mc173-server/src/geom.rs:371
Functionis_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
Functionis_occupied
(metadata: u8)
crates/mc173-module/src/block/bed.rs:33
← previousnext →601–700 of 985, ranked by callers