Version 5.4
This commit is contained in:
15
minecraft/kubejs/server_scripts/mods/The Bumblezone/Tags.js
Normal file
15
minecraft/kubejs/server_scripts/mods/The Bumblezone/Tags.js
Normal file
@@ -0,0 +1,15 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
ServerEvents.tags('item', event => {
|
||||
const saplings = event.get('minecraft:saplings').getObjectIds()
|
||||
const blacklist = Ingredient.of(/productivetrees.*/)
|
||||
saplings.forEach(sapling => {
|
||||
if (!blacklist.test(sapling)) event.add('the_bumblezone:tradeable_saplings', sapling)
|
||||
})
|
||||
|
||||
event.add('megacells:compression_overrides', 'the_bumblezone:pollen_puff')
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
Reference in New Issue
Block a user