Change how targetting liquids work

This commit is contained in:
2026-10-07 17:48:50 -03:00
parent ff53d30a7e
commit b128da0631
13 changed files with 42 additions and 18 deletions
+3
View File
@@ -248,6 +248,9 @@ export interface ItemRegistry<T = unknown | undefined> {
lore?: string;
food?: FoodProperties;
worn?: WornProperties;
// whether players holding it aim at liquids, like buckets and fishing rods. others look through them, so they can
// break and place blocks under water
targets_liquids?: boolean;
components?: Record<string, unknown>;
on_create?(item: ItemStack<T>): void;