-
Notifications
You must be signed in to change notification settings - Fork 28
Item Appearance
By default the machine item will have the same appearance that the machine block, you can change it by using the Item Property.
There is 2 way of using the item property :
The item property can take an item using the format : namespace:item_id and will mimic its model and textures.
Example :
"appearance": {
"item": "minecraft:diamond"
}That way the machine item will show as a vanilla diamond.
Note: for items with animated textures (bow/compass/watch...) that may not work or cause issues. For items with more complex rendering (trident, chest, armor stand...) that will just not works.
If you don't want to mimic an existing item you can use the item property to point a custom model that the machine will use.
The model must be a Minecraft type json model, if you are not familiar with this type of model see the official MC Wiki.
The model MUST be loaded in-game using either a ResourcePack or a Resource Loader mod like Open Loader.
The model MUST be located in assets/namespace/models/machine any other model location such as assets/namespace/models/item will not work.
Example : A model located in assets/namespace/models/machine/my_machine.json must be defined as namespace:machine/my_machine, the model loader will search for files in the models folder and it's subfolders and will also add the .json so you don't have to.
Example :
"appearance": {
"item": "custommachinery:machines/my_model"
}That way the machine will use the file located in assets/custommachinery/models/machines/my_model.json as the machine item model.
Adding a new custom model inside that directory will require a game restart
3. Machine GUI
- Dump Element
- Energy Element
- Fluid Element
- Fuel Element
- Player Inventory Element
- Progress Bar Element
- Reset Element
- Slot Element
- Status Element
- Text Element
- Texture Element
5. Catalysts
- Biome Requirement
- Block Requirement
- Command Requirement
- Dimension Requirement
- Drop Requirement
- Durability Requirement
- Effect Requirement
- Energy Requirement
- Energy Per Tick Requirement
- Entity Requirement
- Fluid Requirement
- Fluid Per Tick Requirement
- Fuel Requirement
- Item Requirement
- Light Requirement
- Loot Table Requirement
- Position Requirement
- Structure Requirement
- Redstone Requirement
- Time Requirement
- Weather Requirement