Disabling certain parts of CC #2384
-
|
Hi! I recently installed CC Tweaks for my Java 1.21.11 server, and am super excited to see what people do with it. I was wondering though if there is a way to disable certain parts of the mod, like turtles for instance, or at the very least make them uncraftable. My server is run communally and we all kind of decided that while the terminal aspect of the computers is really cool, the automation stuff like turtles is not really our vibe. Appreciate any help I can get, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I think the easiest thing to do here is to make them uncraftable. It should be possible to do this with the "filter" feature of datapacks. I haven't tested this, but I think a datapack with a {
"pack": {
"description": "Disable turtle crafting"
},
"filter": {
"block": [
{
"namespace": "computercraft",
"path": "recipes/turtle_normal.json"
},
{
"namespace": "computercraft",
"path": "recipes/turtle_advanced.json"
},
{
"namespace": "computercraft",
"path": "recipes/turtle_advanced_upgrade.json"
}
]
}
} |
Beta Was this translation helpful? Give feedback.
Ahh, my bad — should be
recipe, notrecipes(was looking at the wrong version, it'srecipesin MC 1.20.1!). I think you also need to set a version range, rather than a single pack version nowadays:{ "pack": { "min_format": 94, "max_format": 95, "description": "Disable turtle crafting" }, "filter": { "block": [ { "namespace": "computercraft", "path": "^recipe/turtle_(normal|advanced|advanced_upgrade)\\.json$" } ] } }