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,17 @@
console.info("[SOCIETY] disableSpawner.js loaded");
BlockEvents.rightClicked("minecraft:spawner", (e) => {
if (e.player.isCreative()) return;
if (e.item.id.includes("spawn_egg")) e.cancel();
});
BlockEvents.rightClicked((e) => {
if (e.player.isCreative()) return;
if (
e.level.dimension === "society:skull_cavern" &&
e.block.hasTag("minecraft:rails") &&
e.item.getId() == "create:minecart_contraption"
) {
e.cancel();
}
});