Skip to content

Entity Data for 4.0 Beta 13

JasperLorelai edited this page Jul 29, 2024 · 3 revisions

Description:

Entity data is a configuration section with data needed to summon an entity.

Mutual Configuration:

All options aren't forced to be constants but may be expressions instead - functions for numeric string for other types that should be evaluated into the appropriate type.

Option Description
entity String with a case insensitive Entity Type.
relative-offset Vector
glowing Boolean
visible-by-default Boolean

Entity-Specific Configuration:

Note that Display Entities are documented separately.

Option Description
baby Boolean
age Integer
Option Description Default
tamed Boolean false
Option Description Default
chested Boolean false

Horses have this too, but in their own section.

Option Description Default
saddled Boolean false

dropped_item

Option Description
material Case insensitive Material

falling_block

Option Description
material Block Data

armor_stand

Option Description Default
small Boolean false
has-arms Boolean true
marker Boolean false
visible Boolean true
has-base-plate Boolean true
head-angle Vector
body-angle Vector
left-arm-angle Vector
right-arm-angle Vector
left-leg-angle Vector
right-leg-angle Vector

creeper

Option Description Default
powered Boolean false

slime

Option Description Default
size Integer 0

enderman

Option Description
material Block Data

shulker

Option Description Default
color DyeColor

sheep

Option Description Default
sheared Boolean false
color DyeColor

wolf

Option Description Default
anrgy Boolean false
color DyeColor

mushroom_cow

Option Description
type Variant

horse

Option Description Default
saddled Boolean false
color Horse Color
style Horse Style

rabbit

Option Description
type Rabbit Type

llama

Option Description
color Llama Color
material Case insensitive Material as decor.

parrot

Option Description
type Variant

villager

Option Description
type Villager Profession

phantom

Option Description Default
size Integer 0

pufferfish

Option Description Default
size Integer 0

tropical_fish

Option Description
color Color
pattern-color Pattern Color
type Pattern

cat

Option Description
type Cat Type

panda

Option Description
main-gene Panda Gene
hidden-gene Panda Gene

fox

Option Description
type Fox Type

axolotl

Option Description
type Variant

frog

Option Description
type Variant

Display Entities

Option Description
transformation Config section with options from the Transformation config below.
interpolation-duration Integer
interpolation-delay Integer
view-range Float
shadow-radius & shadow-strength Float
height & width Float
billboard Can be one of these.
glow-color-override ARGB Color
brightness Config section with Integer options block & sky.

Transformation config:

Option Description
left-rotation Rotation config
right-rotation Rotation config
translation A string "x,y,z" or a config section with those keys.
scale A string "x,y,z" or a config section with those keys.

Rotation config:

Either in:

  • Angle-axis form: A config section with the following options.

    Option Description
    angle Float Radian
    axis 3D unit vector; either a string "x,y,z" or a config section with those keys.
  • Quaternion form: Accepts a string "x,y,z,w", a config section with those keys, or a list with 4 items.

Display Specific Options:

block_display

Option Description
block Block Data

item_display

Option Description
item Magic Item String
item-display-transform Item Display Transform

text_display

Option Description
text Rich Text
line-width Integer
background ARGB Color
text-opacity Integer
shadow Boolean
see-through Boolean
default-background Boolean
alignment Text Alignment
Clone this wiki locally