Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Custom TileEntity recipetype invalid/unsupported | What am I missing?


Leronus
 Share

Recommended Posts

I have a custom tile entity named the Alloy Furnace with 3 input items and 1 output item. For some reason, my recipes aren't working, showing up in the terminal as invalid/unsupported Recipe type. I believe I created the recipe type correctly, but I may be very wrong about that. Please tell me what I've missed, because I can't figure it out.

https://github.com/Leronus/mOres/tree/1.16.5

 

 

 

Edited by Leronus
Link to comment
Share on other sites

RecipeTypeInit:

 

package mod.mores.init;

import mod.mores.recipe.AlloyFurnaceRecipe;
import mod.mores.recipe.IAlloyFurnaceRecipe;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.item.crafting.IRecipeSerializer;
import net.minecraft.item.crafting.IRecipeType;
import net.minecraft.util.registry.Registry;

public class RecipeTypeInit
{
    public static final IRecipeType<IAlloyFurnaceRecipe> ALLOY_TYPE = new RecipeType<>();
    public static final IRecipeSerializer<AlloyFurnaceRecipe> ALLOY_SERIALIZER =
            new AlloyFurnaceRecipe.AlloyRecipeSerializer();

    private static class RecipeType<T extends IRecipe<?>> implements IRecipeType<T>
    {
        @Override
        public String toString()
        {
            return Registry.RECIPE_TYPE.getKey(this).toString();
        }
    } // end class RecipeType
} // end class ModRecipeTypes

 

DataGenerators:

 

@EventBusSubscriber(modid = Mores.MOD_ID, bus = EventBusSubscriber.Bus.MOD)
public class DataGenerators
{

    /**
     * GatherDataEvent handler.
     *
     * @param event the GatherDataEvent.
     */
    @SubscribeEvent
    public static void gatherData(GatherDataEvent event)
    {
        DataGenerator gen = event.getGenerator();
        if (event.includeServer())
        {
            gen.addProvider(new AlloyFurnaceRecipes(gen));
        }
    }
}

 

Main mod class:

 

package mod.mores;

import mod.mores.harvestlevel.HarvestCheck;
import mod.mores.init.BlockInit;
import mod.mores.init.ContainerInit;
import mod.mores.init.ItemInit;
import mod.mores.init.TileEntityTypeInit;
import mod.mores.world.OreGeneration;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.EventPriority;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.InterModComms;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.*;
import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.util.stream.Collectors;

/**
 * Main class that loads mOres
 * @author Leronus
 */
// The value here should match an entry in the META-INF/mods.toml file
@Mod("mores")
public class Mores
{
    // Directly reference a log4j logger.
    public static final Logger LOGGER = LogManager.getLogger();

    public static final String MOD_ID = "mores";

    public Mores() {
        IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();

        // Register the setup method for modloading
        bus.addListener(this::setup);
        // Register the enqueueIMC method for modloading
        bus.addListener(this::enqueueIMC);
        // Register the processIMC method for modloading
        bus.addListener(this::processIMC);
        // Register the doClientStuff method for modloading
        bus.addListener(this::doClientStuff);

        BlockInit.BLOCKS.register(bus);
        ItemInit.ITEMS.register(bus);
        ContainerInit.CONTAINER_TYPES.register(bus);
        TileEntityTypeInit.TILE_ENTITY_TYPES.register(bus);

        MinecraftForge.EVENT_BUS.register(HarvestCheck.class);

        // Register ourselves for server and other game events we are interested in
        MinecraftForge.EVENT_BUS.register(this);
        // Start the ore generation
        MinecraftForge.EVENT_BUS.addListener(EventPriority.HIGH, OreGeneration::generateOres);
    }

    private void setup(final FMLCommonSetupEvent event)
    {
        // some preinit code
//        LOGGER.info("PreInit");
//        LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName());
    }

