+ lang fix

This commit is contained in:
Glitchlabs
2026-07-04 13:06:27 +02:00
parent ac835a9687
commit 534f56b870
23 changed files with 93 additions and 18 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ mod_name=Ornamentum
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
# The mod version. See https://semver.org/
mod_version=0.0.5
mod_version=0.0.6
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
@@ -35,4 +35,4 @@ mod_group_id=ovh.glitchlabs
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
mod_authors=Ian1337
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
mod_description=
mod_description=this is a friendly building mod that adds decorative blocks to expand building palette while staying true to the game's original style.
@@ -1,7 +1,7 @@
// 1.21.1 2026-06-28T10:26:21.478612443 Tags for minecraft:block mod id ornamentum
eda5aa450bd4c4ebbd0604d99f25b95ac53e0d10 data/minecraft/tags/block/incorrect_for_gold_tool.json
c6bbc5d24c303802e592fbe7f60ff29de6487822 data/minecraft/tags/block/incorrect_for_wooden_tool.json
5ed05e4f9dc2ab891592d31a7c4a30cb40f43fab data/minecraft/tags/block/mineable/pickaxe.json
// 1.21.1 2026-06-28T13:06:41.412298106 Tags for minecraft:block mod id ornamentum
08850911667adfe512ce46e315dc6e4b2e18b776 data/minecraft/tags/block/incorrect_for_gold_tool.json
f8406c38e5830d8c6bd07167708879dda2fcee91 data/minecraft/tags/block/incorrect_for_wooden_tool.json
bd3ae5c128ff9d445079f1974c0dd74d6e31af24 data/minecraft/tags/block/mineable/pickaxe.json
8746b07cb20507229809e554193318dd4c83883e data/minecraft/tags/block/needs_diamond_tool.json
0355bdb0b9aaa7046903be5e8419b8b4f714bb5b data/minecraft/tags/block/needs_iron_tool.json
f9e7b04c7b2612399e3f52caafb9068f6f395a4d data/minecraft/tags/block/needs_iron_tool.json
33e136c57ab3316e1b553dd00f9cc0b1f77b3283 data/minecraft/tags/block/needs_stone_tool.json
@@ -1,4 +1,4 @@
// 1.21.1 2026-06-28T10:26:21.477583421 Loot Tables
// 1.21.1 2026-06-28T13:06:41.410800219 Loot Tables
c5c3cbbff0b4af321ae05896dbd68e551f598c86 data/ornamentum/loot_table/blocks/amethyst_grate.json
d6cadc723b59697611653ba8b077467af3032e20 data/ornamentum/loot_table/blocks/black_glow_block.json
1179e46db3d46fc3c3ed5468855ed87d2fb60019 data/ornamentum/loot_table/blocks/black_glow_stained_glass.json
@@ -23,6 +23,7 @@ a038f998c5c87722d779ad1b09b5b1138881157a data/ornamentum/loot_table/blocks/green
853fd94e43870766b6e9a00dfc0ce29ac6d8ca33 data/ornamentum/loot_table/blocks/lime_glow_stained_glass.json
ba1a20edf9f03a7a9bf055c4c0623e15aae2aeb0 data/ornamentum/loot_table/blocks/magenta_glow_block.json
900aaf28acb92f3ec1e482ab02f7c2b40ee7f22a data/ornamentum/loot_table/blocks/magenta_glow_stained_glass.json
dd13bc27eaef704789aff69bf3886be7195e632b data/ornamentum/loot_table/blocks/mesh_iron.json
d8e08a1b2097c2033c74aef4dfd2a6c7d7820b1c data/ornamentum/loot_table/blocks/netherite_grate.json
ac685a0f0dda5aaaca6757054941f5af22a1349f data/ornamentum/loot_table/blocks/obsidian_grate.json
78d6dcccf9e4f9680d3e2e120dcb7afd858deb71 data/ornamentum/loot_table/blocks/orange_glow_block.json
@@ -1,4 +1,4 @@
// 1.21.1 2026-06-28T10:26:21.475254826 Block States: ornamentum
// 1.21.1 2026-06-28T13:06:41.408791667 Block States: ornamentum
d6c0778339a79db4e2ec3f14d7399d1f908ce1fa assets/ornamentum/blockstates/amethyst_grate.json
7f171f7ecdf713275e6fad8f2ad2f60843a18dbd assets/ornamentum/blockstates/black_glow_block.json
def29f564d72e8825a7a76d66e0d240a9611e33f assets/ornamentum/blockstates/black_glow_stained_glass.json
@@ -23,6 +23,7 @@ c380e42693db5efa36c7427ca4ec46830432843f assets/ornamentum/blockstates/green_glo
ebfc54921431b412cbef5633291959022677fea8 assets/ornamentum/blockstates/lime_glow_stained_glass.json
d6c12ea9ea291b34126b35538219c93b309af8d4 assets/ornamentum/blockstates/magenta_glow_block.json
64f9063bda9f0f8ad63143d76be4fc2da555f1c3 assets/ornamentum/blockstates/magenta_glow_stained_glass.json
8902a575b1ea33bf160383d4d78f89a8f780a2c6 assets/ornamentum/blockstates/mesh_iron.json
728190af0e269b42c5b05f5291c2f64f21ca4deb assets/ornamentum/blockstates/netherite_grate.json
cf79a95c3f9ab4f34f16da9ef26ff72fb973e4ba assets/ornamentum/blockstates/obsidian_grate.json
20971f8067f98d0b419e1bc819a071c0a69f998b assets/ornamentum/blockstates/orange_glow_block.json
@@ -63,6 +64,7 @@ ec484f5280aee4cf59941cec94ae18d8c68ce581 assets/ornamentum/models/block/iron_gra
d9ff504be9439be49c87d836ce27e73e9080f5a1 assets/ornamentum/models/block/lime_glow_stained_glass.json
8cf0a43c7f0d8976d06bb67dfea963bcd6bebd51 assets/ornamentum/models/block/magenta_glow_block.json
a1da82ff1acf7979b2dcee389255687fbe8229eb assets/ornamentum/models/block/magenta_glow_stained_glass.json
c667ab96a2508f5e4a247dd12605dd49d8afe3d5 assets/ornamentum/models/block/mesh_iron.json
b9864c2dd4196d3449351a9263f8e1e0e62c4a01 assets/ornamentum/models/block/netherite_grate.json
fe99014e0f4ffd6632a394504415f46939930ed4 assets/ornamentum/models/block/obsidian_grate.json
bc42ad56bb421a1321d33b0aeeec659359aa869c assets/ornamentum/models/block/orange_glow_block.json
@@ -103,6 +105,7 @@ ef48292ba292964eff25f608c55ee9ea663958fe assets/ornamentum/models/item/lime_glow
4e694e080bf28b39a19ef8c34e45eb047f40cc34 assets/ornamentum/models/item/lime_glow_stained_glass.json
5420a6ba6da56e6841d7c5d1bf288c0e28e105c3 assets/ornamentum/models/item/magenta_glow_block.json
6aec4b056006dbcb2f56b64a490e848681b5546e assets/ornamentum/models/item/magenta_glow_stained_glass.json
1255d627acb6183e7ecf2fdf9424a7545526683f assets/ornamentum/models/item/mesh_iron.json
64aca198025c8fc1353262ff5153c1565d65fae7 assets/ornamentum/models/item/netherite_grate.json
40c5170a9d03fea5a4d05a5ad4e6db58f340fce2 assets/ornamentum/models/item/obsidian_grate.json
221186ec338aa1b3f7b021398a74b2e33761a359 assets/ornamentum/models/item/orange_glow_block.json
@@ -1,2 +1,2 @@
// 1.21.1 2026-06-28T10:39:12.631878892 Languages: en_us for mod: ornamentum
dfd16ac65ec7de60397c5a607adf24c9d16cf39e assets/ornamentum/lang/en_us.json
// 1.21.1 2026-06-28T13:06:41.411783234 Languages: en_us for mod: ornamentum
06d13b38f13a0b7771f02900e163edd4ea883e11 assets/ornamentum/lang/en_us.json
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/mesh_iron"
}
}
}
@@ -23,6 +23,7 @@
"block.ornamentum.lime_glow_stained_glass": "Lime Glow Stained Glass",
"block.ornamentum.magenta_glow_block": "Magenta Glow Block",
"block.ornamentum.magenta_glow_stained_glass": "Magenta Glow Stained Glass",
"block.ornamentum.mesh_iron": "Mesh Iron",
"block.ornamentum.netherite_grate": "Netherite Grate",
"block.ornamentum.obsidian_grate": "Obsidian Grate",
"block.ornamentum.orange_glow_block": "Orange Glow Block",
@@ -1,4 +1,5 @@
{
"ambientocclusion": false,
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/lime_glow_block"
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/mesh_iron"
}
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/mesh_iron"
}
@@ -7,6 +7,7 @@
"ornamentum:obsidian_grate",
"ornamentum:netherite_grate",
"ornamentum:pool_tiles",
"ornamentum:pool_tiles1"
"ornamentum:pool_tiles1",
"ornamentum:mesh_iron"
]
}
@@ -23,6 +23,7 @@
"ornamentum:magenta_glow_block",
"ornamentum:pink_glow_block",
"ornamentum:pool_tiles",
"ornamentum:pool_tiles1"
"ornamentum:pool_tiles1",
"ornamentum:mesh_iron"
]
}
@@ -23,6 +23,7 @@
"ornamentum:magenta_glow_block",
"ornamentum:pink_glow_block",
"ornamentum:pool_tiles",
"ornamentum:pool_tiles1"
"ornamentum:pool_tiles1",
"ornamentum:mesh_iron"
]
}
@@ -20,6 +20,7 @@
"ornamentum:diamond_grate",
"ornamentum:amethyst_grate",
"ornamentum:pool_tiles",
"ornamentum:pool_tiles1"
"ornamentum:pool_tiles1",
"ornamentum:mesh_iron"
]
}
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:mesh_iron"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/mesh_iron"
}
@@ -117,6 +117,11 @@ public class Ornamentum {
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.MAGENTA_GLOW_STAINED_GLASS.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.PINK_GLOW_STAINED_GLASS.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.IRON_GRATE.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(
ModBlocks.LIME_GLOW_BLOCK.get(),
net.minecraft.client.renderer.RenderType.cutout()
);
}
private static void registerGrateRenderTypes() {
@@ -17,6 +17,12 @@ public class ModBlocks {
public static final DeferredRegister.Blocks BLOCKS =
DeferredRegister.createBlocks(Ornamentum.MODID);
public static final DeferredBlock<Block> MESH_IRON = registerBlock("mesh_iron",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
.strength(5.0f, 6.0f)
.noOcclusion()
));
//POOL TILES
public static final DeferredBlock<Block> POOL_TILES = registerBlock("pool_tiles",
@@ -73,10 +79,11 @@ public class ModBlocks {
public static final DeferredBlock<Block> LIME_GLOW_BLOCK = registerBlock("lime_glow_block",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
.emissiveRendering(((blockState, blockGetter, blockPos) -> true))
.emissiveRendering((state, level, pos) -> true)
.lightLevel(blockstate -> 15)
.noOcclusion())
);
.hasPostProcess((bs, br, bp) -> true)
.noOcclusion()
));
public static final DeferredBlock<Block> WHITE_GLOW_BLOCK = registerBlock("white_glow_block",
() -> new GlowGlassBlock(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_BLOCK.get())));
@@ -19,6 +19,8 @@ public class ModBlockLootTableProvider extends BlockLootSubProvider {
dropSelf(ModBlocks.POOL_TILES.get());
dropSelf(ModBlocks.POOL_TILES1.get());
dropSelf(ModBlocks.MESH_IRON.get());
dropSelf(ModBlocks.IRON_GRATE.get());
dropSelf(ModBlocks.GOLD_GRATE.get());
dropSelf(ModBlocks.DIAMOND_GRATE.get());
@@ -18,6 +18,8 @@ public class ModBlockStateProvider extends BlockStateProvider {
blockWithItem(ModBlocks.POOL_TILES);
blockWithItem(ModBlocks.POOL_TILES1);
blockWithItem(ModBlocks.MESH_IRON);
//GRATES
blockWithItem(ModBlocks.IRON_GRATE);
blockWithItem(ModBlocks.GOLD_GRATE);
@@ -45,6 +45,8 @@ public class ModBlockTagProvider extends BlockTagsProvider {
.add(ModBlocks.POOL_TILES.get())
.add(ModBlocks.POOL_TILES1.get())
.add(ModBlocks.MESH_IRON.get())
;
tag(BlockTags.NEEDS_IRON_TOOL)
@@ -71,6 +73,8 @@ public class ModBlockTagProvider extends BlockTagsProvider {
.add(ModBlocks.POOL_TILES.get())
.add(ModBlocks.POOL_TILES1.get())
.add(ModBlocks.MESH_IRON.get())
;
tag(BlockTags.NEEDS_DIAMOND_TOOL)
@@ -93,6 +97,8 @@ public class ModBlockTagProvider extends BlockTagsProvider {
.add(ModBlocks.POOL_TILES.get())
.add(ModBlocks.POOL_TILES1.get())
.add(ModBlocks.MESH_IRON.get())
;
tag(BlockTags.INCORRECT_FOR_WOODEN_TOOL)
@@ -122,6 +128,8 @@ public class ModBlockTagProvider extends BlockTagsProvider {
.add(ModBlocks.POOL_TILES.get())
.add(ModBlocks.POOL_TILES1.get())
.add(ModBlocks.MESH_IRON.get())
;
}
@@ -60,6 +60,8 @@ public class ModLanguageProvider extends LanguageProvider {
add(ModBlocks.POOL_TILES.get(), "Pool Tiles");
add(ModBlocks.POOL_TILES1.get(), "Pool Tiles");
add(ModBlocks.MESH_IRON.get(), "Mesh Iron");
add("creativetab.ornamentum.ornamentum", "Ornamentum");
// Items
@@ -70,6 +70,8 @@ public class ModCreativeModeTabs {
output.accept(ModBlocks.POOL_TILES);
output.accept(ModBlocks.POOL_TILES1);
output.accept(ModBlocks.MESH_IRON);
}).build());
Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B