Jump to content

Unbreakable


st3ve_3
 Share

Recommended Posts

1 hour ago, st3ve_3 said:

Hi i was wondering for my server how do i make the tools unbreakable is it a skript for that 🙂 ?

on break:
  fix player's tool

on damage:
  fix attacker's tool

  • Like 2

I make skripts... k.

Link to comment
Share on other sites

On 5/4/2020 at 9:33 AM, st3ve_3 said:

what do i do with that im noob sry, cuase i did put that in the skript but didnt work

 

do

on item damage:

  cancel event

it should cancel any item damage

 

 

Discord -- Boxmonk#7877

Edited by Boxmonkey
Link to comment
Share on other sites

give player [Item] named "[Name]" with lore "[Lore 1]", "[Lore 2]" and "[Lore 3]" with nbt "{Unbreakable:1,HideFlags:63}"

NBT Unbreakable will make it unbreakable and NBT HideFlags:63 hides all flags like: "Unbreakable" and "When in main hand:"

 

EDIT: I think you'll need SkBee

Edited by ImMeh

211985133_Itsishowilive.png.3b28465ce6c9787eb530bbd5ad2549f9.png

Link to comment
Share on other sites

Dude, legit, all you need, is

give player 1 of unbreakable %itemtype%

It's a vanilla expression, so just use it.

 

Or if needed make the players item an unbreakable version if the player is holding a tool that you want to be unbreakable, it just helps cause issues having the 2 extra events.

💬 » Discord: @eliza#1414

🖥 » Twitch: @reportcardsmc

📃» Maker Profile: @plugin-labs

💻 » Project(s): Star

Hello, I'm Eliza or also known as ReportCards, I create servers and make Discord bots

Link to comment
Share on other sites

  • 1 month later...
On 5/9/2020 at 12:36 PM, D3tection_ said:

/give (player) minecraft:diamond_sword 1 0 {Unbreakable:1}

Makes an item unbreakable, and then u can add ur enchants and stuff

idk why but that isn't working for me

Link to comment
Share on other sites

  • muelr locked this topic

Hey, please don't comment on topics that have been inactive for around a month. thanks!

🔒 Necropost - Locked

hey gamer! unless you're Jackson then you're toxic.

Senior Moderator since July 21st 2020

- Currently leading the Recruitment and Media Team.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...