NBT - Spawn Entity with NBT (Effect) — SkBee
Addon: SkBee · Category: Effect · Since: 1.0.0
Syntax
spawn %entitytypes% [%directions% %locations%] with [nbt] %nbtcompound%Description
Spawn an entity at a location with NBT. The ability to spawn falling was added in 2.10.0 as a temp effect until Skript properly handles falling blocks with block data.
Examples
set {_n} to nbt compound from "{NoAI:1b}"
spawn sheep at player with nbt {_n}
spawn 1 of zombie at player with nbt nbt compound from "{NoGravity:1b}"
spawn an armor stand at player with nbt from "{Small:1b,NoBasePlate:1b,Marker:1b}"
spawn falling snow[layers=3] at target block with nbt from "{HurtEntities:1b}"