+ lang fix
This commit is contained in:
@@ -17,6 +17,8 @@ public class ModBlocks {
|
||||
public static final DeferredRegister.Blocks BLOCKS =
|
||||
DeferredRegister.createBlocks(Ornamentum.MODID);
|
||||
|
||||
//POOL TILES
|
||||
|
||||
public static final DeferredBlock<Block> POOL_TILES = registerBlock("pool_tiles",
|
||||
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
|
||||
.strength(5.0f, 6.0f)
|
||||
@@ -24,9 +26,7 @@ public class ModBlocks {
|
||||
));
|
||||
|
||||
public static final DeferredBlock<Block> POOL_TILES1 = registerBlock("pool_tiles1",
|
||||
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK)
|
||||
.strength(5.0f, 6.0f)
|
||||
.noOcclusion()
|
||||
() -> new Block(BlockBehaviour.Properties.ofFullCopy(ModBlocks.POOL_TILES.get())
|
||||
));
|
||||
|
||||
//GRATES
|
||||
|
||||
@@ -4,6 +4,7 @@ import net.minecraft.data.PackOutput;
|
||||
import net.neoforged.neoforge.common.data.LanguageProvider;
|
||||
import ovh.glitchlabs.ornamentum.Ornamentum;
|
||||
import ovh.glitchlabs.ornamentum.blocks.ModBlocks;
|
||||
import ovh.glitchlabs.ornamentum.items.ModCreativeModeTabs;
|
||||
import ovh.glitchlabs.ornamentum.items.ModItems;
|
||||
|
||||
public class ModLanguageProvider extends LanguageProvider {
|
||||
@@ -59,6 +60,8 @@ public class ModLanguageProvider extends LanguageProvider {
|
||||
add(ModBlocks.POOL_TILES.get(), "Pool Tiles");
|
||||
add(ModBlocks.POOL_TILES1.get(), "Pool Tiles");
|
||||
|
||||
add("creativetab.ornamentum.ornamentum", "Ornamentum");
|
||||
|
||||
// Items
|
||||
//add(ModItems.EXAMPLE_ITEM.get(), "Example Item");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user