Skip to content

Conversation

@ytdd9526
Copy link

先放者

Copy link
Collaborator

@balugaq balugaq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 请在 ExpansionItemsSetupUtil 中添加 MultiNetworkGrabber 的注册
QQ_1759400540123 QQ_1759400582691
  1. 请在zh-CN.yml中添加 MultiNetworkGrabber 的名称,lore,键名使用物品 ID
QQ_1759400459141
  1. 请在 ExpansionRecipes 中tia添加 MultiNetworkGrabber 的物品配方
QQ_1759400619509
  1. 使用网络配置棒时,实际上无法对 NetworkMultiDirectional 生效,但会显示设置成功
QQ_1759400715975 QQ_1759400755208

@NotNull SlimefunItemStack item,
@NotNull RecipeType recipeType,
ItemStack[] recipe) {
super(itemGroup, item, recipeType, recipe, NodeType.GRABBER);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

写一个新的NodeType.MULTI_GRABBER,而不是沿用 GRABBER

}

@Override
protected void onTick(@Nullable BlockMenu blockMenu, @NotNull Block block) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

添加注解@javax.annotation.OverridingMethodsMustInvokeSuper


addItem(
getNorthSlot(),
getMultiDirectionalSlotPane(BlockFace.NORTH, Material.AIR, false),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

init阶段不应将后续会替换为有效背景板的槽位设置为AIR,应当设置为Icon.GRAY_BACKGROUND或其他背景板,避免玩家过早放入物品导致物品丢失

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants