Drygmy

Note

Some scripts on this page require LootJS to function. These scripts will be marked with a LootJS badge.

Additionally, the scripts that utilise LootJS require the below snippet to exist in the same file as them to work.

const DRYGMY_UUID = "[I;1946194541,268914259,-2012236738,1743961897]";
const onlyDrygmy = (builder) =>
builder.matchKiller((entity) => entity.nbt(`{UUID:${DRYGMY_UUID}}`));

Minecraft

Iron Golem

server_scripts

This tweaks removes Iron Golems from the default Drygmy blacklist, allowing a Drygmy Henge to produce iron when an Iron Golem is nearby.

ServerEvents.tags("entity_type", (event) => {
event.remove("ars_nouveau:drygmy_blacklist", ["minecraft:iron_golem"]);
});

Wither

server_scripts LootJS

Withers, and other boss mobs in Minecraft, do not use loot tables to produce their loot. Instead they rely on spawning the loot during the death event, which means that Drygmys are unable to farm loot from these entities.

This tweak creates a special loot table that produces Nether Stars only for Drygmy kills, preventing the double drop on player kill that would occur from a normal loot table.

LootJS.modifiers((event) => {
onlyDrygmy(event.addEntityLootModifier("minecraft:wither")).addLoot(
"minecraft:nether_star",
);
});

Irons Spellbooks

Scrolls

server_scripts LootJS

This tweak removes Irons Spellbooks scrolls from all entity drops in Drygmy farms.

LootJS.modifiers((event) => {
onlyDrygmy(event.addLootTypeModifier(LootType.ENTITY)).removeLoot(
"irons_spellbooks:scroll",
);
});

Netherite Scrap

server_scripts LootJS

This tweak prevents Ancient Knights (irons_spellbooks:citadel_keeper) from dropping Netherite Scrap in Drygmy farms.

LootJS.modifiers((event) => {
onlyDrygmy(
event.addEntityLootModifier("irons_spellbooks:citadel_keeper"),
).removeLoot("minecraft:netherite_scrap");
});

Boss Mobs

server_scripts

This tweak prevents Irons Spellbooks boss mobs from producing any loot in a Drygmy Henge.

ServerEvents.tags("entity_type", (event) => {
event.add("ars_nouveau:drygmy_blacklist", [
"irons_spellbooks:dead_king",
"irons_spellbooks:archevoker",
]);
});

Artifacts

server_scripts

This tweak blacklists Mimics from being farmed in a Drygmy Henge.

ServerEvents.tags("entity_type", (event) => {
event.add("ars_nouveau:drygmy_blacklist", ["artifacts:mimic"]);
});

Occultism

server_scripts

This tweak blacklists all Occultism mobs from being farmed in a Drygmy Henge.

ServerEvents.tags("entity_type", (event) => {
event.add("ars_nouveau:drygmy_blacklist", [/occultism:.+/]);
});

Cataclysm

server_scripts

This tweak blacklists all Cataclysm mobs from being farmed in a Drygmy Henge.

ServerEvents.tags("entity_type", (event) => {
event.add("ars_nouveau:drygmy_blacklist", [/cataclysm:.+/]);
});

Productive Bees

server_scripts

This tweak blacklists all productive bees from being farmed in a Drygmy Henge.

ServerEvents.tags("entity_type", (event) => {
event.add("ars_nouveau:drygmy_blacklist", [/productivebees:.+/]);
});

Apotheosis

Treasure Goblins

server_scripts LootJS

This tweak prevents treasure goblins from being farmable in a Drygmy Henge.

LootJS.modifiers((event) => {
onlyDrygmy(
event.addLootTableModifier("apotheosis:entity/treasure_goblin"),
).removeLoot(/.*/);
});