我的世界Minecraft 1.19.2 Mod开发教程分享-26-BlockEntity的额外渲染
创建包和对应的类
创建renderer的和GemInfusingStationBlockEntityRenderer的类

在GemInfusingStationBlockEntity类中添加方法
写一个数据包
ItemStackSyncS2CPacket

注册包
注册渲染


测试
成功渲染

合成物品时候正常渲染

创建包和对应的类
创建renderer的和GemInfusingStationBlockEntityRenderer的类
在GemInfusingStationBlockEntity类中添加方法
写一个数据包
ItemStackSyncS2CPacket
注册包
注册渲染
测试
成功渲染
合成物品时候正常渲染