Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public void showGUI(Player player) {
}

public void refreshGUI(int maxSize) {
refreshGUI(maxSize, true);
refreshGUI(maxSize, false);
}

public void refreshGUI(int maxSize, boolean cancelButton) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@

public class SlimeAEItemGroups {
public static final ItemStack MAIN_ITEM_GROUP_ICON =
new AdvancedCustomItemStack(Material.BLACK_STAINED_GLASS, "{#Spring_Green}应用能源2");
public static final ItemStack INFO_ICON = new AdvancedCustomItemStack(Material.BOOK, "&eSlimeAE信息");
new AdvancedCustomItemStack(Material.BLACK_STAINED_GLASS, "{#Spring_Green}应用能源2(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final ItemStack INFO_ICON = new AdvancedCustomItemStack(Material.BOOK, "&eSlimeAE信息(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final ItemStack CABLE_ICON =
new AdvancedCustomItemStack(SlimefunItems.ENERGY_CONNECTOR, "{#Vanilla_Ice}线缆");
new AdvancedCustomItemStack(SlimefunItems.ENERGY_CONNECTOR, "{#Vanilla_Ice}线缆(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final ItemStack MACHINE_ICON =
new AdvancedCustomItemStack(Material.BLACK_STAINED_GLASS, "{#Sky_Blue}机器");
new AdvancedCustomItemStack(Material.BLACK_STAINED_GLASS, "{#Sky_Blue}机器(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final ItemStack ADVANCED_MACHINE_ICON =
new AdvancedCustomItemStack(Material.BLACK_STAINED_GLASS, "{#FFD700}高级机器").doGlow();
new AdvancedCustomItemStack(Material.BLACK_STAINED_GLASS, "{#FFD700}高级机器(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)").doGlow();
public static final ItemStack MATERIAL_ICON = new AdvancedCustomItemStack(
Version.getCurrent().isEqualOrHigher(Version.v1_17_R1) ? Material.AMETHYST_CLUSTER : Material.QUARTZ,
"{#Fuchsia_Pink}材料");
public static final ItemStack CELL_ICON = new AdvancedCustomItemStack(Material.SLIME_BALL, "{#3366ff}元件");
public static final ItemStack TOOL_ICON = new AdvancedCustomItemStack(Material.BLAZE_ROD, "&e工具");
"{#Fuchsia_Pink}材料(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final ItemStack CELL_ICON = new AdvancedCustomItemStack(Material.SLIME_BALL, "{#3366ff}元件(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final ItemStack TOOL_ICON = new AdvancedCustomItemStack(Material.BLAZE_ROD, "&e工具(本附属问题较多包括但不限于空白物品/无法合成/吞物品服务器无法修复建议使用网络)");
public static final MainItemGroup MAIN_ITEM_GROUP =
new MainItemGroup(new NamespacedKey(SlimeAEPlugin.getInstance(), "main"), MAIN_ITEM_GROUP_ICON);
public static final DummyItemGroup INFO =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public class SlimeAEItems {
new AdvancedCustomItemStack(Material.PAPER),
"&e信息",
"",
"&e版本 " + SlimeAEPlugin.getInstance().getPluginVersion());
"&e版本 " + SlimeAEPlugin.getInstance().getPluginVersion(),
"&c&l请不要自行向SlimeAE开发者反馈问题,请优先前往服务器论坛反馈"
);
public static final SlimefunItemStack CONTRIBUTOR1 = new SlimefunItemStack(
"AE_CONTRIBUTOR1",
"85fffd0a33794006c5bacfc3082e70d59e96153f247ea3f787b559004515a02",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ private BlockBreakHandler onBlockBreak() {

@Override
public void onBlockBreak(@Nonnull Block b) {
removeHologram(b);

setItem(b, null);
setLocked(b, false);

removeHologram(b);
}
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private void handleItemClick(Player player, RecipeEntry recipeEntry, NetworkInfo
return false;
}
player.sendMessage(CMIChatColor.translate("&a&l成功规划了合成任务"));
task.refreshGUI(54);
task.refreshGUI(54, false);
task.start();
return false;
});
Expand Down