minecraft-addon-tools / minecraft-scripting-types

TypeScript typings for the Minecraft Scripting API
Other
44 stars 3 forks source link

wrong return type getBlocks #7

Open karikera opened 5 years ago

karikera commented 5 years ago

/// expected getBlocks(tickingArea: ITickingArea, xMin: number, yMin: number, zMin: number, xMax: number, yMax: number, zMax: number): IBlock[][][] | null;

/// actually getBlocks(tickingArea: ITickingArea, xMin: number, yMin: number, zMin: number, xMax: number, yMax: number, zMax: number): IBlock[][] | null;

AtomicBlom commented 5 years ago

Sorry, I haven't missed this issue, I've just been caught a little off guard by the difficulty in fixing it in https://github.com/minecraft-addon-tools/minecraft-documentation-extractor

I thought I had designed the data structures to handle it, but apparently not.