added blocks ruby_ore and its deepslate version
Some checks failed
build / build (push) Has been cancelled

This commit is contained in:
Jottyfan
2026-02-13 22:55:36 +01:00
parent 9626e565f0
commit 1b56f1f108
13 changed files with 52 additions and 2 deletions

View File

@@ -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));

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "uno:block/ruby_deepslate_ore"
}
}
}

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "uno:block/ruby_ore"
}
}
}

View File

@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "uno:block/ruby_deepslate_ore"
}
}

View File

@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "uno:block/ruby_ore"
}
}

View File

@@ -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"
}

View File

@@ -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"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "uno:block/ruby_deepslate_ore"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "uno:block/ruby_ore"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "uno:block/ruby_deepslate_ore"
}

View File

@@ -0,0 +1,3 @@
{
"parent": "uno:block/ruby_ore"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB