
poboy975
Members-
Content Count
1 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout poboy975
-
Rank
Tree Puncher
-
poboy975 started following ClientRegistry.bindTileEntity question
-
Hello, I'm working on learning to mod. I do know a bit of java and c#. I'm looking for help updating the bond tile entity. The top section was me trying to update the bottom line. The bottom line works in 1.15. I've not found the right information yet to help me understand the changes in versions. Can anyone help? Thank you. Attempt to update: ClientRegistry.bindTileEntityRenderer((TileEntity<ModTypeTile>) ObjHandler.MOD_TYPE_TILE = RegistryEvent.Register("ModTypeTile", () -> TileEntityType.Builder(new ModTypeRenderer(new ResourceLocation(Mod.MODID, "textures/blocks/mod_item.png", )); Original Code 1.15: ClientRegistry.bindTileEntityRenderer((TileEntity<ModTypeTile>) ObjHandler.MOD_TYPE_TILE, dispatcher -> new ModTypeRenderer(dispatcher, new ResourceLocation(Mod.MODID, "textures/blocks/mod_item.png"), block -> block == ObjHandler.modtype));