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
Refer to this via any of the following:
mods.woot.policy/* Used as page default */
mods.woot.Policy
Adding Recipes
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 entities from the given mod from being captured and spawned:
groovymods.woot.policy.addToEntityModBlacklist(String)
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 the given item from being dropped by any entity:
groovymods.woot.policy.addToItemBlacklist(ItemStack)
Prevents items from the given mod from being dropped by any entity:
groovymods.woot.policy.addToItemModBlacklist(String)
Example
mods.woot.policy.addToEntityBlacklist('minecraft:witch')
mods.woot.policy.addToEntityModBlacklist('minecraft')
mods.woot.policy.addToEntityWhitelist('minecraft:zombie')
mods.woot.policy.addToGenerateOnlyList('minecraft:skeleton')
mods.woot.policy.addToItemBlacklist(item('minecraft:gunpowder'))
mods.woot.policy.addToItemModBlacklist('woot')
Removing Recipes
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 the given mod from the EntityModBlacklist:
groovymods.woot.policy.removeFromEntityModBlacklist(String)
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 item from the ItemBlacklist:
groovymods.woot.policy.removeFromItemBlacklist(ItemStack)
Removes the given mod from the ItemModBlacklist:
groovymods.woot.policy.removeFromItemModBlacklist(String)
Removes all entities from the EntityBlacklist:
groovymods.woot.policy.removeAllFromEntityBlacklist()
Removes all mods from the EntityModBlacklist:
groovymods.woot.policy.removeAllFromEntityModBlacklist()
Removes all entities from the EntityWhitelist:
groovymods.woot.policy.removeAllFromEntityWhitelist()
Removes all entities from the GenerateOnlyList:
groovymods.woot.policy.removeAllFromGenerateOnlyList()
Removes all items from the ItemBlacklist:
groovymods.woot.policy.removeAllFromItemBlacklist()
Removes all mods from the ItemModBlacklist:
groovymods.woot.policy.removeAllFromItemModBlacklist()
Removes all registered recipes:
groovymods.woot.policy.removeAll()
Example
mods.woot.policy.removeFromEntityBlacklist('twilightforest:naga')
mods.woot.policy.removeFromEntityModBlacklist('botania')
mods.woot.policy.removeFromEntityWhitelist('minecraft:wither_skeleton')
mods.woot.policy.removeFromGenerateOnlyList('minecraft:wither_skeleton')
mods.woot.policy.removeFromItemBlacklist(item('minecraft:sugar'))
mods.woot.policy.removeFromItemModBlacklist('minecraft')
mods.woot.policy.removeAllFromEntityBlacklist()
mods.woot.policy.removeAllFromEntityModBlacklist()
mods.woot.policy.removeAllFromEntityWhitelist()
mods.woot.policy.removeAllFromGenerateOnlyList()
mods.woot.policy.removeAllFromItemBlacklist()
mods.woot.policy.removeAllFromItemModBlacklist()
mods.woot.policy.removeAll()