#How to prevent the use of swords
1 messages · Page 1 of 1 (latest)
I'd imagine setting the attack speed to -1 while holding any sword would work
Until the stage is reached
Idk what mod is that but there is often a way you could detect whatever stages you're after
okay so i tried to make a predicate that checks if the player is holding a sword and if they have a tag i assigned from the gamestages mod but the game wont recognize my predicate
ive tried making the most simple predicate and the game cant see it
no errors in log
literally my predicate rn
{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "equipment": { "mainhand": { "items": "minecraft:beef" } } } }
still doesnt show up in "/execute if predicate " tab autocomplete
its located in datapacks/datapack_name/data/datapack_name/predicate
and its loaded into the world
i can set functions but not predicates
OMG
OMG
ITS PREDICATES
WITH AN S
ARE YOU KIDDING ME
im crashing out
if you're using an older version yea it's with an S
I think 1.19.something made it so the folder is now called "predicate"
rather than "predicates"
1.21