#really long nbt with specifics. on a block display

1 messages · Page 1 of 1 (latest)

slim holly
#

Im Tryna make something summon a block display with specific things. and a really long NBT. any way i could do that.

white trout
#

but u can just spawn a entity with nbt

slim holly
#

every time i try it gives me an error

#

prob bc its either too long or im doing it worng

white trout
slim holly
#

lme recheck

#

1s

#
  if player is holding a carrot:
    set {_display} to block display with nbt data "{Tags:["carrot"],Passengers:[{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.2500f,0.0000f,0.0000f,0.5625f,0.0000f,0.3125f,0.0000f,0.3125f,0.0000f,0.0000f,0.1875f,0.4375f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.2500f,0.0000f,0.0000f,0.2500f,0.0000f,0.4375f,0.0000f,0.2500f,0.0000f,0.0000f,0.1875f,0.4375f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.0000f,0.0000f,-0.1875f,0.6250f,0.0000f,0.3125f,0.0000f,0.2500f,0.2500f,0.0000f,0.0000f,0.2500f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.0000f,0.0000f,-0.1875f,0.6250f,0.0000f,0.3750f,0.0000f,0.2500f,0.2500f,0.0000f,0.0000f,0.5625f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:orange_terracotta",Properties:{}},transformation:[0.3125f,0.0000f,0.0000f,0.3750f,0.0000f,0.2500f,0.0000f,0.1250f,0.0000f,0.0000f,0.3125f,0.3750f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:orange_terracotta",Properties:{}},transformation:[0.1875f,0.0000f,0.0000f,0.4375f,0.0000f,0.2500f,0.0000f,0.0000f,0.0000f,0.0000f,0.1875f,0.4375f,0.0000f,0.0000f,0.0000f,1.0000f]}]}"
    spawn {_display}```
#

im prob doing it wrong tbh

white trout
white trout
#

spawn block display at player with nbt from "":

slim holly
#

doas it have to have : after it

white trout
slim holly
#

idk

#

now it cant understand it

white trout
#

well the issue is quotes

#

you need to double all of em

slim holly
#
on right click:
  if player is holding a carrot:
    spawn block display at player with nbt from "{Tags:["carrot"],Passengers:[{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.2500f,0.0000f,0.0000f,0.5625f,0.0000f,0.3125f,0.0000f,0.3125f,0.0000f,0.0000f,0.1875f,0.4375f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.2500f,0.0000f,0.0000f,0.2500f,0.0000f,0.4375f,0.0000f,0.2500f,0.0000f,0.0000f,0.1875f,0.4375f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.0000f,0.0000f,-0.1875f,0.6250f,0.0000f,0.3125f,0.0000f,0.2500f,0.2500f,0.0000f,0.0000f,0.2500f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:oak_leaves",Properties:{}},transformation:[0.0000f,0.0000f,-0.1875f,0.6250f,0.0000f,0.3750f,0.0000f,0.2500f,0.2500f,0.0000f,0.0000f,0.5625f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:orange_terracotta",Properties:{}},transformation:[0.3125f,0.0000f,0.0000f,0.3750f,0.0000f,0.2500f,0.0000f,0.1250f,0.0000f,0.0000f,0.3125f,0.3750f,0.0000f,0.0000f,0.0000f,1.0000f]},{id:"minecraft:block_display",block_state:{Name:"minecraft:orange_terracotta",Properties:{}},transformation:[0.1875f,0.0000f,0.0000f,0.4375f,0.0000f,0.2500f,0.0000f,0.0000f,0.0000f,0.0000f,0.1875f,0.4375f,0.0000f,0.0000f,0.0000f,1.0000f]}]}":```
white trout
#

besides the surrounding ones

slim holly
white trout
slim holly
#

i do but like.

white trout
#

do you not know how to add another one to all of em

#

in all that nbt if u see a quote that isn't at the start or end of the code, double it

slim holly
#

you mean like ""

#

on both sides

white trout
#

besides the one on both sides

slim holly
white trout
#

yeah idk thats messy nbt to begin

slim holly
#

rip

#

so uhh what now

#

any diffrent way

white trout
#

well idk what that spawns to begin so

slim holly
white trout
slim holly
#

well i mean

#

i rlly cant. i need it to be 1 thing

#

thats why its a block display with passengers

white trout
slim holly
#

i dont wana bother with moving multiple displays.

#
  • its easier if its 1 thing for me to grow
white trout
slim holly
#

thats why i need the nbt

white trout
#

just make <entity> ride <entity>

slim holly
#

ill see

#

just realised i dont wana spend alot of time making 100 entities riding eachother

#

for some of the other things i need to make

#

as an example

white trout
#

its more like 5 entities

slim holly
#

Or depends

white trout
slim holly
#

In the future i need alot more

#

Also 1 problem i might have is that the blocks need to be rlly specific places

#

If i use it without nbt

white trout
#

yeah idk atp

#

why do you need it to begin

slim holly
white trout
#

idk why you need to spawn a single plant display

slim holly
#

Wait.

#

Can i not assign the nbt to a variable

white trout
#

you can

slim holly
#

Ot smth like that

#

Idk if itll work

white trout
#

what would that change

slim holly
# slim holly uhhh

Idrk. I hoped it would just use the nbt and not get that msg to pop up

#

In 1 way or another

#

But prob not

normal plaza
#

Bro is really making grow a garden...

white trout
#

yeah I don't think its gonna be good but we'll see