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,12 @@
console.info("[SOCIETY] cancelEntityInteraction.js loaded");
ItemEvents.entityInteracted((e) => {
const { item, player, target } = e;
if (!target.type.includes("item_frame")) {
return;
}
if (item.hasTag('forge:tools/fishing_rods') && item.nbt.toString().includes("bobber")) {
player.tell(Text.translatable("society.item_frame.rod").red());
e.cancel()
}
});