+ lang fix
This commit is contained in:
+1
-1
@@ -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.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=All Rights Reserved
|
mod_license=All Rights Reserved
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=0.0.4
|
mod_version=0.0.5
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# 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.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
// 1.21.1 2026-06-28T10:26:21.478263034 Languages: en_us for mod: ornamentum
|
// 1.21.1 2026-06-28T10:39:12.631878892 Languages: en_us for mod: ornamentum
|
||||||
6ef0bfb067e907421d76ab43cf54ff49834962c9 assets/ornamentum/lang/en_us.json
|
dfd16ac65ec7de60397c5a607adf24c9d16cf39e assets/ornamentum/lang/en_us.json
|
||||||
|
|||||||
@@ -38,5 +38,6 @@
|
|||||||
"block.ornamentum.white_glow_block": "White Glow Block",
|
"block.ornamentum.white_glow_block": "White Glow Block",
|
||||||
"block.ornamentum.white_glow_stained_glass": "White Glow Stained Glass",
|
"block.ornamentum.white_glow_stained_glass": "White Glow Stained Glass",
|
||||||
"block.ornamentum.yellow_glow_block": "Yellow Glow Block",
|
"block.ornamentum.yellow_glow_block": "Yellow Glow Block",
|
||||||
"block.ornamentum.yellow_glow_stained_glass": "Yellow Glow Stained Glass"
|
"block.ornamentum.yellow_glow_stained_glass": "Yellow Glow Stained Glass",
|
||||||
|
"creativetab.ornamentum.ornamentum": "Ornamentum"
|
||||||
}
|
}
|
||||||
@@ -17,6 +17,8 @@ public class ModBlocks {
|
|||||||
public static final DeferredRegister.Blocks BLOCKS =
|
public static final DeferredRegister.Blocks BLOCKS =
|
||||||
DeferredRegister.createBlocks(Ornamentum.MODID);
|
DeferredRegister.createBlocks(Ornamentum.MODID);
|
||||||
|
|
||||||
|
//POOL TILES
|
||||||
|
|
||||||
public static final DeferredBlock<Block> POOL_TILES = registerBlock("pool_tiles",
|
public static final DeferredBlock<Block> POOL_TILES = registerBlock("pool_tiles",
|
||||||
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
|
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
|
||||||
.strength(5.0f, 6.0f)
|
.strength(5.0f, 6.0f)
|
||||||
@@ -24,9 +26,7 @@ public class ModBlocks {
|
|||||||
));
|
));
|
||||||
|
|
||||||
public static final DeferredBlock<Block> POOL_TILES1 = registerBlock("pool_tiles1",
|
public static final DeferredBlock<Block> POOL_TILES1 = registerBlock("pool_tiles1",
|
||||||
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
|
() -> new Block(BlockBehaviour.Properties.ofFullCopy(ModBlocks.POOL_TILES.get())
|
||||||
.strength(5.0f, 6.0f)
|
|
||||||
.noOcclusion()
|
|
||||||
));
|
));
|
||||||
|
|
||||||
//GRATES
|
//GRATES
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import net.minecraft.data.PackOutput;
|
|||||||
import net.neoforged.neoforge.common.data.LanguageProvider;
|
import net.neoforged.neoforge.common.data.LanguageProvider;
|
||||||
import ovh.glitchlabs.ornamentum.Ornamentum;
|
import ovh.glitchlabs.ornamentum.Ornamentum;
|
||||||
import ovh.glitchlabs.ornamentum.blocks.ModBlocks;
|
import ovh.glitchlabs.ornamentum.blocks.ModBlocks;
|
||||||
|
import ovh.glitchlabs.ornamentum.items.ModCreativeModeTabs;
|
||||||
import ovh.glitchlabs.ornamentum.items.ModItems;
|
import ovh.glitchlabs.ornamentum.items.ModItems;
|
||||||
|
|
||||||
public class ModLanguageProvider extends LanguageProvider {
|
public class ModLanguageProvider extends LanguageProvider {
|
||||||
@@ -59,6 +60,8 @@ public class ModLanguageProvider extends LanguageProvider {
|
|||||||
add(ModBlocks.POOL_TILES.get(), "Pool Tiles");
|
add(ModBlocks.POOL_TILES.get(), "Pool Tiles");
|
||||||
add(ModBlocks.POOL_TILES1.get(), "Pool Tiles");
|
add(ModBlocks.POOL_TILES1.get(), "Pool Tiles");
|
||||||
|
|
||||||
|
add("creativetab.ornamentum.ornamentum", "Ornamentum");
|
||||||
|
|
||||||
// Items
|
// Items
|
||||||
//add(ModItems.EXAMPLE_ITEM.get(), "Example Item");
|
//add(ModItems.EXAMPLE_ITEM.get(), "Example Item");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user