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,34 @@
console.info("[SOCIETY] neptuniumHoe.js loaded");
BlockEvents.rightClicked(
[
"dew_drop_farmland_growth:weak_fertilized_farmland",
"dew_drop_farmland_growth:strong_fertilized_farmland",
"dew_drop_farmland_growth:hyper_fertilized_farmland",
"dew_drop_farmland_growth:bountiful_fertilized_farmland",
"dew_drop_farmland_growth:low_quality_fertilized_farmland",
"dew_drop_farmland_growth:high_quality_fertilized_farmland",
"dew_drop_farmland_growth:pristine_quality_fertilized_farmland",
],
(e) => {
const { item, player, server, block } = e;
if (item.id === "farm_and_charm:pitchfork") {
const blockId = String(block.getId());
if (0.5 < Math.random()) {
block.popItemFromFace(
blockId.substring(0, blockId.length - 10) + "r",
"up"
);
}
server.runCommandSilent(
`playsound minecraft:item.armor.equip_leather block @a ${player.x} ${player.y} ${player.z}`
);
server.runCommandSilent(
`playsound minecraft:item.hoe.till block @a ${player.x} ${player.y} ${player.z}`
);
player.swing();
block.set("minecraft:dirt");
e.cancel();
}
}
);