MinionTriggerBlock & More GUI
This commit is contained in:
@@ -21,7 +21,7 @@ public class MinionGui {
|
||||
|
||||
gui.setSlot(1, new GuiElementBuilder()
|
||||
.setItem(Items.COMMAND_BLOCK)
|
||||
.setName(Text.translatable("minions.gui.main.commands"))
|
||||
.setName(Text.translatable("minions.gui.main.instructions"))
|
||||
.setCallback((i, clickType, slotActionType) -> {
|
||||
InstructionGui.openInstructionMainMenu(minion, player);
|
||||
})
|
||||
@@ -50,14 +50,6 @@ public class MinionGui {
|
||||
gui.open();
|
||||
}
|
||||
|
||||
public static void openCommandsGui(ServerPlayerEntity player, MinionFakePlayer minion) {
|
||||
//CommandsGui.openServerModuleCommandGui(player, minion);
|
||||
}
|
||||
|
||||
public static void openProgrammingInventory(ServerPlayerEntity player, MinionFakePlayer minion) {
|
||||
|
||||
}
|
||||
|
||||
public static void openMinionInventory(ServerPlayerEntity player, MinionFakePlayer minion) {
|
||||
SimpleGui gui = new SimpleGui(ScreenHandlerType.GENERIC_9X5, player, false);
|
||||
gui.setTitle(Text.translatable("minions.gui.inventory.title", minion.getName()));
|
||||
|
||||
Reference in New Issue
Block a user