add first patch

This commit is contained in:
2026-07-31 10:34:32 +09:00
parent 03aac2e45e
commit b1cbc6c78d
6390 changed files with 547430 additions and 0 deletions
@@ -0,0 +1,21 @@
console.info("[SOCIETY] grapevinePot.js loaded");
BlockEvents.rightClicked("vinery:grapevine_pot", (e) => {
const { block } = e;
const properties = block.getProperties();
if (properties.get("storage") == "5") {
if (properties.get("type").toString().includes("red")) {
block.set(block.id, {
stage: "3",
storage: "6",
type: "red",
});
} else if (properties.get("type").toString().includes("white")) {
block.set(block.id, {
stage: "3",
storage: "6",
type: "white",
});
}
}
});