Juicer visuals

This commit is contained in:
2026-10-25 19:07:27 -03:00
parent 233c518def
commit a28e0b9abb
5 changed files with 174 additions and 16 deletions
+3 -1
View File
@@ -82,7 +82,9 @@ it's drawn on the ground (half a block across, a block's item a quarter), with i
and it's placed by a matrix like a transformed model:
```ts
const stack = block.get_client_data<ItemStack>("item");
import { mat4 } from "gl-matrix";
const stack = block.get_client_data<ItemStack>("stack");
if (stack) {
const item = instances.item(stack);
const lying = mat4.fromTranslation(mat4.create(), [0.5, 0.2, 0.5]);