#how to set nbt of entity

1 messages · Page 1 of 1 (latest)

violet mauve
#

how do i set the nbt of an entity using skbeemike

#

i have looked on the forum and have literally tried everything i can and it isnt working

#

im so confused

#

Pretty sure entity’s dont have nbt data

#

Could be wrong though

#

how do i ad noai to entity

#

because you used to be able to with nbt

#

try this?

#

i have

#

i don't have much experience with SkBee.

#

i will send my skript

#
command zpc <entity type> <text>:
    trigger:
        set {_n} to nbt compound of entity
        set {_m} to arg-1
        set display name of {_m} to arg-2
        set {_i} to {_m}
        add nbt compound of "{Invulnerable:1b,NoAI:1b,Silent:1b}" to nbt item compound of {_i}

        set {_n} to nbt compound of {_i}
        spawn {_i} at location of player
        set display name of last spawned entity to coloured arg-2```
#

the display name and everything works just not the add nbt compound bit

violet mauve
#

item compound?

#

it is the same thing i think

#

yeah

#

i changed it to just nbt compound and it still doesnt work

#

you changed it here?

#

ye

#

ah

#

would be great for shane to appear right now...

#

yeah lol

#

lol

#

is he awake?

#

hes not online so i dont think so

#

rip

#

does citizens work for you

#

because the only reason i was making that was because citizens wasnt working

#

and i dont know how do download it on the minehut site

#

its like an on and off thing

#

sometimes it works

#

sometimes it doesnt

#

that is annoying

#

i just started using minehut again after like 2-3 years or so

#

atleast thats how it works for me

#

and i am so confused by the new website

#
  • i dont actually use minehut
#

oh damn lol

#

the website is ass

#

yeah i visited it recently

#

it used to be so simple but they made it trash

#

the dashboard and the addons are completely different

#

yeah

#

there are skripts in the plugin menu

#

and i kept downloading random skripts by accident

#

bru

#

was thinking about making a server on minehut

#

took one look at the dashboard

#

and said nope

#

dont blame you

#

i am going to go try fix citizens because i give up with nbt

#

what version is it?

#

wdym

#

my server is spigot 1.19

#

and is minehut still stuck on paper spigot and bukkit

#

fr

#

bruh

#

what version of citizens works on 1.19 do you know

#

citizens is icky anyway

#

idk what they did to it

#

are there any other npc plugins

#

but it barely works

#

i mean citizens is the main one like everyone uses

#

dont think anyone else has bothered

#

i used to use bungee ages ago but it was abandoned

#

i mean it works on a 1.16.5 server i have

#

i wish they didnt cancel it

#

actually

#

im pretty sure i have a 1.19.2 server that i had it working on

#

i remember using it

#

how?

#

it didnt load for me

#

ill send the plugins here

#

okay

#

i used denizen

#

i dont know if that effects it or not

#

so i just sent it anyway

#

what is denizen?

#

its like a scripting thing

#

where u can command the npcs to do things

#

like walk around

#

and stuff

#

ooo okay

#

citizens is virus omg omg omg

#

the server was on paper tho

#

paper 1.19.2

violet mauve
#

i cant believe it

#

we got played

violet mauve
#

smh

#

ong

#

ah i got it working now

#

thanks

#

it worked!

#

lets go

#

you dont have to do that nbt stuff anymore

#

lets go