TileEntityType.register("oak_crate", Builder.create(TileEntityOakCrate::new)).setRegistryName(Main.MODID, "oak_crate"),
TileEntityType.register("spruce_crate", Builder.create(TileEntitySpruceCrate::new)).setRegistryName(Main.MODID, "spruce_crate"),
TileEntityType.register("birch_crate", Builder.create(TileEntityBirchCrate::new)).setRegistryName(Main.MODID, "birch_crate"),
TileEntityType.register("jungle_crate", Builder.create(TileEntityJungleCrate::new)).setRegistryName(Main.MODID, "jungle_crate"),
TileEntityType.register("acacia_crate", Builder.create(TileEntityAcaciaCrate::new)).setRegistryName(Main.MODID, "acacia_crate"),
TileEntityType.register("dark_oak_crate", Builder.create(TileEntityDarkOakCrate::new)).setRegistryName(Main.MODID, "dark_oak_crate")
ive tried doing this but i get a registry error (so obviously thats not how to register them)