π‘οΈ Items
Overviewβ
Items in Oraxen start with a vanilla Minecraft base material and are extended with custom components, properties, behaviors, and custom models or textures. Oraxen builds on top of Minecraft's existing system. Oraxen handles the lifting in the backend, including resource pack generation, model assignment, and linking your configured item data to the correct in-game material. In practice, this means you define how an item should look and behave, and Oraxen takes care of making it work in Minecraft.
Configurationβ
Items are configured in .yml files in the plugins/Oraxen/items directory.
π plugins
π Oraxen
π items
- π weapons.yml
- π food.yml
Propertiesβ
Properties define an itemβs built-in metadata in Oraxen, such as its material, display name, lore, flags, enchantments, and other vanilla item data.
Componentsβ
Components define modern vanilla item behavior in Oraxen, such as food values, durability, equipping, stack size, cooldowns, and custom tooltip or model settings.
Even though Components are used in the backend along with resource pack generation, item appearance is mostly controlled through the Pack section instead of the Components section.
Mechanicsβ
Mechanics are "abilities" that allow items to perform actions or have special effects when used.