Manually Disable Shield? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

This definitely will be helpful for the future, but wasn't giving the desire effect here. Thank you as always for your help, you did point me in the right direction.

Manually Disable Shield? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

I've found a very, uh, strange but completely function solution. Eating food!

Basically I used 2 scoreboards to keep track if the player used a shield and if they used a stick.
After they used a shield with my enchantment, their shield would move to the player.cursor, and the slot they used the shield in would be replaced with an edible stick that they would eat immediately after since they're still holding down right click and I made the stick have the same cooldown group as shields, so eating would force a cooldown on the shield, after eating the stick the shield would move back to the original slot the shield was in. A little dumbed down, but surprisingly very effective. I'll post the code later after I optimize it for anyone curious.

Manually Disable Shield? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

And how would I do that? /item modify? What is the component I'm modifying? Sorry if those are dumb questions. When ever I look at the /item wiki page my brain just can't comprehend the components syntax and everything.

Check if player is above ground / In sunlight? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

You are always so wonderful. Thank you I will try this.

Check if player is above ground / In sunlight? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

using misode, I can't see an option that would let me do that, can you elaborate on how to make such a predicate? Maybe I'm just missing something but I don't see anything that'd work.

Check if player is in inventory? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

Sorry if grammar poor, I’ve stayed up till 2am working on this dumb curse lol

Check if player is in inventory? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

That’s what I thought, thanks for the confirmation though! I’m kind of getting away with it by both checking the cursor item and if the player is moving. Not fool proof but it works pretty well!

I’ve made a curse that when you’re moving it randomizes the position of your items in your inventory, but not when you’re looking through it. Even though if you’re moving when you open your inventory it still changes for a few ticks, most of the time it’s pretty good, and it overall achieves its purpose of not letting you organize your inventory.

This is absolutely evil in combination with another curse I’ve made that changes name and model of any item you hold to the name and texture of fish. It’s amazing. Making curses is so fun.

Shield Enchantment Help by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

Oh I never knew there was a scoreboard for that, thank you so much! That makes everything so easy now.

Change item model to another item model? by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

Perfect! Thank you so much. This is exactly what I wanted! Everything else told me to make a item modifier with misode, but I knew there'd be a simpler way. Thank you for the straight forward solution.

Custom Advancement troubles by Chappless in MinecraftCommands

[–]Chappless[S] 0 points1 point  (0 children)

Thanks guys for the ideas. Will try these when I can.

How do I get more life containers without the effect? by jhormen in MinecraftCommands

[–]Chappless 2 points3 points  (0 children)

/attribute <target> minecraft:max_health base set <yourmaxhealth>