Jump to content

[1.20.1] [SOLVED] Mod Config Screen disables keys after exiting


Zeher_Monkey

Recommended Posts

So this has been an issue for me for a while, but I would like to have it resolved now. I have tried a myriad of things to fix it.

Basically when I open the config screen for my mod, everything works as normal. However once I exit the screen, all keys are disabled, WASD, E for inventory etc. ESC still works, but my character cannot move or open the inventory. Any help would be appreciated :)

Exiting to the main menu and then returning to the game also does nothing, the game has to be fully closed and restarted.

 

ModBusManager.java

Spoiler
@OnlyIn(Dist.CLIENT)
public static void registerClient(ModLoadingContext context) {
	context.registerExtensionPoint(ConfigScreenFactory.class, () -> new ConfigScreenFactory((mc, screen) -> { return new ScreenConfiguration(screen); }));
}

 

ScreenConfiguration.java

Spoiler
package com.tcn.dimensionalpocketsii.client.screen;

import java.io.File;
import java.util.List;
import java.util.Optional;

import javax.annotation.Nullable;

import com.google.common.collect.ImmutableList;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionBoolean;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionBoolean.TYPE;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionInstance;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionListElement;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionListTextEntry;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionTitle;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptions;
import com.tcn.cosmoslibrary.client.ui.screen.option.CosmosOptionsList;
import com.tcn.cosmoslibrary.common.lib.ComponentColour;
import com.tcn.cosmoslibrary.common.lib.ComponentHelper;
import com.tcn.dimensionalpocketsii.core.management.ConfigurationManager;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiGraphics;
import net.minecraft.client.gui.components.AbstractWidget;
import net.minecraft.client.gui.components.Button;
import net.minecraft.client.gui.components.events.GuiEventListener;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.network.chat.Style;
import net.minecraft.util.FormattedCharSequence;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.client.ConfigScreenHandler.ConfigScreenFactory;

@SuppressWarnings("unused")
@OnlyIn(Dist.CLIENT)
public final class ScreenConfiguration extends Screen {

	private final Screen PARENT_SCREEN;

	private final int TITLE_HEIGHT = 8;

	private final int OPTIONS_LIST_TOP_HEIGHT = 24;
	private final int OPTIONS_LIST_BOTTOM_OFFSET = 32;
	private final int OPTIONS_LIST_ITEM_HEIGHT = 25;
	private final int OPTIONS_LIST_BUTTON_HEIGHT = 20;
	private final int OPTIONS_LIST_WIDTH = 335;

	private final int BIG_WIDTH = 310;
	private final int SMALL_WIDTH = 150;
	
	private final int DONE_BUTTON_TOP_OFFSET = 26;
	
	private CosmosOptionsList OPTIONS_ROW_LIST;
	private String CURRENT_SCREEN = "home";

	private final ComponentColour DESC_COLOUR = ComponentColour.LIGHT_GRAY;
	
	private CosmosOptionListTextEntry EDIT_BOX_BLOCKS;
	private CosmosOptionListTextEntry EDIT_BOX_ITEMS;
	private CosmosOptionListTextEntry EDIT_BOX_COMMANDS;
	
	private Button closeButton;
	
