Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M mmoitems
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mmoitems
  • Wiki
  • Custom Item Textures

Last edited by Indyuce Jul 09, 2019
Page history

Custom Item Textures

From 1.9 to 1.13

Since 1.9 items can have different textures or models depending on their durability. MMOItems supports these custom textures however it does not help you setting up the resource pack you need for these custom textures. Using the 1.9 texture by durability feature, two items with the same item material can have different textures based on the item durability values.

It is almost necessary to read that guide on custom textures first (you don't have to read the CODE part).

Once you read the tutorial, create an item in-game in MMOItems to get started. Make your item unbreakable (it is very important) using the corresponding item option and give your item the durability that corresponds to the one you set in your resource pack. Your item should now load the custom texture you created. If your item is not unbreakable, the texture will either not load or will be lost once you use one durability point from your item.


1.14+

In Minecraft 1.14, texture by durability still works but it is outdated. MC 1.14 introduces a new item NBTTag called CustomModelData which lets an item have a custom texture without using its durability. This tag is much better than the 1.9 system since it allows you to have custom textured items while keeping their durability bar.

Once again MI does not provide anything to setup the required resource pack, moreover you can find tutorials online on how to setup it. Once your resource pack is setup, head to MC and open the edition GUI for the item which you want to give a texture to. If you're running a 1.14 server, a new item option called Custom Model Data should display in the menu. Simply input the desired integer which corresponds to the texture you setup in your resource pack. Your item should then load the texture.

Clone repository

Home

General

  • Item Types
  • Item Stats & Options
  • Item Creation

Features

  • Mitigation
  • Elemental Damage
  • Item Identification
  • Item Tiers
  • Gem Stones
  • Custom Durability
  • Item Sets
  • Item Drop Tables

Abilities

  • Ability List

Compatibility & API

  • Supported Plugins
  • Texture by durability
  • Plugin API

Other

  • Installation Guide