added blocks ruby_ore and its deepslate version
Some checks failed
build / build (push) Has been cancelled
Some checks failed
build / build (push) Has been cancelled
This commit is contained in:
@@ -16,6 +16,8 @@ import net.minecraft.world.level.block.state.BlockBehaviour.Properties;
|
||||
|
||||
public class UnoBlocks {
|
||||
public static final Block RUBY_BLOCK = registerBlock("ruby_block", Properties.of().strength(4f).requiresCorrectToolForDrops().sound(SoundType.AMETHYST_CLUSTER));
|
||||
public static final Block RUBY_ORE = registerBlock("ruby_ore", Properties.of().strength(4f).requiresCorrectToolForDrops());
|
||||
public static final Block RUBY_DEEPSLATE_ORE = registerBlock("ruby_deepslate_ore", Properties.of().strength(4f).requiresCorrectToolForDrops());
|
||||
|
||||
private static final Block registerBlock(String name, Properties properties) {
|
||||
return UnoBlocks.registerBlock(name, properties, p -> new Block(p));
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "uno:block/ruby_deepslate_ore"
|
||||
}
|
||||
}
|
||||
}
|
||||
7
src/main/resources/assets/uno/blockstates/ruby_ore.json
Normal file
7
src/main/resources/assets/uno/blockstates/ruby_ore.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "uno:block/ruby_ore"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "uno:block/ruby_deepslate_ore"
|
||||
}
|
||||
}
|
||||
6
src/main/resources/assets/uno/items/ruby_ore.json
Normal file
6
src/main/resources/assets/uno/items/ruby_ore.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "uno:block/ruby_ore"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"item.uno.stub": "Stummel",
|
||||
"item.uno.ruby": "Rubin",
|
||||
"item.uni.ruby_block": "Rubinblock"
|
||||
"item.uni.ruby_block": "Rubinblock",
|
||||
"item.uni.ruby_ore": "Rubinerz",
|
||||
"item.uni.ruby_deepslate_ore": "Rubintiefenerz"
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"item.uno.stub": "Stub",
|
||||
"item.uno.ruby": "Ruby",
|
||||
"item.uno.ruby_block": "Ruby block"
|
||||
"item.uno.ruby_block": "Ruby block",
|
||||
"item.uno.ruby_ore": "Ruby ore",
|
||||
"item.uno.ruby_deepslate_ore": "Ruby deepslate ore"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "uno:block/ruby_deepslate_ore"
|
||||
}
|
||||
}
|
||||
6
src/main/resources/assets/uno/models/block/ruby_ore.json
Normal file
6
src/main/resources/assets/uno/models/block/ruby_ore.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "uno:block/ruby_ore"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "uno:block/ruby_deepslate_ore"
|
||||
}
|
||||
3
src/main/resources/assets/uno/models/item/ruby_ore.json
Normal file
3
src/main/resources/assets/uno/models/item/ruby_ore.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "uno:block/ruby_ore"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
src/main/resources/assets/uno/textures/block/ruby_ore.png
Normal file
BIN
src/main/resources/assets/uno/textures/block/ruby_ore.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
Reference in New Issue
Block a user