    private void doClientStuff(final FMLClientSetupEvent event) {
        // do something that can only be done on the client
        LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().options);
    }

    private void enqueueIMC(final InterModEnqueueEvent event)
    {
        // some example code to dispatch IMC to another mod
        InterModComms.sendTo("mores", "modloaded", () -> { LOGGER.info("Intermod queue event"); return "Mores ready to talk";});
    }

    private void processIMC(final InterModProcessEvent event)
    {
        // some example code to receive and process InterModComms from other mods
        LOGGER.info("Got IMC {}", event.getIMCStream().
                map(m->m.getMessageSupplier().get()).
                collect(Collectors.toList()));
    }
    // You can use SubscribeEvent and let the Event Bus discover methods to call
    @SubscribeEvent
    public void onServerStarting(FMLServerStartingEvent event) {
        // do something when the server starts
        LOGGER.info("Server has started");
    }
}

 

Link to comment
Share on other sites

The recipes are located in Mores\mOres_1.16.5\src\main\resources\data\mores\recipes\alloy_furnace

Example of a recipe I'm using (bronze_ingot.json):

{
    "conditions": [
        {
            "modid": "mores",
            "type": "forge:mod_loaded"
        }
    ],
    "type": "mores:alloying",
    "process_time": 300,
    "ingredients": [
        {
            "item": "mores:copper_ingot"
        },
        {
            "item": "mores:tin_ingot"
        },
        {
            "item": "minecraft:bone_meal"
        }
    ],
    "result": {
        "item": "mores:bronze_ingot",
        "count": 1
    }
}

 

Link to comment
Share on other sites

I'm now getting this JSON Syntax error

[14:35:52] [Render thread/ERROR] [minecraft/RecipeManager]: Parsing error loading recipe mores:alloy_furnace/steel_ingot
com.google.gson.JsonSyntaxException: Missing output, expected to find a JsonObject
	at net.minecraft.util.JSONUtils.getAsJsonObject(JSONUtils.java:203) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at mod.mores.recipe.AlloyFurnaceRecipe$AlloyRecipeSerializer.fromJson(AlloyFurnaceRecipe.java:203) ~[main/:?] {re:classloading}
	at mod.mores.recipe.AlloyFurnaceRecipe$AlloyRecipeSerializer.fromJson(AlloyFurnaceRecipe.java:196) ~[main/:?] {re:classloading}
	at net.minecraft.item.crafting.RecipeManager.fromJson(RecipeManager.java:141) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:61) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:38) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire$$$capture(CompletableFuture.java:714) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}
	at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.doRunTask(ThreadTaskExecutor.java:136) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.util.concurrent.RecursiveEventLoop.doRunTask(RecursiveEventLoop.java:22) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.pollTask(ThreadTaskExecutor.java:109) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.managedBlock(ThreadTaskExecutor.java:119) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.Minecraft.makeServerStem(Minecraft.java:1863) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.loadWorld(Minecraft.java:1712) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.loadLevel(Minecraft.java:1681) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.gui.screen.WorldSelectionList$Entry.loadWorld(WorldSelectionList.java:364) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.gui.screen.WorldSelectionList$Entry.joinWorld(WorldSelectionList.java:273) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.gui.screen.WorldSelectionList$Entry.mouseClicked(WorldSelectionList.java:225) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.gui.widget.list.AbstractList.mouseClicked(AbstractList.java:309) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.gui.INestedGuiEventHandler.mouseClicked(INestedGuiEventHandler.java:28) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.MouseHelper.lambda$onPress$0(MouseHelper.java:87) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:427) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.MouseHelper.onPress(MouseHelper.java:85) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:175) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:86) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.client.MouseHelper.lambda$setup$5(MouseHelper.java:174) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
	at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:112) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:999) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.run(Minecraft.java:607) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] {}
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
	at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.0_mapped_official_1.16.5-recomp.jar:?] {}

Why am I getting this error? 

Link to comment
Share on other sites

1 hour ago, diesieben07 said:

