mirror of
https://github.com/TechnoVisionDev/Forge-Modding-Tutorial-1.16
synced 2026-03-02 03:40:08 +00:00
Tidy up code & add ruby ore
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"variants": {
|
||||
"": { "model": "tutorial:block/ruby_ore" }
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
"item.tutorial.ruby": "Ruby",
|
||||
"item.tutorial.poison_apple": "Poison Apple",
|
||||
"block.tutorial.ruby_block": "Block of Ruby",
|
||||
"block.tutorial.ruby_ore": "Ruby Ore",
|
||||
"itemGroup.tutorialTab": "Tutorial",
|
||||
"item.tutorial.ruby_sword": "Ruby Sword",
|
||||
"item.tutorial.ruby_pickaxe": "Ruby Pickaxe",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "tutorial:blocks/ruby_ore"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "tutorial:block/ruby_ore"
|
||||
}
|
||||
BIN
src/main/resources/assets/tutorial/textures/blocks/ruby_ore.png
Normal file
BIN
src/main/resources/assets/tutorial/textures/blocks/ruby_ore.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 591 B |
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "tutorial:ruby_ore"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 2,
|
||||
"type": "minecraft:uniform"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:uniform_bonus_count",
|
||||
"parameters": {
|
||||
"bonusMultiplier": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "tutorial:ruby"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user