Holly
63333a04aa
The items are fully functional apart from picking them up, they are commented out in the MPClient breakBlock function if you want to play with them.
8 lines
No EOL
285 B
TypeScript
8 lines
No EOL
285 B
TypeScript
import AABB from "../AABB";
|
|
import { World } from "../World";
|
|
|
|
export interface IBlockBehaviour {
|
|
neighborBlockChange(world:World, x:number, y:number, z:number, blockId:number): void,
|
|
droppedItem: (blockId:number) => number,
|
|
getBoundingBox: (x:number, y:number, z:number) => AABB,
|
|
} |