Your serializer is looking for a JsonObject called "output" in the recipe. this key does not exist in your JSON file.

Thanks, I've updated the recipes accordingly. Still the recipes do not seem to work. Any idea what I'm doing wrong?

Link to comment
Share on other sites

Your recipe handling code is very strange.

  • You first copy your items into an Inventory, so that you have an IInventory. You then wrap that inventory back into an IItemHandler (using InvWrapper) only to then convert it back into an IInventory using RecipeWrapper. Why on earth are you doing this? Just use RecipeWrapper on your actual IItemHandler.
  • What is the point of AbstractAlloyFurnaceTileEntity#isInput / AlloyFurnaceRecipe.isInput (and the same for catalyst)? Your recipe already checks whether it is a valid item, why is this additional check necessary? Additionally, the initLegalisms method is utterly broken as it does not invalidate when recipes are reloaded or anything like that. Why do you have it? If you really needed this functionality somewhere else (outside of the TE's recipe check, because there it doesn't make sense) then you could just check the recipe on the fly. Additionally the checks are broken because ItemStack does not override equals and hashCode and as such cannot be used in a traditional way in a HashSet.
Link to comment
Share on other sites

10 hours ago, diesieben07 said:

Your recipe handling code is very strange.

  • You first copy your items into an Inventory, so that you have an IInventory. You then wrap that inventory back into an IItemHandler (using InvWrapper) only to then convert it back into an IInventory using RecipeWrapper. Why on earth are you doing this? Just use RecipeWrapper on your actual IItemHandler.
  • What is the point of AbstractAlloyFurnaceTileEntity#isInput / AlloyFurnaceRecipe.isInput (and the same for catalyst)? Your recipe already checks whether it is a valid item, why is this additional check necessary? Additionally, the initLegalisms method is utterly broken as it does not invalidate when recipes are reloaded or anything like that. Why do you have it? If you really needed this functionality somewhere else (outside of the TE's recipe check, because there it doesn't make sense) then you could just check the recipe on the fly. Additionally the checks are broken because ItemStack does not override equals and hashCode and as such cannot be used in a traditional way in a HashSet.

I don't understand, how do I use RecipeWrapper on the actual IItemHandler and how do I fix these broken checks? 

Link to comment
Share on other sites

4 hours ago, Leronus said:

I don't understand, how do I use RecipeWrapper on the actual IItemHandler

First you get the two inputs and the catalyst. You then pass these three stacks to the getResult method. The getResult method then does this:

new RecipeWrapper(new InvWrapper(new Inventory(input1, input2, catalyst)))

Instead, getResult could just get passed in the IItemHandler you already have (here) and use RecipeWrapper on that.

  • Thanks 1
Link to comment
Share on other sites

4 hours ago, Leronus said:

and how do I fix these broken checks? 

I would say don't do them at all. They are not used anywhere else but your TileEntity after it has already checked for a matching recipe. If they were programmed correctly, they would always succeed, because obviously the recipe would never have matched if one of them was not an input.

  • Thanks 1
Link to comment
Share on other sites

 

6 hours ago, diesieben07 said:

First you get the two inputs and the catalyst. You then pass these three stacks to the getResult method. The getResult method then does this:


new RecipeWrapper(new InvWrapper(new Inventory(input1, input2, catalyst)))

Instead, getResult could just get passed in the IItemHandler you already have (here) and use RecipeWrapper on that.

Thanks a lot for explaining it this way! I've updated the code and everything works like a charm now.

