For the complete documentation index, see llms.txt. This page is also available as Markdown.

Render Data

The render customization component is responsible for defining how the bee looks. The data is only used on the client. There are several visual aspects of a bee that can be modified:

  • Size

  • Model

  • Animations

  • Textures/Layers

  • UI Colors

Template:
"resourcefulbees:rendering/v1": {
  "layers": [
    {
      "pulseFrequency": 5.0,
      "color": 52020
    },
    {
      "layerEffect": "GLOW",
      "pulseFrequency": 5.0,
      "color": 65535
    }
  ],
  "model": "resourcefulbees:geo/base.geo.json"
  "texture": "/oreo/oreo_bee",
  "animation": "resourcefulbees:animations/bee.animation.json"
  "ColorData": {
    "spawnEggPrimaryColor": "#442920",
    "spawnEggSecondaryColor": "#e1d9b8",
    "jarColor": "#442920"
  },
  "sizeModifier": 1.25
}

Identifier


The root JSON of the rendering customization component looks like this:

The identifier of the component is as such:

Customization Options


layers

Layers are used to add custom textures on top of the base texture and allow them to have special effects or be enabled by special means.


Name: Layers

Key: layers

Type: LayerData[]

Default: Empty List

Example

ColorData

Color data is used to set the colors for things like jars and spawn eggs.


Name: Color Data

Key: ColorData

Type: ColorData

Default: No Colors

Example

model

The location where the GeckoLib geo file is stored.


Name: Model

Key: model

Type: ResourceLocation

Default: resourcefulbees:geo/base.geo.json

Example

texture

The base texture for the bee. Each texture requires two versions to exist: normal and angry. The angry texture should use the same name as the normal texture with the suffix _angry appended to it.

creeper.png


Name: Texture

Key: texture

Type: String

Default: Missing Texture

Example

animation

The location where the GeckoLib animation file is stored.


Name: Texture

Key: texture

Type: ResourceLocation

Default: resourcefulbees:animations/bee.animation.json

Example

sizeModifier

The scale of the bee when rendered in-game.


Name: Size Modifier

Key: sizeModifier

Type: Float

Range: 0.5 - 2.0

Default: 1.0

Example

Last updated

Was this helpful?