	public ScreenConfiguration(Screen parentScreenIn) {
		super(ComponentHelper.style(ComponentColour.POCKET_PURPLE_GUI, "boldunderline", "dimensionalpocketsii.gui.config.name"));

		this.PARENT_SCREEN = parentScreenIn;
		
		this.EDIT_BOX_BLOCKS = new CosmosOptionListTextEntry(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "", ""), true, ComponentHelper.style(ComponentColour.GREEN, "bold", "+"), ComponentHelper.style(ComponentColour.GREEN, "", "dimensionalpocketsii.gui.config.add"), (button) -> {  }, (button) -> { return button.get(); });
		this.EDIT_BOX_ITEMS = new CosmosOptionListTextEntry(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "", ""), true, ComponentHelper.style(ComponentColour.GREEN, "bold", "+"), ComponentHelper.style(ComponentColour.GREEN, "", "dimensionalpocketsii.gui.config.add"), (button) -> {  }, (button) -> { return button.get(); });
		this.EDIT_BOX_COMMANDS = new CosmosOptionListTextEntry(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "", ""), true, ComponentHelper.style(ComponentColour.GREEN, "bold", "+"), ComponentHelper.style(ComponentColour.GREEN, "", "dimensionalpocketsii.gui.config.add"), (button) -> {  }, (button) -> { return button.get(); });
	}
	
	@Override
	protected void init() {
		//this.minecraft.keyboardHandler.setSendRepeatsToGui(true);
		
		if (this.CURRENT_SCREEN == "home") {
			this.initOptions();
	
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.general_title"))
			);
			
			this.OPTIONS_ROW_LIST.addBig(
				CosmosOptionInstance.createIntSlider(ComponentHelper.style(ComponentColour.ORANGE, "dimensionalpocketsii.gui.config.height"),
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.height_info"), 
							ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.height_info_two")
					), 
					ConfigurationManager.getInstance().getInternalHeight(), 15, 255, 15,
					ComponentColour.WHITE, ComponentHelper.style(ComponentColour.GREEN, "Min"), ComponentHelper.style(ComponentColour.DARK_YELLOW, "Blocks"), ComponentHelper.style(ComponentColour.RED, "Max"), (intValue) -> {
					ConfigurationManager.getInstance().setInternalHeight(intValue);
				})
			);

			this.OPTIONS_ROW_LIST.addBig(
				CosmosOptionInstance.createIntSlider(ComponentHelper.style(ComponentColour.ORANGE, "dimensionalpocketsii.gui.config.height_enhanced"),
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.height_enhanced_info"), 
							ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.height_enhanced_info_two")
					), 
					ConfigurationManager.getInstance().getInternalHeightEnhanced(), 31, 255, 31,
					ComponentColour.WHITE, ComponentHelper.style(ComponentColour.GREEN, "Min"), ComponentHelper.style(ComponentColour.DARK_YELLOW, "Blocks"), ComponentHelper.style(ComponentColour.RED, "Max"), (intValue) -> {
					ConfigurationManager.getInstance().setInternalHeightEnhanced(intValue);
				})
			);
			
			this.OPTIONS_ROW_LIST.addBig(
				CosmosOptionInstance.createIntSlider(ComponentHelper.style(ComponentColour.ORANGE, "dimensionalpocketsii.gui.config.jump_range"),
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.jump_range_info"), 
							ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.jump_range_info_two")
					), 
					ConfigurationManager.getInstance().getFocusJumpRange(), 4, 32, 12,
					ComponentColour.WHITE, ComponentHelper.style(ComponentColour.GREEN, "Min"), ComponentHelper.style(ComponentColour.DARK_YELLOW, "Blocks"), ComponentHelper.style(ComponentColour.RED, "Max"), (intValue) -> {
					ConfigurationManager.getInstance().setFocusJumpRange(intValue);
				})
			);
			
			this.OPTIONS_ROW_LIST.addSmall(
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.use_structures", TYPE.YES_NO,
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.use_structures_info"), ComponentHelper.style(ComponentColour.LIME, "dimensionalpocketsii.gui.config.use_structures_info_two")),
					ConfigurationManager.getInstance().getCanPlaceStructures(),
					(newValue) -> ConfigurationManager.getInstance().setCanPlaceStructures(newValue), ":"
				),
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.use_items", TYPE.YES_NO,
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.use_items_info"), ComponentHelper.style(ComponentColour.LIME, "dimensionalpocketsii.gui.config.use_items_info_two")),
					ConfigurationManager.getInstance().getCanUseItems(),
					(newValue) -> ConfigurationManager.getInstance().setCanUseItems(newValue), ":"
				)
			);
			
			this.OPTIONS_ROW_LIST.addSmall(
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.use_commands", TYPE.YES_NO,
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.use_commands_info"), ComponentHelper.style(ComponentColour.LIME, "dimensionalpocketsii.gui.config.use_commands_info_two")),
					ConfigurationManager.getInstance().getCanUseCommands(),
					(newValue) -> ConfigurationManager.getInstance().setCanUseCommands(newValue), ":"
				),
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.chunks", TYPE.ON_OFF,
					CosmosOptionInstance.getTooltipSplitComponent( ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.chunks_info")),
					ConfigurationManager.getInstance().getKeepChunksLoaded(), 
					(newValue) -> ConfigurationManager.getInstance().setKeepChunksLoaded(newValue), ":"
				)
			);
	
			this.OPTIONS_ROW_LIST.addSmall(
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.replace", TYPE.YES_NO, 
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.replace_info")),
					ConfigurationManager.getInstance().getInternalReplace(),
					(newValue) -> ConfigurationManager.getInstance().setInternalReplace(newValue), ":"
				),
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.hostile", TYPE.YES_NO, 
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.hostile_info")),
					ConfigurationManager.getInstance().getStopHostileSpawns(),
					(newValue) -> ConfigurationManager.getInstance().setStopHostileSpawns(newValue), ":"
				)
			);
			
			this.OPTIONS_ROW_LIST.addSmall(
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.walls", TYPE.YES_NO,
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.walls_info")),
					ConfigurationManager.getInstance().getCanDestroyWalls(),
					(newValue) -> ConfigurationManager.getInstance().setCanDestroyWalls(newValue), ":"
				),
				new CosmosOptionBoolean(
					ComponentColour.ORANGE, "", "dimensionalpocketsii.gui.config.backups", TYPE.YES_NO,
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.backups_info")),
					ConfigurationManager.getInstance().getCreateBackups(),
					(newValue) -> ConfigurationManager.getInstance().setCreateBackups(newValue), ":"
				)
			);
	
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.messages_title"))
			);
			
			this.OPTIONS_ROW_LIST.addSmall(
				new CosmosOptionBoolean(
					ComponentColour.CYAN, "", "dimensionalpocketsii.gui.config.message.info", TYPE.ON_OFF, 
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.message.info_DESC_COLOUR"), ComponentHelper.style(ComponentColour.RED, "bold", "dimensionalpocketsii.gui.config.message.restart")),
					ConfigurationManager.getInstance().getInfoMessage(),
					(newValue) -> ConfigurationManager.getInstance().setInfoMessage(newValue), ":"
				),
				new CosmosOptionBoolean(
					ComponentColour.CYAN, "", "dimensionalpocketsii.gui.config.message.debug", TYPE.ON_OFF, 
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.message.debug_DESC_COLOUR"), ComponentHelper.style(ComponentColour.RED, "bold", "dimensionalpocketsii.gui.config.message.restart")),
					ConfigurationManager.getInstance().getDebugMessage(),
					(newValue) -> ConfigurationManager.getInstance().setDebugMessage(newValue), ":"
				)
			);
	
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.visual_title"))
			);
			
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionBoolean(
					ComponentColour.MAGENTA, "", "dimensionalpocketsii.gui.config.textures", TYPE.ON_OFF, 
					CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.textures_info")),
					ConfigurationManager.getInstance().getConnectedTexturesInsidePocket(),
					(newValue) -> ConfigurationManager.getInstance().setConnectedTexturesInsidePocket(newValue), ":"
				) 
			);
			
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.blocked_title"))
			);

			this.OPTIONS_ROW_LIST.addSmall(
				CosmosOptionInstance.createScreenSwitchOption(ComponentHelper.style(ComponentColour.LIGHT_RED, "", "dimensionalpocketsii.gui.config.blocked_structures"), (button) -> { 
					this.switchScreen("blocks");
					this.updateWidgets();
				}, ""),
				CosmosOptionInstance.createScreenSwitchOption(ComponentHelper.style(ComponentColour.LIGHT_RED, "", "dimensionalpocketsii.gui.config.blocked_items"), (button) -> { 
					this.switchScreen("items");
					this.updateWidgets();
				}, "")
			);

			this.OPTIONS_ROW_LIST.addSmall(
				CosmosOptionInstance.createScreenSwitchOption(ComponentHelper.style(ComponentColour.LIGHT_RED, "", "dimensionalpocketsii.gui.config.blocked_commands"), (button) -> { 
					this.switchScreen("commands");
					this.updateWidgets();
				}, ""),
				null
			); 
			
			this.closeButton = (Button.builder(
				ComponentHelper.style(ComponentColour.RED, "bold", "dimensionalpocketsii.gui.done"), 
				(button) -> { 
					this.onClose();
				}).pos((this.width - this.BIG_WIDTH) / 2, this.height - this.DONE_BUTTON_TOP_OFFSET).size(this.SMALL_WIDTH, this.OPTIONS_LIST_BUTTON_HEIGHT).build()
			);
			this.addRenderableWidget(this.closeButton);
		} 
		
		else if (this.CURRENT_SCREEN == "blocks") {
			this.initOptions();
			
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.blocked_structures"))
			);
			
			this.EDIT_BOX_BLOCKS.setOnPressFunction((button) -> { 
				ConfigurationManager.getInstance().addBlockedStructure(this.EDIT_BOX_BLOCKS.getEditBox().getValue());
				this.EDIT_BOX_BLOCKS.getEditBox().setValue("");
				this.updateWidgets();
			});
			
			this.OPTIONS_ROW_LIST.addBig(EDIT_BOX_BLOCKS);
			
			for (int i = 0; i < ConfigurationManager.getInstance().getBlockedStructures().size(); i++) {
				String object = ConfigurationManager.getInstance().getBlockedStructures().get(i);
				
				this.OPTIONS_ROW_LIST.addBig(
					new CosmosOptionListElement(ComponentHelper.style(ComponentColour.WHITE, "", object), true, 
					ComponentHelper.style(ComponentColour.RED, "bold", "-"), 
					ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.remove"),
					(button) -> { 
						ConfigurationManager.getInstance().removeBlockedStructure(object);
						this.updateWidgets();
					}, 
					(button) -> {
						return button.get();
					})
				);
			}
			
			this.addRenderableWidget(Button.builder(
				ComponentHelper.style(ComponentColour.GREEN, "bold", "dimensionalpocketsii.gui.done"), 
				(button) -> { 
					this.switchScreen("home");
				}).pos((this.width) /2, this.height - DONE_BUTTON_TOP_OFFSET).size(SMALL_WIDTH, OPTIONS_LIST_BUTTON_HEIGHT).build()
			);
		} 
		
		else if (this.CURRENT_SCREEN == "items") {
			this.initOptions();
			
			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.blocked_items"))
			);

			this.EDIT_BOX_ITEMS.setOnPressFunction((button) -> { 
				ConfigurationManager.getInstance().addBlockedItem(this.EDIT_BOX_ITEMS.getEditBox().getValue());
				this.EDIT_BOX_ITEMS.getEditBox().setValue("");
				this.updateWidgets();
			});
			
			this.OPTIONS_ROW_LIST.addBig(EDIT_BOX_ITEMS);
			
			for (int i = 0; i < ConfigurationManager.getInstance().getBlockedItems().size(); i++) {
				String object = ConfigurationManager.getInstance().getBlockedItems().get(i);
				
				this.OPTIONS_ROW_LIST.addBig(
					new CosmosOptionListElement(ComponentHelper.style(ComponentColour.WHITE, "", object), true, 
					ComponentHelper.style(ComponentColour.RED, "bold", "-"), 
					ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.remove"), 
					(button) -> { 
						ConfigurationManager.getInstance().removeBlockedItem(object);
						this.updateWidgets();
					},
					(button) -> {
						return button.get();
					})
				);
			}
			
			this.addRenderableWidget(Button.builder(
				ComponentHelper.style(ComponentColour.GREEN, "bold", "dimensionalpocketsii.gui.done"),
				(button) -> { 
					this.switchScreen("home"); 
				}).pos((this.width) /2, this.height - DONE_BUTTON_TOP_OFFSET).size(SMALL_WIDTH, OPTIONS_LIST_BUTTON_HEIGHT).build()
			);
		} 
		
		else if (this.CURRENT_SCREEN == "commands") {
			this.initOptions();

			this.OPTIONS_ROW_LIST.addBig(
				new CosmosOptionTitle(ComponentHelper.style(ComponentColour.LIGHT_GRAY, "boldunderline", "dimensionalpocketsii.gui.config.blocked_commands"))
			);

			this.OPTIONS_ROW_LIST.addBig(
				CosmosOptionInstance.createIntSlider(ComponentHelper.style(ComponentColour.ORANGE, "dimensionalpocketsii.gui.config.op_level"),
				CosmosOptionInstance.getTooltipSplitComponent(ComponentHelper.style(DESC_COLOUR, "dimensionalpocketsii.gui.config.op_level_info"), 
				ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.op_level_info_two")), 
				ConfigurationManager.getInstance().getOPLevel(), 0, 4, 4, ComponentColour.WHITE, ComponentHelper.style(ComponentColour.GREEN, "Min"), 
				ComponentHelper.style(ComponentColour.DARK_YELLOW, "dimensionalpocketsii.gui.config.op_level_slide"), ComponentHelper.style(ComponentColour.RED, "Max"), 
				(intValue) -> {
					ConfigurationManager.getInstance().setOPLevel(intValue);
				})
			);

			this.EDIT_BOX_COMMANDS.setOnPressFunction((button) -> { 
				ConfigurationManager.getInstance().addBlockedCommand(this.EDIT_BOX_COMMANDS.getEditBox().getValue());
				this.EDIT_BOX_COMMANDS.getEditBox().setValue("");
				this.updateWidgets();
			});
			
			this.OPTIONS_ROW_LIST.addBig(EDIT_BOX_COMMANDS);
			
			for (int i = 0; i < ConfigurationManager.getInstance().getBlockedCommands().size(); i++) {
				String object = ConfigurationManager.getInstance().getBlockedCommands().get(i);
				
				this.OPTIONS_ROW_LIST.addBig(
					new CosmosOptionListElement(ComponentHelper.style(ComponentColour.WHITE, "", object), true, 
					ComponentHelper.style(ComponentColour.RED, "bold", "-"), 
					ComponentHelper.style(ComponentColour.RED, "dimensionalpocketsii.gui.config.remove"), 
					(button) -> { 
						ConfigurationManager.getInstance().removeBlockedCommand(object);
						this.updateWidgets();
					}, (button) -> {
						return button.get();
					})
				);
			}
			
			this.addRenderableWidget(Button.builder(
				ComponentHelper.style(ComponentColour.GREEN, "bold", "dimensionalpocketsii.gui.done"), (button) -> { 
					this.switchScreen("home"); 
				}).pos((this.width) /2, this.height - DONE_BUTTON_TOP_OFFSET).size(SMALL_WIDTH, OPTIONS_LIST_BUTTON_HEIGHT).build()
			);
		}
		
		this.addWidget(this.OPTIONS_ROW_LIST);
	}
	
	public void initOptions() {
		this.OPTIONS_ROW_LIST = new CosmosOptionsList( 
			this.minecraft, this.width, this.height, OPTIONS_LIST_TOP_HEIGHT, this.height - OPTIONS_LIST_BOTTOM_OFFSET, 
			OPTIONS_LIST_ITEM_HEIGHT, OPTIONS_LIST_BUTTON_HEIGHT, 310, new CosmosOptions(Minecraft.getInstance(), new File("."))
		);
	}
	
	@Override
	public void tick() {
		if (this.CURRENT_SCREEN == "blocks") {
			this.EDIT_BOX_BLOCKS.getEditBox().tick();
		} else if (this.CURRENT_SCREEN == "items") {
			this.EDIT_BOX_ITEMS.getEditBox().tick();
		} else if (this.CURRENT_SCREEN == "commands") {
			this.EDIT_BOX_COMMANDS.getEditBox().tick();
		}
	}
	
	@Override
	public void render(GuiGraphics graphicsIn, int mouseX, int mouseY, float ticks) {
		this.renderBackground(graphicsIn);
		
		this.OPTIONS_ROW_LIST.render(graphicsIn, mouseX, mouseY, ticks);
		
		graphicsIn.drawCenteredString(this.font, this.title, width / 2, TITLE_HEIGHT, 0xFFFFFF);
		//drawCenteredString(graphicsIn, this.font, ComponentHelper.style(ComponentColour.GREEN, "bold", (this.CURRENT_SCREEN.substring(0, 1).toUpperCase()) + this.CURRENT_SCREEN.substring(1)), width / 2 + 150, TITLE_HEIGHT, 0xFFFFFF);
		
		super.render(graphicsIn, mouseX, mouseY, ticks);
		//List<FormattedCharSequence> list = tooltipAt(this.OPTIONS_ROW_LIST, mouseX, mouseY);
		//graphicsIn.renderTooltip(this.font, list, mouseX, mouseY);
	}
	
	public void updateWidgets() {
		double scroll = this.OPTIONS_ROW_LIST.getScrollAmount();
		
		this.clearWidgets();
		
		this.init();
		
		this.OPTIONS_ROW_LIST.setScrollAmount(scroll);
	}

	@SuppressWarnings("unchecked")
	public static List<FormattedCharSequence> tooltipAt(CosmosOptionsList listIn, int mouseX, int mouseY) {
		Optional<AbstractWidget> optional = listIn.getMouseOver((double)  mouseX, (double) mouseY);
		return (List<FormattedCharSequence>) (optional.isPresent() && optional.get() instanceof AbstractWidget ? ((AbstractWidget) optional.get()).getTooltip() : ImmutableList.of());
	}

	@Override
	public boolean handleComponentClicked(@Nullable Style styleIn) {
		return super.handleComponentClicked(styleIn);
	}

	@Override
	public Optional<GuiEventListener> getChildAt(double mouseX, double mouseY) {
		return super.getChildAt(mouseX, mouseY);
	}

	@Override
	public boolean keyPressed(int mouseX, int mouseY, int ticks) {
		if (this.CURRENT_SCREEN == "blocks") {
			return this.EDIT_BOX_BLOCKS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "items") {
			return this.EDIT_BOX_ITEMS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "commands") {
			return this.EDIT_BOX_COMMANDS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		}
		
		return super.keyPressed(mouseX, mouseY, ticks);
	}
	
	@Override
	public boolean charTyped(char charCode, int test) {
		return super.charTyped(charCode, test);
	}

	@Override
	public boolean mouseDragged(double mouseX, double mouseY, int p_94701_, double p_94702_, double p_94703_) {
		boolean dragged = super.mouseDragged(mouseX, mouseY, p_94701_, p_94702_, p_94703_);
		
		if (this.getChildAt(mouseX, mouseY).isPresent()) {
			for (GuiEventListener listener : this.OPTIONS_ROW_LIST.children()) {
				if (listener.isMouseOver(mouseX, mouseY)) {
					this.updateWidgets();
				}
			}
		}
		
		return dragged;
	}

	@Override
	public boolean mouseClicked(double mouseX, double mouseY, int ticks) {
		boolean clicked = super.mouseClicked(mouseX, mouseY, ticks);
		
		if (this.CURRENT_SCREEN == "blocks") {
			return this.EDIT_BOX_BLOCKS.getEditBox().mouseClicked(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "items") {
			return this.EDIT_BOX_ITEMS.getEditBox().mouseClicked(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "commands") {
			return this.EDIT_BOX_COMMANDS.getEditBox().mouseClicked(mouseX, mouseY, ticks);
		}
		
		if (this.getChildAt(mouseX, mouseY).isPresent()) {
			for (GuiEventListener listener : this.OPTIONS_ROW_LIST.children()) {
				if (!listener.equals(this.closeButton)) {
					if (listener.isMouseOver(mouseX, mouseY)) {
						this.updateWidgets();
					}
				}
			}
		}
		
		return clicked;
	}
	
	public void switchScreen(String screen) {
		this.CURRENT_SCREEN = screen;
		this.updateWidgets();
		this.init();
	}
	
    @Override
    public void onClose() {
    	if (this.CURRENT_SCREEN == "home") {
	    	this.minecraft.setScreen(this.PARENT_SCREEN);

	        ConfigurationManager.save();
	    	super.onClose();
    	} 
    	
        ConfigurationManager.save();
    	super.onClose();
    }
}

 

I believe it is something to do with the onClose function, but I am not sure.

Edited by Zeher_Monkey
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
Quote

I believe it is something to do with the onClose function, but I am not sure.

Yeh you might be on to something. Have you tried not setting the screen on close? Screen default behavior pops the gui anyways so not sure it's needed

Screen.java

    public void onClose() {
        this.minecraft.popGuiLayer();
    }

 

Although it could be this also being a problem

	@Override
	public boolean keyPressed(int mouseX, int mouseY, int ticks) {
		if (this.CURRENT_SCREEN == "blocks") {
			return this.EDIT_BOX_BLOCKS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "items") {
			return this.EDIT_BOX_ITEMS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "commands") {
			return this.EDIT_BOX_COMMANDS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		}
		
		return super.keyPressed(mouseX, mouseY, ticks);
	}

 

I'd suggest starting by changing onClose to just 

    @Override
    public void onClose() {
        ConfigurationManager.save();
    	super.onClose();
    }

and see if that fixes it.

 

If not try commenting out your `keyPressed` function to see if that was it.

Link to comment
Share on other sites

2 hours ago, dee12452 said:

Yeh you might be on to something. Have you tried not setting the screen on close? Screen default behavior pops the gui anyways so not sure it's needed

Screen.java

    public void onClose() {
        this.minecraft.popGuiLayer();
    }

 

Although it could be this also being a problem

	@Override
	public boolean keyPressed(int mouseX, int mouseY, int ticks) {
		if (this.CURRENT_SCREEN == "blocks") {
			return this.EDIT_BOX_BLOCKS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "items") {
			return this.EDIT_BOX_ITEMS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		} else if (this.CURRENT_SCREEN == "commands") {
			return this.EDIT_BOX_COMMANDS.getEditBox().keyPressed(mouseX, mouseY, ticks);
		}
		
		return super.keyPressed(mouseX, mouseY, ticks);
	}

 

I'd suggest starting by changing onClose to just 

    @Override
    public void onClose() {
        ConfigurationManager.save();
    	super.onClose();
    }

and see if that fixes it.

 

If not try commenting out your `keyPressed` function to see if that was it.

Hi, thanks for the reply.

I tried what you suggested, along with a number of other things and it is still doing the same thing. I'm pulling my hair out at this point.

I also tried commenting out the other functions relating to Mouse or Keyboard inputs and no luck.

Mouse movement works, but mouse buttons do not. No keyboard inputs are accepted other than ESC to open the Pause Screen. When the pause screen or Main Menu screens are open mouse and keyboard inputs work as expected.

I have searched high and low on this forum and not encountered anyone else with the same problem, and the documentation is frustratingly lacking for this particular area.

I have even delved into some of Minecrafts own settings screens and they don't do it a different way. All of them just use the

minecraft.setScreen(screen);

function.

Link to comment
Share on other sites

Alright you might have to unfortunately take a big step back. What if you comment out every piece of functionality in your custom screen, so as much as possible till it’s basically a blank screen that does nothing, and add one thing back at a time until the problem pops up?
 

I am also curious, when and how does this screen appear to the player? That may have something to do with it.

Edited by dee12452
Punctuation
Link to comment
Share on other sites

Posted (edited)
2 hours ago, dee12452 said:

Alright you might have to unfortunately take a big step back. What if you comment out every piece of functionality in your custom screen, so as much as possible till it’s basically a blank screen that does nothing, and add one thing back at a time until the problem pops up?
 

I am also curious, when and how does this screen appear to the player? That may have something to do with it.

I can certainly try that for sure.

It is shown to the player only if they go into it, it uses Forge's ConfigScreenFactory system.

This is the registry code:

@OnlyIn(Dist.CLIENT)
Public static void registerClient(ModLoadingContext context) {
	context.registerExtensionPoint(ConfigScreenFactory.class, () -> new ConfigScreenFactory((mc, screen) -> { return new ScreenConfiguration(screen); }));
}

Main Menu -> Mods -> Mod -> Config (this is when my screen class comes in)

I have used plenty of other mods who use the same system and never had an issue. It could be an issue with Forge, but I am not sure.

Edited by Zeher_Monkey
Link to comment
Share on other sites

I gotchya. So I copied your code and removed all the things that I don't have access to in this post (i.e. any of the CosmosOptionListTextEntry) and I didn't get the issue you're talking about.

 

Can you post the implementation of `CosmosOptionListTextEntry`? The problem might be in there.

Link to comment
Share on other sites

1 minute ago, dee12452 said:

I gotchya. So I copied your code and removed all the things that I don't have access to in this post (i.e. any of the CosmosOptionListTextEntry) and I didn't get the issue you're talking about.

 

Can you post the implementation of `CosmosOptionListTextEntry`? The problem might be in there.

I was about to say during my testing I removed all of my custom Option List code and it worked, but obviously stopped the screen from doing what I need it to.

Code available at its GitHub Repo:

https://github.com/CosmosMods/CosmosLibrary/tree/1.20.1-10.3.1.0/src/main/java/com/tcn/cosmoslibrary/client/ui/screen/option

All of the Options related classes are in there.

Link to comment
Share on other sites

Oh man, so I skimmed through what I thought to be relevant and I didn't see a smoking gun. My guess is a widget such as an EditBox is taking and keeping key presses but I'm not 100% on that. Sorry I can't be more helpful at this point, I think for you at this point it's unfortunately going to be a game of needle in the haystack

Link to comment
Share on other sites

Posted (edited)
29 minutes ago, dee12452 said:

Oh man, so I skimmed through what I thought to be relevant and I didn't see a smoking gun. My guess is a widget such as an EditBox is taking and keeping key presses but I'm not 100% on that. Sorry I can't be more helpful at this point, I think for you at this point it's unfortunately going to be a game of needle in the haystack

I much appreciate the help.

I figured it out!

So I have a custom Options class which extends the vanilla Options class. When I initialize it in the ConfigScreen, I need to supply a file. I chose to use a blank file with "." as the path.

For some reason this appears to be the issue, despite never actually using a physical file, because I am using the Forge config system, this has finally fixed the issue.

OLD:

public void initOptions() {
	this.OPTIONS_ROW_LIST = new CosmosOptionsList(
		this.minecraft, this.width, this.height, OPTIONS_LIST_TOP_HEIGHT, this.height - OPTIONS_LIST_BOTTOM_OFFSET, 
		OPTIONS_LIST_ITEM_HEIGHT, OPTIONS_LIST_BUTTON_HEIGHT, 310, new CosmosOptions(Minecraft.getInstance(), new File("."))
	);
}
	


NEW:

public void initOptions() {
	this.OPTIONS_ROW_LIST = new CosmosOptionsList(
		this.minecraft, this.width, this.height, OPTIONS_LIST_TOP_HEIGHT, this.height - OPTIONS_LIST_BOTTOM_OFFSET, 
		OPTIONS_LIST_ITEM_HEIGHT, OPTIONS_LIST_BUTTON_HEIGHT, 310, new CosmosOptions(Minecraft.getInstance(), new File(this.minecraft.gameDirectory.getAbsolutePath() + "/dimpockets"))
	);
}
	


Such a strange issue, but thats Minecraft & Forge :P

Still giving some strange issues, but it doesn't require a full restart anymore.

Edited by Zeher_Monkey
Link to comment
Share on other sites

  • Zeher_Monkey changed the title to [1.20.1] [SOLVED] Mod Config Screen disables keys after exiting

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Join one of the largest civilization experiments in Minecraft under our banner!   Our goal is to create the largest and most prominent civilization across the entirety of Minecraft, and we’d like you to join! We offer lots of unique roles and jobs that tailor to your specific skillset in Minecraft! You can build a city, participate in the government, or fight for Gold, God, and Glory on the battlefield!   Join our nation today! https://discord.gg/hb3cuaDezA
    • I have an issue where after I exit the world the capability data does not save when I reload the world. It will save the initial data such as village name but if I modify any data during gameplay theres a 5% chance the data saves when I exit then reload the world. I read the docs and was told that chunks need to be marked dirty but the docs does not say how to mark the chunk dirty... Heres the provider: public class ChunkCapProvider implements ICapabilityProvider, ICapabilitySerializable<CompoundTag> { private final Capability<IChunk> capability = ChunkCapability.CHUNK_CAPABILITY; private final ChunkCapability instance = new ChunkCapability(); private final LazyOptional lazy = LazyOptional.of(()->instance).cast(); public void invalidate(){ lazy.invalidate(); } @Nonnull @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction direction) { if(cap == capability ) return lazy; return LazyOptional.empty(); } @Override public CompoundTag serializeNBT() { return instance.serializeNBT(); } @Override public void deserializeNBT(CompoundTag tag) { instance.deserializeNBT(tag); } }   Heres the capability class: public class ChunkCapability implements IChunk { public static final ResourceLocation ID = new ResourceLocation(Main.MODID, "owner"); public static final String VILLAGE_NAME = "village_name"; public static final String SAVED_ROLES = "saved_roles"; public static final String SAVED_POINTS = "saved_points"; public static final String BAD_CHUNK = "BAD_VILLAGE_CHUNK"; public static Capability<IChunk> CHUNK_CAPABILITY = null; private String villageName = "BAD_VILLAGE_CHUNK"; private String savedRoles = ""; private String savedPoints = ""; public ChunkCapability(){ this.getClass(); } @Override public CompoundTag serializeNBT() { CompoundTag nbt = new CompoundTag(); nbt.putString(SAVED_ROLES, this.savedRoles); nbt.putString(SAVED_POINTS, this.savedPoints); nbt.putString(VILLAGE_NAME, this.villageName); return nbt; } public void deserializeNBT(CompoundTag tag) { this.setVillageName(tag.getString(VILLAGE_NAME)); this.setSavedRoles(tag.getString(SAVED_ROLES)); this.setSavedPoints(tag.getString(SAVED_POINTS)); } public String getVillageName() { return this.villageName; } public void setVillageName(String str) { this.villageName = str; } public void setSavedRoles(String str) { this.savedRoles = str; } public void setRole(String name, String role){ if(!this.hasRole(name)) { this.savedRoles += (name + ":" + role + ","); this.savedPoints += (name + ":" + 10 + ","); return; } String roleName = this.getRole(name); String firstStr = this.savedRoles.substring(0, this.savedRoles.indexOf(name + ":") + name.length() + 1); String lastStr = this.savedRoles.substring(this.savedRoles.indexOf(name + ":") + ((name.length() + 1) + roleName.length())); this.savedRoles = firstStr + role + lastStr; } public String getRole(String name){ if(this.savedRoles.isEmpty() || !this.savedRoles.contains(name)) { this.setRole(name, Roles.Role.FOREIGNER.getName()); } String fStr = this.savedRoles.substring(this.savedRoles.indexOf(name + ":"), this.savedRoles.indexOf(',')); return fStr.substring(fStr.indexOf(':') + 1); } public boolean hasRole(String name) { if(this.savedRoles.isEmpty()) return false; return this.savedRoles.contains(name); } public String getSavedRoles() { return this.savedRoles; } public String getSavedPoints() { return this.savedPoints; } public void setSavedPoints(String name) { this.savedPoints = name; } public int getPoints(String name) { if(this.savedPoints.isEmpty() || !this.savedRoles.contains(name)) this.setPoints(name, 10); String fStr = this.savedPoints.substring(this.savedPoints.indexOf(name + ':')); return Integer.parseInt(fStr.substring(fStr.indexOf(':') + 1, fStr.indexOf(','))); } public void setPoints(String name, int rV) { if(!this.hasPoints(name)){ this.savedPoints += (name + ":" + rV + ","); return; } String oldPoints = String.valueOf(this.getPoints(name)); String points = String.valueOf(rV); String firstStr = this.savedPoints.substring(0, this.savedPoints.indexOf(name + ":") + name.length() + 1); String lastStr = this.savedPoints.substring(this.savedPoints.indexOf(name + ":") + ((name.length() + 1) + oldPoints.length())); Minecraft.getInstance().player.displayClientMessage(Component.nullToEmpty("Saved String: " + (firstStr + points + lastStr)), false); this.savedPoints = (firstStr + points + lastStr); } public boolean hasPoints(String name) { if(this.savedPoints.isEmpty()) return false; return this.savedPoints.contains(name); } }   Heres where I attach/register: @Mod.EventBusSubscriber(modid = Main.MODID) public class CapabilityEvents { @SubscribeEvent public static void attachCapability(AttachCapabilitiesEvent<LevelChunk> event){ ChunkCapProvider provider = new ChunkCapProvider(); event.addCapability(ChunkCapability.ID, provider); event.addListener(provider::invalidate); } }  
    • Id use this ServerLevel#findNearestMapFeature  
    • Trying to play with the mods: Tinkers Construct, Buildcraft and the Blood Magic addon Blood Arsenal; the game crashes. I noticed that when trying to use only two of the three in any combination the game opens without problems, but when trying to put all three together the error occurs. Is there any configuration I can modify or any other way to solve the problem?   ---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 5/22/24 8:48 PM Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: tconstruct/library/weaponry/AmmoWeapon     at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)     at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)     at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)     at net.minecraft.client.main.Main.main(SourceFile:148)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoClassDefFoundError: tconstruct/library/weaponry/AmmoWeapon     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:42)     at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)     at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)     at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)     ... 10 more Caused by: java.lang.ClassNotFoundException: tconstruct.library.weaponry.AmmoWeapon     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     ... 36 more Caused by: java.lang.NoClassDefFoundError: tconstruct/library/weaponry/AmmoItem     at java.lang.ClassLoader.defineClass1(Native Method)     at java.lang.ClassLoader.defineClass(Unknown Source)     at java.security.SecureClassLoader.defineClass(Unknown Source)     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)     ... 38 more Caused by: java.lang.ClassNotFoundException: tconstruct.library.weaponry.AmmoItem     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     ... 42 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.7.10     Operating System: Windows 10 (x86) version 10.0     Java Version: 1.8.0_411, Oracle Corporation     Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation     Memory: 271923192 bytes (259 MB) / 402653184 bytes (384 MB) up to 536870912 bytes (512 MB)     JVM Flags: 9 total; -Xmx512M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+IgnoreUnrecognizedVMOptions -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump     AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 14 mods loaded, 14 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UC    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)      UC    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar)      UC    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)      UC    AWWayofTime{v1.3.3} [Blood Magic: Alchemical Wizardry] (BloodMagic-1.7.10-1.3.3-17.jar)      UC    Mantle{1.7.10-0.3.2.jenkins191} [Mantle] (Mantle-1.7.10-0.3.2b.jar)      UE    TConstruct{1.7.10-1.8.8.build991} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8.build991.jar)      UC    BloodArsenal{1.2-5} [Blood Arsenal] (BloodArsenal-1.7.10-1.2-5.jar)      UC    BuildCraft|Core{7.1.25} [BuildCraft] (buildcraft-7.1.25.jar)      UC    BuildCraft|Builders{7.1.25} [BC Builders] (buildcraft-7.1.25.jar)      UC    BuildCraft|Robotics{7.1.25} [BC Robotics] (buildcraft-7.1.25.jar)      UC    BuildCraft|Silicon{7.1.25} [BC Silicon] (buildcraft-7.1.25.jar)      UC    BuildCraft|Energy{7.1.25} [BC Energy] (buildcraft-7.1.25.jar)      UC    BuildCraft|Transport{7.1.25} [BC Transport] (buildcraft-7.1.25.jar)      UC    BuildCraft|Factory{7.1.25} [BC Factory] (buildcraft-7.1.25.jar)      GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 21.20.16.4541' Renderer: 'Intel(R) HD Graphics 610'     Mantle Environment: Environment healthy.     TConstruct Environment: Environment healthy.
    • fixed this problem but now i have a new one  java.lang.RuntimeException: java.lang.NoSuchFieldException: processor  Help 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.