Avaritia:Reforged

Avaritia:Reforged

45.5k Downloads

[Enhancement/功能请求] More KubeJS Support

EvanHsieh0415 opened this issue · 1 comments

commented

Checks/检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

Description/描述

更進一步的 KubeJS 支援,
例如:

ServerEvents.recipes((event) => {
  event.recipes.avaritia.shaped_extreme(result: OutputItem_, ingredients: InputItem_[][]): Special.Recipes.ShapedExtremeAvaritia;
  event.recipes.avaritia.shaped_extreme(result: OutputItem_, pattern: string[], key: { [key in string]: InputItem_; }): Special.Recipes.ShapedExtremeAvaritia;

  event.recipes.avaritia.shapeless_extreme(result: OutputItem_, ingredients: InputItem_[]): Special.Recipes.ShapelessExtremeAvaritia;

  event.recipes.avaritia.compressor(result: OutputItem_, ingredient: InputItem_, timeCoust: number): Special.Recipes.CompressorAvaritia;

  event.recipes.avaritia.infinity_catalyst(ingredients: InputItem_[]): Special.Recipes.InfinityCatalyst;
});
StartupEvents.registry("item", (event) => {
  event.create(id: String, type: "avaritia:singularity").backgroundColor(color: Color_).CoverColor(color: Color_): Internal.SingularityItemBuilder;
})
commented

已修復,#105