#enchanting_table and anvil disable crafting help
1 messages · Page 1 of 1 (latest)
@lavish hare
okay, so like Silla said, you can do it using a filter
not sure how far you are, if you even have a data pack set up currently
didn't read all the messages
what
I think NirogenDioxide was trying to explain stuff
I just need to disable crafting an anvil and an enchanting table
but ive tried a lot of different things and it hasnt been working out
on both the shockbyte side of things and filezilla side of things
crafting or just disable the item
can't you just clear @a people inventory of the items
right but i have the plugin EssentialsX so the @a doesnt work
datapack don't care about essentialsx
it uses default minecraft commands
I believe
in my experience it has
plus you can just
minecraft:clear
every time ive tried that is says it cant find the player
Okay, you create a folder inside of the datapacks folder. You call it however you want, this is the name of your crafting table
In that folder with the name you gave it, create a file called pack with the extension .mcmeta, this file should look like this:
{
"pack": {
"pack_format": 10,
"description": "Some description"
}
}
Now minecraft should recognise the data pack.
Then you can add a filter to that pack.mcmeta
did u do /minecraft:clear @a anvil ?
or in essentials
clear ** anvial
that can block crafting recipes
make this the receipe
put it in the recipes folder
and name it anvil.json
and enchanting_table.json
and whatever else
{
"pack": {
"pack_format": 10,
"description": "Some description"
},
"filter": {
"block": [
{
"namespace": "minecraft",
"path": "recipes/anvil.json"
},
{
"namespace": "minecraft",
"path": "recipes/enchanting_table.json"
}
]
}
}
This is how your complete pack.mcmeta looks
okay i got this
you can check if minecraft recognized this by using /datapack list ingame
also, this doesn't have to be a zip file, it can also be a folder
ah yeah this is what i sent but i forgot .json :P
i looked at a project of mine where i have filters
@scenic verge does it work for you?
Sorry I’m not home right now, I’ll @ you when I do and tell you
What are "filters" ?
They were released in like 1.19 and they let you disable files from other datapacks - in this case, it disables the recipe for enchanting table and anvil
Oh interesting. They will be better to remove vanilla feature than emptying the files
can someone hop on a call with me and make sure im doing this correctly? @wheat lava @azure shadow @fringe cobalt @lavish hare
they were all people that were in this conversation beforehand..
yes but unless they agreed to it please do not ping them
?
unless they agreed to be pinged don't ping them
Eat ma ass
That’s not how to get people to help you.