Policy (Woot)
Description
Controls what entities can be farmed for what items via an entity blacklist, mod blacklist, item output blacklist, item output mod blacklist, and a mob whitelist.
Warning
If the whitelist contains any entities, any entities not in the whitelist are banned (rendering EntityModBlacklist and EntityBlacklist superfluous). GenerateOnlyList contains all entities which cannot be captured via shard, meaning the controller would need to be obtained a different way.
Identifier
The identifier mods.woot.policy will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
mods.woot.policy/* Used as page default */
mods.woot.PolicyAdding Recipes
Prevents the given item from being dropped by any entity:
groovymods.woot.policy.addToItemBlacklist(ItemStack)Prevents the given entity from being captured and spawned:
groovymods.woot.policy.addToEntityBlacklist(String)Prevents the given entity from being captured and spawned:
groovymods.woot.policy.addToEntityBlacklist(WootMobName)Prevents all entities not on the list from being spawned, overriding EntityBlacklist and EntityModBlacklist:
groovymods.woot.policy.addToEntityWhitelist(String)Prevents all entities not on the list from being spawned, overriding EntityBlacklist and EntityModBlacklist:
groovymods.woot.policy.addToEntityWhitelist(WootMobName)Prevents entities from being captured via shard, but doesn't prevent spawning:
groovymods.woot.policy.addToGenerateOnlyList(String)Prevents entities from being captured via shard, but doesn't prevent spawning:
groovymods.woot.policy.addToGenerateOnlyList(WootMobName)Prevents items from the given mod from being dropped by any entity:
groovymods.woot.policy.addToItemModBlacklist(String)Prevents entities from the given mod from being captured and spawned:
groovymods.woot.policy.addToEntityModBlacklist(String)
Example
mods.woot.policy.addToItemBlacklist(item('minecraft:gunpowder'))
mods.woot.policy.addToEntityBlacklist('minecraft:witch')
mods.woot.policy.addToEntityWhitelist('minecraft:zombie')
mods.woot.policy.addToGenerateOnlyList('minecraft:skeleton')
mods.woot.policy.addToItemModBlacklist('woot')
mods.woot.policy.addToEntityModBlacklist('minecraft')Removing Recipes
Removes the given item from the ItemBlacklist:
groovymods.woot.policy.removeFromItemBlacklist(ItemStack)Removes the given entity from the EntityBlacklist:
groovymods.woot.policy.removeFromEntityBlacklist(String)Removes the given entity from the EntityBlacklist:
groovymods.woot.policy.removeFromEntityBlacklist(WootMobName)Removes given entity from the EntityWhitelist:
groovymods.woot.policy.removeFromEntityWhitelist(String)Removes given entity from the EntityWhitelist:
groovymods.woot.policy.removeFromEntityWhitelist(WootMobName)Removes the given entity from the GenerateOnlyList:
groovymods.woot.policy.removeFromGenerateOnlyList(String)Removes the given entity from the GenerateOnlyList:
groovymods.woot.policy.removeFromGenerateOnlyList(WootMobName)Removes the given mod from the ItemModBlacklist:
groovymods.woot.policy.removeFromItemModBlacklist(String)Removes the given mod from the EntityModBlacklist:
groovymods.woot.policy.removeFromEntityModBlacklist(String)Removes all items from the ItemBlacklist:
groovymods.woot.policy.removeAllFromItemBlacklist()Removes all entities from the EntityBlacklist:
groovymods.woot.policy.removeAllFromEntityBlacklist()Removes all entities from the EntityWhitelist:
groovymods.woot.policy.removeAllFromEntityWhitelist()Removes all entities from the GenerateOnlyList:
groovymods.woot.policy.removeAllFromGenerateOnlyList()Removes all mods from the ItemModBlacklist:
groovymods.woot.policy.removeAllFromItemModBlacklist()Removes all mods from the EntityModBlacklist:
groovymods.woot.policy.removeAllFromEntityModBlacklist()Removes all registered recipes:
groovymods.woot.policy.removeAll()
Example
mods.woot.policy.removeFromItemBlacklist(item('minecraft:sugar'))
mods.woot.policy.removeFromEntityBlacklist('twilightforest:naga')
mods.woot.policy.removeFromEntityWhitelist('minecraft:wither_skeleton')
mods.woot.policy.removeFromGenerateOnlyList('minecraft:wither_skeleton')
mods.woot.policy.removeFromItemModBlacklist('minecraft')
mods.woot.policy.removeFromEntityModBlacklist('botania')
mods.woot.policy.removeAllFromItemBlacklist()
mods.woot.policy.removeAllFromEntityBlacklist()
mods.woot.policy.removeAllFromEntityWhitelist()
mods.woot.policy.removeAllFromGenerateOnlyList()
mods.woot.policy.removeAllFromItemModBlacklist()
mods.woot.policy.removeAllFromEntityModBlacklist()
mods.woot.policy.removeAll()