#Disable a flower from generating?

15 messages · Page 1 of 1 (latest)

meager depot
#

Is it possible to prevent biomesoplenty:pink_daffodil from generating? I am also not sure how to "disable" this item from the game. Thank you!

void loomBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

knotty steppe
#

I assume you can just disable the feature

drowsy steepleBOT
#

You can add and remove worldgen features with KubeJS, and the wiki has pages on those!

drowsy steepleBOT
meager depot
# knotty steppe I assume you can just disable the feature

Thank you for the reply. To confirm I am on 1.19.2 and Forge 43.2.8

However, I'm not entirely sure what the syntax should look like in this case (since the examples show ores, or adding things)

Would I use this?

  event.removeFeatureById(somethingHere?, ['biomesoplenty_pinkdaffodil'])
})```
azure pebble
#

An easy fix would be to use the BlockSwap mod

knotty steppe
#

For disabling the item, I assume you want to hide it from JEI/REI and remove any recipes it has, so you can just make a client script that hides it from JEI/REI and then do event.remove({}) for the recipes.

#

For me, I just make a script with priority over everything and make a tag called custom:disabled and make a client script that hides items from whatever and a server script to disable the recipes.

meager depot
#

Do you know what to enter after the item? /place feature biomesoplenty:pink_daffodil [<pos>] (not sure what the syntax for position is)

meager depot
knotty steppe
#

You shouldn't need anything after that. Just get whatever the feature ID is from the command and then toss it in the code. If it's biomesoplenty:pink_daffodil, then try this:

WorldgenEvents.remove(event => { //This is a Startup script
event.removeFeatureById('vegetal_decoration', ['biomesoplenty:pink_daffodil'])
})

where would that first script be?
Make a file, throw it in server_scripts. Make this script:

//priority: 9999
ServerEvents.tags('item', event =>{
event.add('custom:disabled', 'modid:someitem')
})
//In the same file, put:
ServerEvents.recipes(event =>{
event.remove({output: '#custom:disabled'})
console.log('Execute Order 66') //Cause why not
})

For hiding from JEI, make a file and throw it in client_scripts:

//priority: Something under 9999
JEIEvents.hideItems(event =>{
event.hide('#custom:disabled')
})
#

Hope this helps

meager depot
#

Thank you, yes this is perfect!