#how to disable fabricae ex nihilo salt collection?
24 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
I still have no idea what's wrong
BlockEvents.rightClicked('minecraft:sand', event => {
if (event.item.id == 'minecraft:glass_bottle') {
event.cancel()
}
// return
// event.cancel() event.block.id == 'minecraft:sand' &&
})
I still haven't found what I need to do it
probably silly mods not listening to event results
check the mods code
oh, and alse
??ctc
The thing you are trying to do can probably be achieved using the mods config, without anything extra!
Most mods have at least one config located at instance/config.
Some mods also have serverconfigs, found at instance/saves/worldname/serverconfig. You can copy any files in here to the defaultconfigs folder to automatically apply them to new worlds!
it sounds like it's been hardcoded
mixin 
welcome to WHY DO PEOPLE MIXIN WHEN THERE ARE PERFECTLY FINE EVENTS
if cancelling the event doesnt work there is nothing you can do
you should probably make an issue to add a config option to disable it
or generally a way to disable it
ServerEvents.recipes(event => {
event.custom({
"type": "lychee:block_interacting",
"item_in": {
"item": "minecraft:glass_bottle"
},
"block_in": "minecraft:sand",
"post": [
{
"type": "prevent_default"
}
]
})
})
works if you are close enough to have the block outline show
but there is a tiny bit of distance where the block outline doesn't show
but you can collect salt
it's planned for 1.20 versions
also using the event
I think I'll have to make do with that and a recipe to empty salt bottles
nooooooooo
create deployers still collect salt with the lychee recipe
I can make the salt useless easily
but it's not the same as completely disabling it