创建blockentity类、

创建如下的文件目录和类

类:GemInfusingStationBlockEntity


(资料图片仅供参考)

加入如下的代码

修改之前的GenInfusingBlock

让该方块继承于BaseEntityBlock方块。

在类中继续加入如下的代码

创建我们注册实体的类

ModBlockEntities

加上如下的代码

注册总线

GUI

创建如下的包和类

GemInfusingStationMenu

GemInfusingStationScreen

ModMenuTypes

GemInfusingStationMenu

ModMenuTypes

注册

TutorialMod

GemInfusingStationScreen

## 添加GUI图片

下载地址

/yt401/assets

TutorilaMOD

测试

可以看到创建成功,能处理我们的配方,并且具有进度条

破坏后物品会掉落

推荐内容