Skip to main content

Texture

NodeAliasesAccepted ValuesDescription
materialtexture, matString / ObjectIcon material (vanilla or special source)

Vanilla Materials

High version item names

material: red stained glass pane

Low version numeric ID - DATA

material: '35:3'
Material Tolerance

In Invero's vanilla material syntax, we ignore case, underscores and automatically find the material with the highest similarity
Therefore you can simply write red stained glass pane or fully spell out RED_STAINED_GLASS_PANE

Modded Items

When using items provided by mods as material

  • Use the unified format: modid_item

Example:

material: mymod_mythril_ingot

Skull Textures

With icon structure as root node, skull textures can be configured as follows:

texture:
head: '<skull identifier>'
head: '<skull identifier>'

This is also a manifestation of polymorphic serialization. Subsequent introductions to other types of materials will directly use the simplified syntax
For skull identifiers, we support automatic detection and application of the following multiple types:

  • Custom texture (base64): eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRmNDUyZDk5OGVhYmFjNDY0MmM2YjBmZTVhOGY0ZTJlNjczZWRjYWUyYTZkZmQ5ZTZhMmU4NmU3ODZlZGFjMCJ9fX0=
  • Custom texture (URL-hash): 44f452d998eabac4642c6b0fe5a8f4e2e673edcae2a6dfd9e6a2e86e786edac0
  • Player name: Arasple
  • Variable: {{player name}}
Note

For online players, the plugin will get the skin texture actually applied by their player profile
For offline players, it defaults to requesting the genuine player skin texture of this ID
The application logic of variable identifiers is to parse the return value of the variable, re-determine the texture type and then apply it

Item Sources

Support for third-party plugins

NodeAliasesDescription
AzureFlowafAzureFlow plugin support
craftengineceCraftEngine plugin support
ecoItemsecoEcoItems plugin support
hmccosmeticshmcHMCCosmetics plugin support
itemsadderiaItemsAdder plugin support
ItemToolsitItemTools plugin support
magiccosmeticsmagicMagicCosmetics plugin support
magicgemgemMagicGem plugin support
mmoitemsmiMMOItems plugin support
NeigeItemsniNeigeItems plugin support
nexo-Nexo plugin support
oraxen-Oraxen plugin support
ratziel-Ratziel plugin support
sxitemsiSX-Item plugin support
slimefunsfSlimefun plugin support
zaphkielzapZaphkiel plugin support
headdatabasehdbHeadDatabase plugin support

Examples:

  • AzureFlow
azureflow: custom_item
af: custom_item
  • CraftEngine
craftengine: namespace:custom_item
ce: namespace:custom_item
  • EcoItems
ecoitems: custom_item
eco: custom_item
  • HeadDatabase
headdatabase: custom_item
hdb: custom_item
  • HMCCosmetics
hmccosmetics: custom_item
hmc: custom_item
  • ItemsAdder
itemsadder: namespace:custom_item
ia: namespace:custom_item
  • ItemTools
itemtools: custom_item
it: custom_item
  • MagicCosmetics
magiccosmetics: custom_item
magic: custom_item
magiccosmetics: equipped:HAT # Cosmetic for a specific part (hat in this case)
magic: equipped:HAT
  • MagicGem
magicgem: custom_item
gem: custom_item
  • MMOItems
mmoitems: namespace:custom_item
mi: namespace:custom_item
  • NeigeItems
title: 'NI Item Test'

layout: ' * '

items:
'*':
texture:
source: ni
value: ExampleItem

The source: ni can also be written as source: neigeitems, no difference
value: followed by item ID, can also add pointing data, such as value: ExampleItem {"test1":"test1","test2":"test2"}
Item ID first checks NI items, if not found it will try to get MM items

  • oraxen
oraxen: custom_item
  • SX-Item
sxitem: custom_item
si: custom_item
  • Slimefun
slimefun: custom_item
sf: custom_item
  • zaphkiel
zaphkiel: custom_item
zap: custom_item

Support for serialized items

NodeAliasesDescription
serializedbase64, jsonbase64 / json format item

Support for Kether script items

NodeAliasesDescription
kether-Kether script item

TODO_ DETAILED EXAMPLE