Display-Entity Furniture
Display-Entities are a new entity type introduced in 1.19.4. It comes in a few different types: Item, Block and Interaction. Oraxen makes use of Item Display Entities and Interaction Entities for its furniture mechanic. With it, you can configure a bunch of stuff you previously could not. In addition to more options, it will also not cull, meaning it will not unrended at certain angles. This might lead to lower FPS for some players, but furniture will not vanish.
Below is an example of such a config:
Furniture Type
First off, type
is a new property added in Oraxen 1.154.0.
It allows you to specify if you want to use the old ItemFrame type, or new Display Entity type.
If your server allows players on versions below 1.19.4, we suggest sticking with ItemFrame, as the other will not be visible.
If this property is not specified, it will default to ITEM_FRAME.
The available options are: ITEM_FRAME
, GLOW_ITEM_FRAME
& DISPLAY_ENTITY
Hitbox
Display Entity Properties
This section will detail the many options this new entity-type adds.
Some are more useful than others, but I have added more or less all of them.
Under display_entity_properties
you can define these settings:
display_transform
, tracking_rotation
, brightness
, view_range
, shadow_radius
, shadow_strength
, scale
The tracking_rotation
-property defines whether you want the furniture to "track" the player.
This is mainly for stuff like billboard and leaderboards you want the player to see, not normal furniture.
Options are:
FIXED
- No rotation
VERTICAL
- Pivots around vertical axis
HORIZONTAL
- Pivots around horizontal axis
CENTER
- Pivots around center point
The brightness
-property is a way to have your furniture emit light.
It has a block_light
and sky_light
property for the different types of lighting Minecraft has. Config should look like this:
The scale
-property is a way to scale the furniture.
It has a x
, y
and z
property for scaling on each axis. Config should look like this:
view_range
, shadow_radius
, shadow_strength
should be self-explanatory.
Last updated
Was this helpful?