forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
Entity Data for 4.0 Beta 13
JasperLorelai edited this page Jan 27, 2025
·
7 revisions
Entity data is a configuration section with data needed to summon an entity.
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 |
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 |
Option | Description |
---|---|
material |
Case insensitive Material |
Option | Description |
---|---|
material |
Block Data |
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 |
Option | Description |
---|---|
material |
Block Data |
Option | Description | Default |
---|---|---|
color |
DyeColor |
Option | Description | Default |
---|---|---|
sheared |
Boolean | false |
color |
DyeColor |
Option | Description | Default |
---|---|---|
anrgy |
Boolean | false |
color |
DyeColor |
Option | Description |
---|---|
type |
Variant |
Option | Description | Default |
---|---|---|
saddled |
Boolean | false |
color |
Horse Color | |
style |
Horse Style |
Option | Description |
---|---|
type |
Rabbit Type |
Option | Description |
---|---|
color |
Llama Color |
material |
Case insensitive Material as decor. |
Option | Description |
---|---|
type |
Variant |
Option | Description |
---|---|
type |
Villager Profession |
Option | Description |
---|---|
color |
Color |
pattern-color |
Pattern Color |
type |
Pattern |
Option | Description |
---|---|
type |
Cat Type |
Option | Description |
---|---|
main-gene |
Panda Gene |
hidden-gene |
Panda Gene |
Option | Description |
---|---|
type |
Fox Type |
Option | Description |
---|---|
type |
Variant |
Option | Description |
---|---|
type |
Variant |
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 . |
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. |
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.
Option | Description |
---|---|
block |
Block Data |
Option | Description |
---|---|
item |
Magic Item String - doesn't support expressions |
item-display-transform |
Item Display Transform |
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 |