add first patch
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
console.info("[SOCIETY] disableEggs.js loaded");
|
||||
|
||||
const eggs = [
|
||||
"minecraft:egg",
|
||||
"autumnity:turkey_egg",
|
||||
"untitledduckmod:goose_egg",
|
||||
"untitledduckmod:duck_egg",
|
||||
"farmlife:galliraptor_egg",
|
||||
];
|
||||
EntityEvents.spawned(eggs, (e) => e.cancel());
|
||||
|
||||
ItemEvents.rightClicked(eggs, (e) => {
|
||||
if (!e.player.isCrouching()) e.cancel();
|
||||
});
|
||||
Reference in New Issue
Block a user