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
Identifier
The root JSON of the rendering customization component looks like this:
The identifier of the component is as such:
Customization Options
layers
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.
Warning: Increasing the number of textures rendered on a bee will impact performance. It is recommended to use the least number of layers necessary!
ColorData
ColorData
Color data is used to set the colors for things like jars and spawn eggs.
model
model
The location where the GeckoLib geo file is stored.
Beware: The more complex the model is, the more impact it will have on performance. It is highly recommended to keep custom models as simple as possible!
texture
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
animation
animation
The location where the GeckoLib animation file is stored.
Name: Texture
Key: texture
Type: ResourceLocation
Default: resourcefulbees:animations/bee.animation.json
Note: Only vanilla bee animations are currently supported!
sizeModifier
sizeModifier
The scale of the bee when rendered in-game.
Note: A value of 2.0 would double the size of the bee, while a value of 0.5 would shrink the bee to half its normal size.
Name: Size Modifier
Key: sizeModifier
Type: Float
Range: 0.5 - 2.0
Default: 1.0
Last updated