mirror of
https://github.com/TechnoVisionDev/Forge-Modding-Tutorial-1.16
synced 2026-03-02 03:40:08 +00:00
Add custom items
This commit is contained in:
46
src/main/resources/META-INF/mods.toml
Normal file
46
src/main/resources/META-INF/mods.toml
Normal file
@@ -0,0 +1,46 @@
|
||||
modLoader="javafml" #mandatory
|
||||
|
||||
loaderVersion="[31,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
|
||||
|
||||
issueTrackerURL="http://my.issue.tracker/" #optional
|
||||
|
||||
[[mods]] #mandatory
|
||||
|
||||
modId="tutorial" #mandatory
|
||||
|
||||
version="1.15.2-1.0.0" #mandatory
|
||||
|
||||
displayName="Tutorial Mod" #mandatory
|
||||
|
||||
updateJSONURL="http://myurl.me/" #optional
|
||||
|
||||
displayURL="http://example.com/" #optional
|
||||
|
||||
logoFile="examplemod.png" #optional
|
||||
|
||||
credits="Thanks to my incredible subscribers!" #optional
|
||||
|
||||
authors="TechnoVision" #optional
|
||||
|
||||
description='''
|
||||
A tutorial mod for my youtube channel.
|
||||
'''
|
||||
|
||||
[[dependencies.examplemod]] #optional
|
||||
# the modid of the dependency
|
||||
modId="forge" #mandatory
|
||||
# Does this dependency have to exist - if not, ordering below must be specified
|
||||
mandatory=true #mandatory
|
||||
# The version range of the dependency
|
||||
versionRange="[31,)" #mandatory
|
||||
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
|
||||
ordering="NONE"
|
||||
# Side this dependency is applied on - BOTH, CLIENT or SERVER
|
||||
side="BOTH"
|
||||
|
||||
[[dependencies.examplemod]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
versionRange="[1.15.2]"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
3
src/main/resources/assets/tutorial/lang/en_us.json
Normal file
3
src/main/resources/assets/tutorial/lang/en_us.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"item.tutorial.ruby": "Ruby"
|
||||
}
|
||||
6
src/main/resources/assets/tutorial/models/item/ruby.json
Normal file
6
src/main/resources/assets/tutorial/models/item/ruby.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "tutorial:items/ruby"
|
||||
}
|
||||
}
|
||||
BIN
src/main/resources/assets/tutorial/textures/items/ruby.png
Normal file
BIN
src/main/resources/assets/tutorial/textures/items/ruby.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 379 B |
7
src/main/resources/pack.mcmeta
Normal file
7
src/main/resources/pack.mcmeta
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "examplemod resources",
|
||||
"pack_format": 5,
|
||||
"_comment": "A pack_format of 5 requires json lang files and some texture changes from 1.15. Note: we require v5 pack meta for all mods."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user