Hand crank and shafts
This commit is contained in:
@@ -242,6 +242,9 @@ export interface ServerWorld {
|
||||
// shape covers the whole face. false for air, plants, water and the sides of a slab
|
||||
is_face_sturdy(x: number, y: number, z: number, face: Face): boolean;
|
||||
get_block_data<T>(x: number, y: number, z: number): T | undefined;
|
||||
// the block the way its components' handlers get it, for changing another block's data or client data, like
|
||||
// minecraft's getBlockEntity. undefined for air
|
||||
get_block_ref(x: number, y: number, z: number): BlockRef | undefined;
|
||||
// BlockRef.set_ticking for a block, for waking one from somewhere else, like a machine getting something to work on
|
||||
set_block_ticking(x: number, y: number, z: number, ticking: boolean): void;
|
||||
// the item a block with item_display shows on top of it, like a block entity renderer: its "item" client data, see
|
||||
|
||||
Reference in New Issue
Block a user