give 1 spawner with custom nbt "{display:{Name:'{"text":"Pig","color":"light_purple","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}',Lore:['{"text":".","color":"black"}','{"text":"Interact with Spawn Egg:","color":"gray","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}','{"text":" Sets Mob Type","color":"blue","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}','{"text":"Pig","color":"yellow","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}']},HideFlags:255,BlockEntityTag:{SpawnData:{entity:{id:"minecraft:pig"}}}} 1" to player
#How do i add a custom nbt tag to my item
1 messages · Page 1 of 1 (latest)
with nbt from ""
also what the hell bruh
dude
this is so easily skripted
how
like don't use nbt
wdym
what r u tryna do with this nbt
nbt good
no
so easily skripted
how
you should learn basic skript tutorials
because this is ridiculous
you want me to send u a link?
ok
(I mean the long nbt)
send link
https://sovdee.gitbook.io/skript-tutorials - a good place to start
https://skripthub.net/docs/?id=972 - lore
https://skripthub.net/docs/?id=974 - name
bro
I am trying to give myself a pig spawner
with skript
Oh crap
WAIT
I think im dumb
?
what....?
Btw i dont need help with giving myself a named item...
Im fr trying to make donutsmp shop
Wdym
it's basic basic
set metadata tag "magmacream" of {_p} to chest inventory with 3 rows named "&2Buying Magma Cream"
set slot 13 of metadata tag "magmacream" of {_p} to 16 magma cream named "&fMagma Cream" with lore "&fBuy price: &a$500"
set slot 21 of metadata tag "magmacream" of {_p} to red concrete named "&c&lCancel"
set slot 23 of metadata tag "magmacream" of {_p} to lime concrete named "&a&lConfirm"
open (metadata tag "magmacream" of {_p}) to {_p}
on inventory click:
if event-inventory = (metadata tag "magmacream" of player):
cancel event
if index of event-slot is 23:
if player's balance >= 500:
remove 500 from the player's balance
give 16 magma cream to player
send "&aShop >&f You bought &c16 x Magma Cream&f for &c$500&f."
else:
send "&aShop >&f You need &c$500&f to buy &c16 x Magma Cream&f."
play sound "ENTITY.VILLAGER.NO"
else if index of event-slot is 21:
nethershop(player)```
One of many
horrible
wdym
this is like basic skript
also click the damn link god
I.Know.How.To.Skript
clearly not
yes
what is this
?
you literally asked how to give yourself a named item
mark it as resolved
I was just dumb
how do i make resloved
that custom NBT looks so cool
its almost like thats actually component nbt
it's not a custom nbt that's the funniest part 🤣