MCPcopy Create free account

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

Functions985 in github.com/clockworklabs/spacetimedb-minecraft

↓ 2 callersMethodwrite
(&self, write: &mut impl Write)
crates/mc173-server/src/proto.rs:923
↓ 2 callersFunctionwrite_item_stack
(write: &mut impl Write, item_stack: Option<ItemStack>)
crates/mc173-server/src/proto.rs:1314
↓ 2 callersMethodwrite_java_long
(&mut self, l: i64)
crates/mc173-server/src/io.rs:100
↓ 2 callersFunctionwrite_metadata_list
(write: &mut impl Write, list: &[Metadata])
crates/mc173-server/src/proto.rs:1358
↓ 1 callersMethodcalc_big_tree_layer_size
(&self, leaf_offset: i32, height: i32)
crates/mc173-module/src/gen/tree.rs:300
↓ 1 callersFunctioncalc_chunk_pos
(pos: IVec3)
crates/mc173-server/src/world.rs:39
↓ 1 callersMethodcalc_fluid_flow_cost
Internal function to calculate the flow cost of a fluid toward the given face. If the face is not given, all faces are checked, and the recursive call
crates/mc173-module/src/world/tick.rs:609
↓ 1 callersMethodcalc_ray_trace
Compute an intersection of a ray into this bounding box. If this ray intersects this box, the new vector that hit the first face is returned.
crates/mc173-module/src/geom.rs:203
↓ 1 callersMethodcan_break
Check if an item (given its id) can break a block without speed penalties and loose the items.
crates/mc173-module/src/world/break.rs:62
↓ 1 callersMethodcan_place_cactus
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:78
↓ 1 callersMethodcan_place_chest
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:99
↓ 1 callersMethodcan_place_door
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:125
↓ 1 callersMethodcan_place_fire
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:129
↓ 1 callersMethodcan_place_sugar_canes
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/place.rs:87
↓ 1 callersMethodclear
(&mut self)
crates/mc173-server/src/geom.rs:499
↓ 1 callersFunctionconnect
Connect to a database named `db_name` accessible over the internet at the URI `spacetimedb_uri`. If `credentials` are supplied, they will be passed t
crates/mc173-server/src/autogen/mod.rs:385
↓ 1 callersMethodconsume
If there is a selected recipe, consume the recipe items from the given inventory, this inventory should be coherent with the one that selected this re
crates/mc173-server/src/craft.rs:47
↓ 1 callersMethodcontains_chunk
Return true if a given chunk is present in the world.
crates/mc173-module/src/world.rs:422
↓ 1 callersMethodcontains_xy
Return true if the point is contained in this bounding box on X/Y axis only.
crates/mc173-module/src/geom.rs:148
↓ 1 callersMethodcontains_xy
Return true if the point is contained in this bounding box on X/Y axis only.
crates/mc173-server/src/geom.rs:149
↓ 1 callersMethodcontains_xz
Return true if the point is contained in this bounding box on X/Z axis only.
crates/mc173-module/src/geom.rs:142
↓ 1 callersMethodcontains_xz
Return true if the point is contained in this bounding box on X/Z axis only.
crates/mc173-server/src/geom.rs:143
↓ 1 callersMethodcontains_yz
Return true if the point is contained in this bounding box on Y/Z axis only.
crates/mc173-module/src/geom.rs:136
↓ 1 callersMethodcontains_yz
Return true if the point is contained in this bounding box on Y/Z axis only.
crates/mc173-server/src/geom.rs:137
↓ 1 callersMethoddisconnect
(&self, client: NetworkClient)
crates/mc173-server/src/net.rs:135
↓ 1 callersMethodensure_pending_point
Ensure that a point (given its index) is present in the pending list.
crates/mc173-module/src/path.rs:185
↓ 1 callersMethodentity_kind
Get the generic entity kind from this base entity kind.
crates/mc173-module/src/entity/mod.rs:763
↓ 1 callersMethodfind_new_output_stack
Internal function to compute the new recipe depending on the current input item. None is returned if the input stack is empty, if no recipe can be fou
crates/mc173-module/src/block_entity/furnace.rs:38
↓ 1 callersMethodfind_path
Find a path in the world from on position to another, with a given maximum distance, if no path can be found none is returned. The result also depends
crates/mc173-module/src/path.rs:215
↓ 1 callersMethodfind_path_options
Find path options around the given 'from' position, with a maximum distance.
crates/mc173-module/src/path.rs:158
↓ 1 callersFunctionfind_smelting_output
Find a smelting recipe output from given input item/damage.
crates/mc173-module/src/smelt.rs:9
↓ 1 callersFunctionfrom_id
Get an item from its numeric id.
crates/mc173-server/src/item/mod.rs:142
↓ 1 callersMethodgen_2d_point
Get the noise value at given 2D coordinates.
crates/mc173-module/src/gen/noise.rs:176
↓ 1 callersMethodgen_3d_point
Get the noise value at given 3D coordinates.
crates/mc173-module/src/gen/noise.rs:136
↓ 1 callersMethodgen_biomes
Generate a biome map for the chunk and store it in the chunk data.
crates/mc173-module/src/gen/overworld.rs:187
↓ 1 callersMethodgen_carving
Generate chunk carving (only caves for beta 1.7.3).
crates/mc173-module/src/gen/overworld.rs:504
↓ 1 callersMethodgen_chest_stack
(&self, rand: &mut JavaRandom)
crates/mc173-module/src/gen/dungeon.rs:29
↓ 1 callersMethodgen_features
(&self, cx: i32, cz: i32, mut world: &mut StdbWorld, state: &mut Self::State, cache: &mut ChunkCache)
crates/mc173-module/src/gen/overworld.rs:535
↓ 1 callersFunctiongen_seed
Generate a new seed in the same way as `java.f.Random` (same constants).
crates/mc173-module/src/rand.rs:25
↓ 1 callersMethodgen_surface
Generate the primitive terrain of the chunk.
crates/mc173-module/src/gen/overworld.rs:396
↓ 1 callersMethodgen_terrain
Generate the primitive terrain of the chunk.
crates/mc173-module/src/gen/overworld.rs:219
↓ 1 callersMethodgenerate
(&mut self, world: &mut StdbWorld, pos: IVec3, rand: &mut JavaRandom, cache: &mut ChunkCache)
crates/mc173-module/src/gen/tree.rs:44
↓ 1 callersFunctiongenerate_chunk
(x: i32, z: i32)
crates/module/src/lib.rs:503
↓ 1 callersFunctiongenerate_chunks
(from_x: i32, from_z: i32, to_x: i32, to_z: i32)
crates/mc173-server/src/autogen/generate_chunks_reducer.rs:28
↓ 1 callersMethodgenerate_from
Internal function to generate a cave from a chunk and modify the chunk if that cave come in.
crates/mc173-module/src/gen/cave.rs:53
↓ 1 callersMethodgenerate_from_sapling
Special function for generating a tree from its sapling, this ensure that the sapling remains is the generation fails. This implementation also pass w
crates/mc173-module/src/gen/tree.rs:542
↓ 1 callersMethodget
(&self)
crates/mc173-module/src/util.rs:25
↓ 1 callersFunctionget_actual_distance
(metadata: u8)
crates/mc173-server/src/block/fluid.rs:47
↓ 1 callersMethodget_biome
Get the biome at some position (Y component is ignored).
crates/mc173-server/src/world.rs:151
↓ 1 callersMethodget_block_colliding_box
Get the colliding box for a block, this returns a single bounding box that is an union between all boxes returned by [`iter_block_colliding_boxes`] it
crates/mc173-module/src/world/bound.rs:63
↓ 1 callersMethodget_block_light
(&self, pos: IVec3)
crates/mc173-server/src/chunk.rs:93
↓ 1 callersMethodget_block_overlay_box
Get the overlay box of the block, this overlay is what should be shown client-side around the block and where the player can click. Unlike colliding b
crates/mc173-module/src/world/bound.rs:126
↓ 1 callersMethodget_block_power_from
Get the power of a block that would be indirectly powered.
crates/mc173-module/src/world/power.rs:75
↓ 1 callersMethodget_break_duration
Get the minimum ticks duration required to break the block given its id.
crates/mc173-module/src/world/break.rs:25
↓ 1 callersFunctionget_break_hardness
Get the break hardness of a block, the block hardness is a value that defines the time a player need to hit a block before breaking. When the player's
crates/mc173-server/src/block/material.rs:249
↓ 1 callersMethodget_break_speed
Get the speed multiplier for breaking a given block with a given item.
crates/mc173-module/src/world/break.rs:118
↓ 1 callersFunctionget_burn_ticks
Get burn time of the given item id, returning 0 if the given item id is not a fuel.
crates/mc173-module/src/smelt.rs:19
↓ 1 callersMethodget_button_power_from
(&mut self, face: Face, metadata: u8)
crates/mc173-module/src/world/power.rs:125
↓ 1 callersFunctionget_delay
(metadata: u8)
crates/mc173-module/src/block/repeater.rs:33
↓ 1 callersFunctionget_delay
(metadata: u8)
crates/mc173-server/src/block/repeater.rs:33
↓ 1 callersFunctionget_distance
(metadata: u8)
crates/mc173-server/src/block/fluid.rs:20
↓ 1 callersFunctionget_face
(metadata: u8)
crates/mc173-module/src/block/door.rs:8
↓ 1 callersFunctionget_face
(metadata: u8)
crates/mc173-server/src/block/door.rs:8
↓ 1 callersFunctionget_fire_flammability
(id: u8)
crates/mc173-module/src/block/material.rs:357
↓ 1 callersMethodget_height
(&self, pos: IVec3)
crates/mc173-module/src/chunk.rs:180
↓ 1 callersMethodget_height
Get saved height of a chunk column, Y component is ignored in the position. The returned height is a signed 32 bit integer, but the possible value is
crates/mc173-server/src/world.rs:111
↓ 1 callersFunctionget_kind
(metadata: u8)
crates/mc173-module/src/block/sapling.rs:15
↓ 1 callersMethodget_lever_power_from
(&mut self, face: Face, metadata: u8)
crates/mc173-module/src/world/power.rs:113
↓ 1 callersMethodget_light
Get light level at the given position, in range 0..16.
crates/mc173-server/src/world.rs:122
↓ 1 callersMethodget_mut
(&mut self, face: Face)
crates/mc173-server/src/geom.rs:646
↓ 1 callersMethodget_passive_power_from
Get the passive power of a block's face.
crates/mc173-module/src/world/power.rs:50
↓ 1 callersMethodget_redstone_power_from
(&mut self, pos: IVec3, face: Face, metadata: u8, cache: &mut ChunkCache)
crates/mc173-module/src/world/power.rs:155
↓ 1 callersMethodget_redstone_torch_power_from
(&mut self, face: Face, metadata: u8)
crates/mc173-module/src/world/power.rs:145
↓ 1 callersMethodget_repeater_power_from
(&mut self, face: Face, metadata: u8)
crates/mc173-module/src/world/power.rs:137
↓ 1 callersMethodget_sky_light
(&self, pos: IVec3)
crates/mc173-server/src/chunk.rs:100
↓ 1 callersMethodget_time
Get the world time, in ticks.
crates/mc173-module/src/world.rs:280
↓ 1 callersFunctiongrad2
(value: u16, x: f64, z: f64)
crates/mc173-module/src/gen/noise.rs:441
↓ 1 callersMethodhandle_accept
Handle new client accepted by the network.
crates/mc173-server/src/server.rs:96
↓ 1 callersMethodhandle_client
Internal function to handle a polling event from a client. This function doesn't generate errors, if errors happen they are pushed as client events. T
crates/mc173-server/src/net.rs:322
↓ 1 callersMethodhandle_client_disconnect
(&mut self, token: Token)
crates/mc173-server/src/net.rs:463
↓ 1 callersMethodhandle_client_read
Handle a readable client event. This return false if the global loop should stop. If this internal function return an I/O error, it should be consider
crates/mc173-server/src/net.rs:350
↓ 1 callersMethodhandle_client_send
Internal function to send a packet to the given client. If an error is returned, it should be considered critical for the client, and the client shoul
crates/mc173-server/src/net.rs:475
↓ 1 callersFunctionhandle_command
Handle a command and execute it.
crates/mc173-server/src/command.rs:26
↓ 1 callersMethodhandle_handshake
Handle a handshake from a client that is still handshaking, there is no restriction.
crates/mc173-server/src/server.rs:160
↓ 1 callersMethodhandle_handshaking
Handle a packet for a client that is in handshaking state.
crates/mc173-server/src/server.rs:147
↓ 1 callersMethodhandle_listener
Internal function to handle a readable polling event from the TCP listener stream.
crates/mc173-server/src/net.rs:279
↓ 1 callersMethodhandle_login
Handle a login after handshake.
crates/mc173-server/src/server.rs:167
↓ 1 callersMethodhandle_login_result
(&mut self, connection_id: u64)
crates/mc173-server/src/server.rs:213
↓ 1 callersMethodhandle_lost
Handle a lost client.
crates/mc173-server/src/server.rs:103
↓ 1 callersMethodhandle_packet
(&mut self, client: NetworkClient, packet: InPacket)
crates/mc173-server/src/server.rs:119
↓ 1 callersMethodhandle_player_join
Handle a player joining this world.
crates/module/src/world.rs:296
↓ 1 callersMethodhandle_player_leave
Handle a player leaving this world, this should remove its entity. The `lost` argument indicates if the player is leaving because of a lost connection
crates/module/src/world.rs:344
↓ 1 callersMethodhas_active_power_from
(&mut self, pos: IVec3, face: Face, cache: &mut ChunkCache)
crates/mc173-module/src/world/power.rs:29
↓ 1 callersMethodhas_passive_power
(&mut self, pos: IVec3, cache: &mut ChunkCache)
crates/mc173-module/src/world/power.rs:23
↓ 1 callersMethodinc_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-module/src/item/mod.rs:273
↓ 1 callersFunctioninit_tracing
Initialize tracing to output into the console.
crates/mc173-server/src/main.rs:445
↓ 1 callersFunctioninit_world
Initialize the world by ensuring that every entity is currently tracked. This method can be called multiple time and should be idempotent.
crates/module/src/lib.rs:440
↓ 1 callersMethodinvalidate
Invalid the value at the given index, therefore removing it from any tick linked list. If it is currently being updated
crates/mc173-module/src/world.rs:2117
↓ 1 callersMethodis_block_opaque_around
Check is there are at least one opaque block around horizontally.
crates/mc173-module/src/world/place.rs:215
↓ 1 callersMethodis_breakable_by_default
(self)
crates/mc173-module/src/block/material.rs:465
← previousnext →201–300 of 985, ranked by callers