Jump to content

Now my mod crashes What happened?


Drachenbauer

Recommended Posts

Hello

 

As i added all concrete, terracotta and glazed terracotta-tiles to my my flat tiles mod, everything worked fine.

 

But since i added the wood tiles, i get this crash-error:

 

Quote

[m[32m[22:37:12] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:printToSYSOUT:103]: ---- Minecraft Crash Report ----

// You're mean.

Time: 02.02.20 22:29
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at net.minecraft.item.BlockItem.fillItemGroup(BlockItem.java:186) ~[forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar:?] {re:classloading}
    at net.minecraft.client.Minecraft.populateSearchTreeManager(Minecraft.java:563) ~[forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:434) ~[forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:164) ~[forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241] {}
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_241] {}
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) [forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.item.BlockItem.fillItemGroup(BlockItem.java:186)
    at net.minecraft.client.Minecraft.populateSearchTreeManager(Minecraft.java:563)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:434)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101)

-- System Details --
Details:
    Minecraft Version: 1.15.1
    Minecraft Version ID: 1.15.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_241, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 300702544 bytes (286 MB) / 1143472128 bytes (1090 MB) up to 1884815360 bytes (1797 MB)
    CPUs: 8
    JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
    ModLauncher: 5.0.0-milestone.4+67+b1a340b
    ModLauncher launch target: fmluserdevclient
    ModLauncher naming: mcp
    ModLauncher services:
        /eventbus-2.0.0-milestone.1-service.jar eventbus PLUGINSERVICE
        /forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE
        /forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE
        /accesstransformers-2.0.0-milestone.1-shadowed.jar accesstransformer PLUGINSERVICE
        /forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE
        /forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE
        /forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE
    FML: 30.0
    Forge: net.minecraftforge:30.0.41
    FML Language Providers:
        [email protected]
        minecraft@1
    Mod List:
        client-extra.jar Minecraft {[email protected] COMMON_SETUP}
        main Flat Tiles Mod {[email protected] COMMON_SETUP}
        forge-1.15.1-30.0.41_mapped_snapshot_20190719-1.14.3.jar Forge {[email protected] COMMON_SETUP}
    Launched Version: MOD_DEV
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4358, Intel
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    CPU: 8x Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
[m[32m[22:29:29] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:printToSYSOUT:103]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Mods\1_15_1\FlatTilesMod\run\.\crash-reports\crash-2020-02-02_22.29.29-client.txt
[m

 

this is my main-class:

package drachenbauer32.flattilesmod;

import java.util.Arrays;
import java.util.Comparator;
import java.util.List;

import com.google.common.collect.Ordering;

import drachenbauer32.flattilesmod.blocks.DyableTileBlock;
import drachenbauer32.flattilesmod.blocks.GlazedTerracottaTileBlock;
import drachenbauer32.flattilesmod.blocks.TileBlock;
import drachenbauer32.flattilesmod.init.FlatTilesBlocks;
import drachenbauer32.flattilesmod.init.FlatTilesItems;
import drachenbauer32.flattilesmod.util.FlatTilesItemGroup;
import drachenbauer32.flattilesmod.util.Reference;

import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.material.MaterialColor;
import net.minecraft.item.Rarity;
import net.minecraft.item.Item;
import net.minecraft.item.BlockItem;
import net.minecraft.item.DyeColor;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

@Mod(Reference.MOD_ID)
public class FlatTiles
{   
    public static Comparator<ItemStack> itemSorter;
    
    public FlatTiles() 
    {
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::clientRegistries);
        MinecraftForge.EVENT_BUS.register(this);
    }
    
    private void setup(final FMLCommonSetupEvent event)
    {
        List<Item> items = Arrays.asList(FlatTilesItems.acacia_log_tile,
                                         FlatTilesItems.acacia_wood_tile,
                                         FlatTilesItems.stripped_acacia_log_tile,
                                         FlatTilesItems.stripped_acacia_wood_tile,
                                         FlatTilesItems.acacia_planks_tile,
                                         FlatTilesItems.birch_log_tile,
                                         FlatTilesItems.birch_wood_tile,
                                         FlatTilesItems.stripped_birch_log_tile,
                                         FlatTilesItems.stripped_birch_wood_tile,
                                         FlatTilesItems.birch_planks_tile,
                                         FlatTilesItems.dark_oak_log_tile,
                                         FlatTilesItems.dark_oak_wood_tile,
                                         FlatTilesItems.stripped_dark_oak_log_tile,
                                         FlatTilesItems.stripped_dark_oak_wood_tile,
                                         FlatTilesItems.dark_oak_planks_tile,
                                         FlatTilesItems.jungle_log_tile,
                                         FlatTilesItems.jungle_wood_tile,
                                         FlatTilesItems.stripped_jungle_log_tile,
                                         FlatTilesItems.stripped_jungle_wood_tile,
                                         FlatTilesItems.jungle_planks_tile,
                                         FlatTilesItems.oak_log_tile,
                                         FlatTilesItems.oak_wood_tile,
                                         FlatTilesItems.stripped_oak_log_tile,
                                         FlatTilesItems.stripped_oak_wood_tile,
                                         FlatTilesItems.oak_planks_tile,
                                         FlatTilesItems.spruce_log_tile,
                                         FlatTilesItems.spruce_wood_tile,
                                         FlatTilesItems.stripped_spruce_log_tile,
                                         FlatTilesItems.stripped_spruce_wood_tile,
                                         FlatTilesItems.spruce_planks_tile,
                                         
                                         FlatTilesItems.red_concrete_tile,
                                         FlatTilesItems.orange_concrete_tile,
                                         FlatTilesItems.yellow_concrete_tile,
                                         FlatTilesItems.lime_concrete_tile,
                                         FlatTilesItems.cyan_concrete_tile,
                                         FlatTilesItems.blue_concrete_tile,
                                         FlatTilesItems.purple_concrete_tile,
                                         FlatTilesItems.magenta_concrete_tile,
                                         FlatTilesItems.pink_concrete_tile,
                                         FlatTilesItems.light_blue_concrete_tile,
                                         FlatTilesItems.green_concrete_tile,
                                         FlatTilesItems.brown_concrete_tile,
                                         FlatTilesItems.black_concrete_tile,
                                         FlatTilesItems.gray_concrete_tile,
                                         FlatTilesItems.light_gray_concrete_tile,
                                         FlatTilesItems.white_concrete_tile,
                                         FlatTilesItems.red_terracotta_tile,
                                         FlatTilesItems.orange_terracotta_tile,
                                         FlatTilesItems.yellow_terracotta_tile,
                                         FlatTilesItems.lime_terracotta_tile,
                                         FlatTilesItems.cyan_terracotta_tile,
                                         FlatTilesItems.blue_terracotta_tile,
                                         FlatTilesItems.purple_terracotta_tile,
                                         FlatTilesItems.magenta_terracotta_tile,
                                         FlatTilesItems.pink_terracotta_tile,
                                         FlatTilesItems.light_blue_terracotta_tile,
                                         FlatTilesItems.green_terracotta_tile,
                                         FlatTilesItems.brown_terracotta_tile,
                                         FlatTilesItems.black_terracotta_tile,
                                         FlatTilesItems.gray_terracotta_tile,
                                         FlatTilesItems.light_gray_terracotta_tile,
                                         FlatTilesItems.white_terracotta_tile,
                                         FlatTilesItems.red_glazed_terracotta_tile,
                                         FlatTilesItems.orange_glazed_terracotta_tile,
                                         FlatTilesItems.yellow_glazed_terracotta_tile,
                                         FlatTilesItems.lime_glazed_terracotta_tile,
                                         FlatTilesItems.cyan_glazed_terracotta_tile,
                                         FlatTilesItems.blue_glazed_terracotta_tile,
                                         FlatTilesItems.purple_glazed_terracotta_tile,
                                         FlatTilesItems.magenta_glazed_terracotta_tile,
                                         FlatTilesItems.pink_glazed_terracotta_tile,
                                         FlatTilesItems.light_blue_glazed_terracotta_tile,
                                         FlatTilesItems.green_glazed_terracotta_tile,
                                         FlatTilesItems.brown_glazed_terracotta_tile,
                                         FlatTilesItems.black_glazed_terracotta_tile,
                                         FlatTilesItems.gray_glazed_terracotta_tile,
                                         FlatTilesItems.light_gray_glazed_terracotta_tile,
                                         FlatTilesItems.white_glazed_terracotta_tile);
        
        itemSorter = Ordering.explicit(items).onResultOf(ItemStack::getItem);
    }
    
    private void clientRegistries(final FMLClientSetupEvent event)
    {
        
    }
    
    @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)
    public static class RegistryEvents
    {
        public static final ItemGroup FLAT_TILES = new FlatTilesItemGroup();
        
        @SubscribeEvent
        public static void registerBlocks(final RegistryEvent.Register<Block> event)
        {
            event.getRegistry().registerAll(FlatTilesBlocks.black_concrete_tile = new DyableTileBlock("black_concrete_tile", DyeColor.BLACK,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BLACK).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.blue_concrete_tile = new DyableTileBlock("blue_concrete_tile", DyeColor.BLUE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BLUE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.brown_concrete_tile = new DyableTileBlock("brown_concrete_tile", DyeColor.BROWN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BROWN).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.cyan_concrete_tile = new DyableTileBlock("cyan_concrete_tile", DyeColor.CYAN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.CYAN).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.gray_concrete_tile = new DyableTileBlock("gray_concrete_tile", DyeColor.GRAY,
                                            Block.Properties.create(Material.ROCK, MaterialColor.GRAY).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.green_concrete_tile = new DyableTileBlock("green_concrete_tile", DyeColor.GREEN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.GREEN).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.light_blue_concrete_tile = new DyableTileBlock("light_blue_concrete_tile", DyeColor.LIGHT_BLUE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIGHT_BLUE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.light_gray_concrete_tile = new DyableTileBlock("light_gray_concrete_tile", DyeColor.LIGHT_GRAY,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIGHT_GRAY).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.lime_concrete_tile = new DyableTileBlock("lime_concrete_tile", DyeColor.LIME,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIME).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.magenta_concrete_tile = new DyableTileBlock("magenta_concrete_tile", DyeColor.MAGENTA,
                                            Block.Properties.create(Material.ROCK, MaterialColor.MAGENTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.orange_concrete_tile = new DyableTileBlock("orange_concrete_tile", DyeColor.ORANGE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.ADOBE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.pink_concrete_tile = new DyableTileBlock("pink_concrete_tile", DyeColor.PINK,
                                            Block.Properties.create(Material.ROCK, MaterialColor.PINK).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.purple_concrete_tile = new DyableTileBlock("purple_concrete_tile", DyeColor.PURPLE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.PURPLE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.red_concrete_tile = new DyableTileBlock("red_concrete_tile", DyeColor.RED,
                                            Block.Properties.create(Material.ROCK, MaterialColor.RED).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.white_concrete_tile = new DyableTileBlock("white_concrete_tile", DyeColor.WHITE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.SNOW).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.yellow_concrete_tile = new DyableTileBlock("yellow_concrete_tile", DyeColor.YELLOW,
                                            Block.Properties.create(Material.ROCK, MaterialColor.YELLOW).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.8f, 9f).variableOpacity()),
                                            FlatTilesBlocks.black_terracotta_tile = new DyableTileBlock("black_terracotta_tile", DyeColor.BLACK,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BLACK_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.blue_terracotta_tile = new DyableTileBlock("blue_terracotta_tile", DyeColor.BLUE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BLUE_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.brown_terracotta_tile = new DyableTileBlock("brown_terracotta_tile", DyeColor.BROWN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BROWN_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.cyan_terracotta_tile = new DyableTileBlock("cyan_terracotta_tile", DyeColor.CYAN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.CYAN_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.gray_terracotta_tile = new DyableTileBlock("gray_terracotta_tile", DyeColor.GRAY,
                                            Block.Properties.create(Material.ROCK, MaterialColor.GRAY_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.green_terracotta_tile = new DyableTileBlock("green_terracotta_tile", DyeColor.GREEN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.GREEN_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.light_blue_terracotta_tile = new DyableTileBlock("light_blue_terracotta_tile", DyeColor.LIGHT_BLUE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIGHT_BLUE_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.light_gray_terracotta_tile = new DyableTileBlock("light_gray_terracotta_tile", DyeColor.LIGHT_GRAY,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIGHT_GRAY_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.lime_terracotta_tile = new DyableTileBlock("lime_terracotta_tile", DyeColor.LIME,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIME_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.magenta_terracotta_tile = new DyableTileBlock("magenta_terracotta_tile", DyeColor.MAGENTA,
                                            Block.Properties.create(Material.ROCK, MaterialColor.MAGENTA_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.orange_terracotta_tile = new DyableTileBlock("orange_terracotta_tile", DyeColor.ORANGE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.ORANGE_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.pink_terracotta_tile = new DyableTileBlock("pink_terracotta_tile", DyeColor.PINK,
                                            Block.Properties.create(Material.ROCK, MaterialColor.PINK_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.purple_terracotta_tile = new DyableTileBlock("purple_terracotta_tile", DyeColor.PURPLE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.PURPLE_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.red_terracotta_tile = new DyableTileBlock("red_terracotta_tile", DyeColor.RED,
                                            Block.Properties.create(Material.ROCK, MaterialColor.RED_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.white_terracotta_tile = new DyableTileBlock("white_terracotta_tile", DyeColor.WHITE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.WHITE_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.yellow_terracotta_tile = new DyableTileBlock("yellow_terracotta_tile", DyeColor.YELLOW,
                                            Block.Properties.create(Material.ROCK, MaterialColor.YELLOW_TERRACOTTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.25f, 21f).variableOpacity()),
                                            FlatTilesBlocks.black_glazed_terracotta_tile = new GlazedTerracottaTileBlock("black_glazed_terracotta_tile", DyeColor.BLACK,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BLACK).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.blue_glazed_terracotta_tile = new GlazedTerracottaTileBlock("blue_glazed_terracotta_tile", DyeColor.BLUE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BLUE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.brown_glazed_terracotta_tile = new GlazedTerracottaTileBlock("brown_glazed_terracotta_tile", DyeColor.BROWN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.BROWN).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.cyan_glazed_terracotta_tile = new GlazedTerracottaTileBlock("cyan_glazed_terracotta_tile", DyeColor.CYAN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.CYAN).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.gray_glazed_terracotta_tile = new GlazedTerracottaTileBlock("gray_glazed_terracotta_tile", DyeColor.GRAY,
                                            Block.Properties.create(Material.ROCK, MaterialColor.GRAY).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.green_glazed_terracotta_tile = new GlazedTerracottaTileBlock("green_glazed_terracotta_tile", DyeColor.GREEN,
                                            Block.Properties.create(Material.ROCK, MaterialColor.GREEN).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.light_blue_glazed_terracotta_tile = new GlazedTerracottaTileBlock("light_blue_glazed_terracotta_tile", DyeColor.LIGHT_BLUE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIGHT_BLUE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.light_gray_glazed_terracotta_tile = new GlazedTerracottaTileBlock("light_gray_glazed_terracotta_tile", DyeColor.LIGHT_GRAY,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIGHT_GRAY).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.lime_glazed_terracotta_tile = new GlazedTerracottaTileBlock("lime_glazed_terracotta_tile", DyeColor.LIME,
                                            Block.Properties.create(Material.ROCK, MaterialColor.LIME).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.magenta_glazed_terracotta_tile = new GlazedTerracottaTileBlock("magenta_glazed_terracotta_tile", DyeColor.MAGENTA,
                                            Block.Properties.create(Material.ROCK, MaterialColor.MAGENTA).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.orange_glazed_terracotta_tile = new GlazedTerracottaTileBlock("orange_glazed_terracotta_tile", DyeColor.ORANGE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.ADOBE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.pink_glazed_terracotta_tile = new GlazedTerracottaTileBlock("pink_glazed_terracotta_tile", DyeColor.PINK,
                                            Block.Properties.create(Material.ROCK, MaterialColor.PINK).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.purple_glazed_terracotta_tile = new GlazedTerracottaTileBlock("purple_glazed_terracotta_tile", DyeColor.PURPLE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.PURPLE).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.red_glazed_terracotta_tile = new GlazedTerracottaTileBlock("red_glazed_terracotta_tile", DyeColor.RED,
                                            Block.Properties.create(Material.ROCK, MaterialColor.RED).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.white_glazed_terracotta_tile = new GlazedTerracottaTileBlock("white_glazed_terracotta_tile", DyeColor.WHITE,
                                            Block.Properties.create(Material.ROCK, MaterialColor.SNOW).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            FlatTilesBlocks.yellow_glazed_terracotta_tile = new GlazedTerracottaTileBlock("yellow_glazed_terracotta_tile", DyeColor.YELLOW,
                                            Block.Properties.create(Material.ROCK, MaterialColor.YELLOW).sound(SoundType.STONE).
                                            lightValue(0).hardnessAndResistance(1.4f, 7f).variableOpacity()),
                                            
                                            FlatTilesBlocks.acacia_log_tile = new TileBlock("acacia_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.birch_log_tile = new TileBlock("birch_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.dark_oak_log_tile = new TileBlock("dark_oak_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.jungle_log_tile = new TileBlock("jungle_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.oak_log_tile = new TileBlock("oak_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.spruce_log_tile = new TileBlock("spruce_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.acacia_wood_tile = new TileBlock("acacia_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.birch_wood_tile = new TileBlock("birch_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.dark_oak_wood_tile = new TileBlock("dark_oak_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.jungle_wood_tile = new TileBlock("jungle_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.oak_wood_tile = new TileBlock("oak_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.spruce_wood_tile = new TileBlock("spruce_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_acacia_log_tile = new TileBlock("stripped_acacia_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_birch_log_tile = new TileBlock("stripped_birch_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_dark_oak_log_tile = new TileBlock("stripped_dark_oak_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_jungle_log_tile = new TileBlock("stripped_jungle_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_oak_log_tile = new TileBlock("stripped_oak_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_spruce_log_tile = new TileBlock("stripped_spruce_log_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_acacia_wood_tile = new TileBlock("stripped_acacia_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_birch_wood_tile = new TileBlock("stripped_birch_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.dark_oak_wood_tile = new TileBlock("stripped_dark_oak_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_jungle_wood_tile = new TileBlock("stripped_jungle_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_oak_wood_tile = new TileBlock("stripped_oak_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.stripped_spruce_wood_tile = new TileBlock("stripped_spruce_wood_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 10f).variableOpacity()),
                                            FlatTilesBlocks.acacia_planks_tile = new TileBlock("acacia_planks_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 15f).variableOpacity()),
                                            FlatTilesBlocks.birch_planks_tile = new TileBlock("birch_planks_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 15f).variableOpacity()),
                                            FlatTilesBlocks.dark_oak_planks_tile = new TileBlock("dark_oak_planks_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 15f).variableOpacity()),
                                            FlatTilesBlocks.jungle_planks_tile = new TileBlock("jungle_planks_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 15f).variableOpacity()),
                                            FlatTilesBlocks.oak_planks_tile = new TileBlock("oak_planks_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 15f).variableOpacity()),
                                            FlatTilesBlocks.spruce_planks_tile = new TileBlock("spruce_planks_tile",
                                            Block.Properties.create(Material.WOOD, MaterialColor.WOOD).sound(SoundType.WOOD).
                                            lightValue(0).hardnessAndResistance(2f, 15f).variableOpacity()));
        }
        
        @SubscribeEvent
        public static void registerItems(final RegistryEvent.Register<Item> event)
        {
            event.getRegistry().registerAll(FlatTilesItems.black_concrete_tile = new BlockItem(FlatTilesBlocks.black_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("black_concrete_tile"),
                                            FlatTilesItems.blue_concrete_tile = new BlockItem(FlatTilesBlocks.blue_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("blue_concrete_tile"),
                                            FlatTilesItems.brown_concrete_tile = new BlockItem(FlatTilesBlocks.brown_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("brown_concrete_tile"),
                                            FlatTilesItems.cyan_concrete_tile = new BlockItem(FlatTilesBlocks.cyan_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("cyan_concrete_tile"),
                                            FlatTilesItems.gray_concrete_tile = new BlockItem(FlatTilesBlocks.gray_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("gray_concrete_tile"),
                                            FlatTilesItems.green_concrete_tile = new BlockItem(FlatTilesBlocks.green_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("green_concrete_tile"),
                                            FlatTilesItems.light_blue_concrete_tile = new BlockItem(FlatTilesBlocks.light_blue_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("light_blue_concrete_tile"),
                                            FlatTilesItems.light_gray_concrete_tile = new BlockItem(FlatTilesBlocks.light_gray_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("light_gray_concrete_tile"),
                                            FlatTilesItems.lime_concrete_tile = new BlockItem(FlatTilesBlocks.lime_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("lime_concrete_tile"),
                                            FlatTilesItems.magenta_concrete_tile = new BlockItem(FlatTilesBlocks.magenta_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("magenta_concrete_tile"),
                                            FlatTilesItems.orange_concrete_tile = new BlockItem(FlatTilesBlocks.orange_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("orange_concrete_tile"),
                                            FlatTilesItems.pink_concrete_tile = new BlockItem(FlatTilesBlocks.pink_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("pink_concrete_tile"),
                                            FlatTilesItems.purple_concrete_tile = new BlockItem(FlatTilesBlocks.purple_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("purple_concrete_tile"),
                                            FlatTilesItems.red_concrete_tile = new BlockItem(FlatTilesBlocks.red_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("red_concrete_tile"),
                                            FlatTilesItems.white_concrete_tile = new BlockItem(FlatTilesBlocks.white_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("white_concrete_tile"),
                                            FlatTilesItems.yellow_concrete_tile = new BlockItem(FlatTilesBlocks.yellow_concrete_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("yellow_concrete_tile"),
                                            FlatTilesItems.black_terracotta_tile = new BlockItem(FlatTilesBlocks.black_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("black_terracotta_tile"),
                                            FlatTilesItems.blue_terracotta_tile = new BlockItem(FlatTilesBlocks.blue_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("blue_terracotta_tile"),
                                            FlatTilesItems.brown_terracotta_tile = new BlockItem(FlatTilesBlocks.brown_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("brown_terracotta_tile"),
                                            FlatTilesItems.cyan_terracotta_tile = new BlockItem(FlatTilesBlocks.cyan_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("cyan_terracotta_tile"),
                                            FlatTilesItems.gray_terracotta_tile = new BlockItem(FlatTilesBlocks.gray_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("gray_terracotta_tile"),
                                            FlatTilesItems.green_terracotta_tile = new BlockItem(FlatTilesBlocks.green_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("green_terracotta_tile"),
                                            FlatTilesItems.light_blue_terracotta_tile = new BlockItem(FlatTilesBlocks.light_blue_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("light_blue_terracotta_tile"),
                                            FlatTilesItems.light_gray_terracotta_tile = new BlockItem(FlatTilesBlocks.light_gray_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("light_gray_terracotta_tile"),
                                            FlatTilesItems.lime_terracotta_tile = new BlockItem(FlatTilesBlocks.lime_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("lime_terracotta_tile"),
                                            FlatTilesItems.magenta_terracotta_tile = new BlockItem(FlatTilesBlocks.magenta_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("magenta_terracotta_tile"),
                                            FlatTilesItems.orange_terracotta_tile = new BlockItem(FlatTilesBlocks.orange_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("orange_terracotta_tile"),
                                            FlatTilesItems.pink_terracotta_tile = new BlockItem(FlatTilesBlocks.pink_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("pink_terracotta_tile"),
                                            FlatTilesItems.purple_terracotta_tile = new BlockItem(FlatTilesBlocks.purple_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("purple_terracotta_tile"),
                                            FlatTilesItems.red_terracotta_tile = new BlockItem(FlatTilesBlocks.red_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("red_terracotta_tile"),
                                            FlatTilesItems.white_terracotta_tile = new BlockItem(FlatTilesBlocks.white_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("white_terracotta_tile"),
                                            FlatTilesItems.yellow_terracotta_tile = new BlockItem(FlatTilesBlocks.yellow_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("yellow_terracotta_tile"),
                                            FlatTilesItems.black_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.black_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("black_glazed_terracotta_tile"),
                                            FlatTilesItems.blue_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.blue_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("blue_glazed_terracotta_tile"),
                                            FlatTilesItems.brown_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.brown_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("brown_glazed_terracotta_tile"),
                                            FlatTilesItems.cyan_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.cyan_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("cyan_glazed_terracotta_tile"),
                                            FlatTilesItems.gray_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.gray_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("gray_glazed_terracotta_tile"),
                                            FlatTilesItems.green_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.green_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("green_glazed_terracotta_tile"),
                                            FlatTilesItems.light_blue_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.light_blue_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("light_blue_glazed_terracotta_tile"),
                                            FlatTilesItems.light_gray_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.light_gray_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("light_gray_glazed_terracotta_tile"),
                                            FlatTilesItems.lime_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.lime_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("lime_glazed_terracotta_tile"),
                                            FlatTilesItems.magenta_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.magenta_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("magenta_glazed_terracotta_tile"),
                                            FlatTilesItems.orange_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.orange_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("orange_glazed_terracotta_tile"),
                                            FlatTilesItems.pink_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.pink_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("pink_glazed_terracotta_tile"),
                                            FlatTilesItems.purple_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.purple_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("purple_glazed_terracotta_tile"),
                                            FlatTilesItems.red_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.red_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("red_glazed_terracotta_tile"),
                                            FlatTilesItems.white_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.white_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("white_glazed_terracotta_tile"),
                                            FlatTilesItems.yellow_glazed_terracotta_tile = new BlockItem(FlatTilesBlocks.yellow_glazed_terracotta_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("yellow_glazed_terracotta_tile"),
                                            
                                            FlatTilesItems.acacia_log_tile = new BlockItem(FlatTilesBlocks.acacia_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("acacia_log_tile"),
                                            FlatTilesItems.birch_log_tile = new BlockItem(FlatTilesBlocks.birch_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("birch_log_tile"),
                                            FlatTilesItems.dark_oak_log_tile = new BlockItem(FlatTilesBlocks.dark_oak_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("dark_oak_log_tile"),
                                            FlatTilesItems.jungle_log_tile = new BlockItem(FlatTilesBlocks.jungle_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("jungle_log_tile"),
                                            FlatTilesItems.oak_log_tile = new BlockItem(FlatTilesBlocks.oak_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("oak_log_tile"),
                                            FlatTilesItems.spruce_log_tile = new BlockItem(FlatTilesBlocks.spruce_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("spruce_log_tile"),
                                            FlatTilesItems.acacia_wood_tile = new BlockItem(FlatTilesBlocks.acacia_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("acacia_wood_tile"),
                                            FlatTilesItems.birch_wood_tile = new BlockItem(FlatTilesBlocks.birch_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("birch_wood_tile"),
                                            FlatTilesItems.dark_oak_wood_tile = new BlockItem(FlatTilesBlocks.dark_oak_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("dark_oak_wood_tile"),
                                            FlatTilesItems.jungle_wood_tile = new BlockItem(FlatTilesBlocks.jungle_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("jungle_wood_tile"),
                                            FlatTilesItems.oak_wood_tile = new BlockItem(FlatTilesBlocks.oak_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("oak_wood_tile"),
                                            FlatTilesItems.spruce_wood_tile = new BlockItem(FlatTilesBlocks.spruce_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("spruce_wood_tile"),
                                            FlatTilesItems.stripped_acacia_log_tile = new BlockItem(FlatTilesBlocks.stripped_acacia_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_acacia_log_tile"),
                                            FlatTilesItems.stripped_birch_log_tile = new BlockItem(FlatTilesBlocks.stripped_birch_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_birch_log_tile"),
                                            FlatTilesItems.stripped_dark_oak_log_tile = new BlockItem(FlatTilesBlocks.stripped_dark_oak_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_dark_oak_log_tile"),
                                            FlatTilesItems.stripped_jungle_log_tile = new BlockItem(FlatTilesBlocks.stripped_jungle_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_jungle_log_tile"),
                                            FlatTilesItems.stripped_oak_log_tile = new BlockItem(FlatTilesBlocks.stripped_oak_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_oak_log_tile"),
                                            FlatTilesItems.stripped_spruce_log_tile = new BlockItem(FlatTilesBlocks.stripped_spruce_log_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_spruce_log_tile"),
                                            FlatTilesItems.stripped_acacia_wood_tile = new BlockItem(FlatTilesBlocks.stripped_acacia_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_acacia_wood_tile"),
                                            FlatTilesItems.stripped_birch_wood_tile = new BlockItem(FlatTilesBlocks.stripped_birch_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_birch_wood_tile"),
                                            FlatTilesItems.stripped_dark_oak_wood_tile = new BlockItem(FlatTilesBlocks.stripped_dark_oak_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_dark_oak_wood_tile"),
                                            FlatTilesItems.stripped_jungle_wood_tile = new BlockItem(FlatTilesBlocks.stripped_jungle_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_jungle_wood_tile"),
                                            FlatTilesItems.stripped_oak_wood_tile = new BlockItem(FlatTilesBlocks.stripped_oak_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_oak_wood_tile"),
                                            FlatTilesItems.stripped_spruce_wood_tile = new BlockItem(FlatTilesBlocks.stripped_spruce_wood_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("stripped_spruce_wood_tile"),
                                            FlatTilesItems.acacia_planks_tile = new BlockItem(FlatTilesBlocks.acacia_planks_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("acacia_planks_tile"),
                                            FlatTilesItems.birch_planks_tile = new BlockItem(FlatTilesBlocks.birch_planks_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("birch_planks_tile"),
                                            FlatTilesItems.dark_oak_planks_tile = new BlockItem(FlatTilesBlocks.dark_oak_planks_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("dark_oak_planks_tile"),
                                            FlatTilesItems.jungle_planks_tile = new BlockItem(FlatTilesBlocks.jungle_planks_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("jungle_planks_tile"),
                                            FlatTilesItems.oak_planks_tile = new BlockItem(FlatTilesBlocks.oak_planks_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("oak_planks_tile"),
                                            FlatTilesItems.spruce_planks_tile = new BlockItem(FlatTilesBlocks.spruce_planks_tile,
                                            new Item.Properties().defaultMaxDamage(0).group(FLAT_TILES).maxStackSize(64).rarity(Rarity.COMMON).
                                            setNoRepair()).setRegistryName("spruce_planks_tile"));
        }
    }
}

 

In the error i see nothing about my own classes.

So i cannot find out, why it happens...

 

Edit:

i noticed, that one of my wooden tile-blocks was registered with the wrong block-name, so it replaced another one, instead of being a new one and the matching item had no block for it.

Edited by Drachenbauer
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.