Link to comment
Share on other sites

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • If someone need i can post the log  [22:00:59] [main/INFO]: Loading tweak class name optifine.OptiFineTweaker [22:00:59] [main/INFO]: Using primary tweak class name optifine.OptiFineTweaker [22:00:59] [main/INFO]: Calling tweak class optifine.OptiFineTweaker [22:00:59] [main/INFO]: [OptiFine] OptiFineTweaker: acceptOptions [22:00:59] [main/INFO]: [OptiFine] OptiFineTweaker: injectIntoClassLoader [22:00:59] [main/INFO]: [OptiFine] OptiFine ClassTransformer [22:00:59] [main/INFO]: [OptiFine] OptiFine ZIP file: C:\Users\gabbo\AppData\Roaming\.minecraft\libraries\optifine\OptiFine\1.18.2_HD_U_H7\OptiFine-1.18.2_HD_U_H7.jar [22:00:59] [main/INFO]: [OptiFine] OptiFineTweaker: getLaunchArguments [22:00:59] [main/INFO]: [OptiFine] OptiFineTweaker: getLaunchTarget [22:00:59] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main} [22:01:00] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.eventbus.api.Event$Result [22:01:00] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.extensions.IForgeEntity [22:01:00] [main/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.logging.CrashReportExtender [22:01:01] [main/INFO]: [OptiFine] (Reflector) Method not present: aid.create [22:01:03] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ForgeHooksClient [22:01:04] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [22:01:05] [Render thread/INFO]: Setting user: Ciube8Bit [22:01:05] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyConflictContext [22:01:05] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: dyo.getKeyModifier [22:01:05] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.settings.KeyModifier [22:01:05] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10 [22:01:05] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.fml.loading.progress.EarlyProgressVisualization.handOffWindow [22:01:06] [Render thread/INFO]: [OptiFine]  [22:01:06] [Render thread/INFO]: [OptiFine] OptiFine_1.18.2_HD_U_H7 [22:01:06] [Render thread/INFO]: [OptiFine] Build: 20220410-185216 [22:01:06] [Render thread/INFO]: [OptiFine] OS: Windows 10 (amd64) version 10.0 [22:01:06] [Render thread/INFO]: [OptiFine] Java: 17.0.1, Microsoft [22:01:06] [Render thread/INFO]: [OptiFine] VM: OpenJDK 64-Bit Server VM (mixed mode), Microsoft [22:01:06] [Render thread/INFO]: [OptiFine] LWJGL: 3.3.0 Win32 WGL EGL OSMesa VisualC DLL [22:01:06] [Render thread/INFO]: [OptiFine] OpenGL: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2, version 3.2.0 NVIDIA 511.79, NVIDIA Corporation [22:01:06] [Render thread/INFO]: [OptiFine] OpenGL Version: 3.2.0 [22:01:06] [Render thread/INFO]: [OptiFine] Maximum texture size: 32768x32768 [22:01:06] [VersionCheck/INFO]: [OptiFine] Checking for new version [22:01:06] [Render thread/INFO]: [Shaders] OpenGL Version: 3.2.0 NVIDIA 511.79 [22:01:06] [Render thread/INFO]: [Shaders] Vendor:  NVIDIA Corporation [22:01:06] [Render thread/INFO]: [Shaders] Renderer: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 [22:01:06] [Render thread/INFO]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  -  [22:01:06] [Render thread/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8 [22:01:06] [Render thread/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS: 8 [22:01:06] [Render thread/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32 [22:01:06] [Render thread/INFO]: [Shaders] Load shaders configuration. [22:01:06] [Render thread/INFO]: [Shaders] No shaderpack loaded. [22:01:06] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.ModList [22:01:06] [Render thread/WARN]: Couldn't get pack info for: afc: 'pack.mcmeta' in ResourcePack 'C:\Users\gabbo\AppData\Roaming\.minecraft\resourcepacks\boss-bars-e1170-default.zip' [22:01:06] [Render thread/WARN]: Couldn't get pack info for: afc: 'pack.mcmeta' in ResourcePack 'C:\Users\gabbo\AppData\Roaming\.minecraft\resourcepacks\boss-bars-e1170.zip' [22:01:06] [Render thread/WARN]: Couldn't get pack info for: afc: 'pack.mcmeta' in ResourcePack 'C:\Users\gabbo\AppData\Roaming\.minecraft\resourcepacks\Colourful Containers v0.3 - 1.15.zip' [22:01:06] [Render thread/WARN]: Removed resource pack lunar from options because it doesn't seem to exist anymore [22:01:06] [VersionCheck/INFO]: [OptiFine] Version found: H6 [22:01:06] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.ClassNotFoundException: sun.misc.SharedSecrets [22:01:06] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.ClassNotFoundException: jdk.internal.misc.SharedSecrets [22:01:06] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.ClassNotFoundException: sun.misc.VM [22:01:06] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.reflect.InaccessibleObjectException: Unable to make public static long jdk.internal.misc.VM.maxDirectMemory() accessible: module java.base does not "exports jdk.internal.misc" to unnamed module @4fe7962 [22:01:06] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ItemModelMesherForge [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer [22:01:07] [Render thread/INFO]: Narrator library for x64 successfully loaded [22:01:07] [Render thread/INFO]: Reloading ResourceManager: Default [22:01:07] [Render thread/INFO]: [OptiFine] *** Reloading textures *** [22:01:07] [Render thread/INFO]: [OptiFine] Resource packs: Default [22:01:07] [Worker-Main-22/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.ModelLoaderRegistry [22:01:07] [Worker-Main-19/INFO]: [OptiFine] Multitexture: false [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.gui.ModListScreen [22:01:07] [Worker-Main-16/INFO]: [OptiFine] Multitexture: false [22:01:07] [Worker-Main-15/INFO]: [OptiFine] Multitexture: false [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.gui.NotificationModUpdateScreen [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eqn.canRenderInLayer [22:01:07] [Render thread/INFO]: [OptiFine] *** Reflector Forge *** [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.internal.BrandingControl [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.capabilities.ICapabilityProvider [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.capabilities.CapabilityProvider [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.loading.ClientModLoader [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkDataEvent$Save [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkEvent$Load [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkEvent$Unload [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityRenderersEvent$AddLayers [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.entity.EntityLeaveWorldEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$CameraSetup [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$FogColors [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$RenderFogEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.entity.EntityJoinWorldEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.eventbus.api.Event.isCanceled [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.eventbus.api.Event.getResult [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.eventbus.api.IEventBus [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eri.getTexture [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.common.extensions.IForgeBlockState.getLightEmission [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.common.extensions.IForgeBlockState.getSoundType [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.common.extensions.IForgeBlockState.getStateAtViewpoint [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.common.extensions.IForgeBlockState.shouldDisplayFluidOverlay [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.extensions.IForgeFluid [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fluids.FluidAttributes [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Field not present: adi.currentlyLoading [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.ForgeEventFactory [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeHooks [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeConfig [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeConfig$Client [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeConfigSpec [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeConfigSpec$ConfigValue [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: cqq.getWorldForge [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.extensions.IForgeItem [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.extensions.IForgeItemStack [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeI18n [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: dyo.setKeyConflictContext [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: dyo.setKeyModifierAndCode [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.registries.ForgeRegistryEntry [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eqn.canRenderInLayer [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Constructor not present: aea, params: class aeb, int, class java.lang.Object, boolean [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: aea.isForceTicks [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.extensions.IForgeBlockEntity [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eqh.getCloudRenderHandler [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eqh.getSkyRenderHandler [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eqh.getWeatherParticleRenderHandler [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: eqh.getWeatherRenderHandler [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.pipeline.LightUtil [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.MinecraftForge [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.MinecraftForgeClient [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.ModContainer [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.ModLoader [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.entity.PartEntity [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.entity.PlaySoundAtEntityEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RegisterShadersEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderBlockOverlayEvent$OverlayType [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderGameOverlayEvent$BossInfo [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderItemInFrameEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Pre [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Post [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderNameplateEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.client.RenderProperties.getEffectRenderer [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraftforge.client.RenderProperties.getEffectRenderer [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.ScreenshotEvent [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.server.ServerLifecycleHooks [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Method not present: epj.updateSprite [22:01:07] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.WorldEvent$Load [22:01:07] [Render thread/INFO]: [OptiFine] *** Reflector Vanilla *** [22:01:10] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/00_glass_white/glass_pane_white.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/00_glass_white/glass_white.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/01_glass_orange/glass_orange.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/01_glass_orange/glass_pane_orange.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/02_glass_magenta/glass_magenta.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/02_glass_magenta/glass_pane_magenta.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/03_glass_light_blue/glass_light_blue.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/03_glass_light_blue/glass_pane_light_blue.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/04_glass_yellow/glass_pane_yellow.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/04_glass_yellow/glass_yellow.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/05_glass_lime/glass_lime.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/05_glass_lime/glass_pane_lime.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/06_glass_pink/glass_pane_pink.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/06_glass_pink/glass_pink.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/07_glass_gray/glass_gray.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/07_glass_gray/glass_pane_gray.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/08_glass_light_gray/glass_light_gray.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/08_glass_light_gray/glass_pane_light_gray.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/09_glass_cyan/glass_cyan.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/09_glass_cyan/glass_pane_cyan.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/10_glass_purple/glass_pane_purple.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/10_glass_purple/glass_purple.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/11_glass_blue/glass_blue.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/11_glass_blue/glass_pane_blue.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/12_glass_brown/glass_brown.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/12_glass_brown/glass_pane_brown.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/13_glass_green/glass_green.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/13_glass_green/glass_pane_green.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/14_glass_red/glass_pane_red.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/14_glass_red/glass_red.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/15_glass_black/glass_black.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/15_glass_black/glass_pane_black.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/20_glass/glass.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/20_glass/glass_pane.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/21_tinted_glass/tinted_glass.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/30_bookshelf/bookshelf.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/40_sandstone/sandstone.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/41_red_sandstone/red_sandstone.properties [22:01:10] [Worker-Main-22/INFO]: [OptiFine] Multipass connected textures: false [22:01:10] [Worker-Main-22/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties [22:01:11] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:11] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:11] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:11] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:11] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:11] [Worker-Main-22/INFO]: [OptiFine] Multitexture: false [22:01:11] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Headphone (Realtek(R) Audio) [22:01:11] [Render thread/INFO]: Sound engine started [22:01:11] [Render thread/INFO]: Created: 1024x1024x3 minecraft:textures/atlas/blocks.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 45 [22:01:11] [Render thread/INFO]: Created: 256x128x3 minecraft:textures/atlas/signs.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:11] [Render thread/INFO]: Created: 512x512x3 minecraft:textures/atlas/banner_patterns.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:11] [Render thread/INFO]: Created: 512x512x3 minecraft:textures/atlas/shield_patterns.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:11] [Render thread/INFO]: Created: 256x256x3 minecraft:textures/atlas/chest.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:11] [Render thread/INFO]: Created: 512x256x3 minecraft:textures/atlas/beds.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:11] [Render thread/INFO]: Created: 512x256x3 minecraft:textures/atlas/shulker_boxes.png-atlas [22:01:11] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:13] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [22:01:13] [Render thread/INFO]: [OptiFine] Animated sprites: 1 [22:01:13] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [22:01:13] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:13] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [22:01:13] [Render thread/INFO]: [OptiFine] Animated sprites: 0 [22:01:13] [Render thread/INFO]: [OptiFine] *** Reloading custom textures *** [22:01:14] [Render thread/INFO]: [OptiFine] Disable Forge light pipeline  
    • Hi, I have a problem because when i start minecraft with forge 40.1.20 the game don't open. Someone help?  
    • update to the latest version of Forge, also 1.16.5 requires java 8
    • one of your mods requires GeckoLib, unfortunately is this mod not declared its dependencies correctly to Forge, so Forge can not show you a warning. If you find out which Mod requires GeckoLib report this issue to the Mod author
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.