Items From Text
Modby rWothers
Easily add custom items using text files
Description
A mod that allows you to create and add new items using pure text files.
No dependencies, doesn't need Fabric API.
Creating Items
- Create a new folder called "itemsfromtext" in your .minecraft folder and navigate inside
- For each item make a txt file and a png image. Both files should be named your item's registry name (e.g. ender_pearl)
- Inside the txt file complete one of the example templates below with your own item's data
- For custom namespaces, make a new folder within the main folder and put items in that folder
Crafting Recipes
Crafting recipes can either be shaped or shapeless.
To give your item a custom crafting recipe, add a recipe property.
Recipes must be defined like this:
recipe=shaped,TOP ROW,MIDDLE ROW,BOTTOM ROW,QUANTITY,KEYS or recipe=shapeless,QUANTITY,ITEMS
Examples:
Recipe for a Furnace:
recipe=shaped,XXX,X X,XXX,1,X-minecraft:cobblestone
Recipe for Flint and Steel:
recipe=shapeless,1,minecraft:flint,minecraft:iron_ingot
Templates
- Each item has a name field that represents the display name of the item.
- Most items (apart from tools) have a stack field which represents the max stack size.
- Optional for all items: "isFireproof" field (true or false) - is the item immune to burning in fire or lava.
- Optional for all items: "cookingTime" field (integer value) - marks the item as a fuel that cooks for the amount of ticks specified.
- Optional for non tool items: "isHandheld" field (true or false) - is the item held like a stick or tool.
- Optional for food items: "isSnack" field (true or false) - is the food consumed quickly.
- Optional for tool items: "repairItem" field - the item that can repair the tool with an Anvil.
Basic Items:
name=Ender Pearl
stack=16
Food:
name=Apple
stack=64
type=food
hunger=4
saturation=2.4
Tools:
name=Ruby Pickaxe
type=tool
toolType=pickaxe
attackDamage=9
attackSpeed=1.2
miningSpeed=10
miningLevel=4
durability=5000
enchantability=20
- "toolType" - the type of tool (supported are pickaxe, axe, shovel, hoe, sword)
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Citadel (Fabric)
A port of Citadel to the fabric loader
Create: Immersive Tacz Integration
This mod adds an immersive way to use Tacz into your Create playthrough using Create Armorer and new items and recipes!
Unique Dungeons
Dungeon mod focused on exploration and discovery.
project-690182
Adds more dynamic music ques, and more music itself for that!
Avaritia : Expand
Added more items to Re:Avaritia
Key Binding Patch
Patch and enhance vanilla key binding system.