Jump to content

Minecraft Crashing and says: "Rendering ingredient java.lang.IllegalStateException: Not building!"


Recommended Posts

Posted

My minecraft keeps crashing, and i'm not sure whats wrong:(

 

The game crashed whilst rendering ingredient
Error: java.lang.IllegalStateException: Not building!

 

---- Minecraft Crash Report ----

WARNING: coremods are present:
  llibrary (llibrary-core-1.0.11-1.12.2.jar)
  EnderCorePlugin (EnderCore-1.12.2-0.5.57-core.jar)
  weaponlib (mw-1.11.6_mc1.12.2.jar)
Contact their authors BEFORE contacting forge

// Ooh. Shiny.

Time: 4/23/19 6:08 PM
Description: Rendering ingredient

java.lang.IllegalStateException: Not building!
    at net.minecraft.client.renderer.BufferBuilder.func_178977_d(BufferBuilder.java:537)
    at net.minecraft.client.renderer.Tessellator.func_78381_a(SourceFile:21)
    at com.vicmatskiv.weaponlib.compatibility.CompatibleStaticModelSourceRenderer.func_188616_a(CompatibleStaticModelSourceRenderer.java:101)
    at net.minecraftforge.client.ForgeHooksClient.renderLitItem(ForgeHooksClient.java:653)
    at net.minecraft.client.renderer.RenderItem.func_191967_a(RenderItem.java:118)
    at net.minecraft.client.renderer.RenderItem.func_191961_a(RenderItem.java:106)
    at mezz.jei.render.ItemStackFastRenderer.uncheckedRenderItemAndEffectIntoGUI(ItemStackFastRenderer.java:63)
    at mezz.jei.render.ItemStackFastRenderer.renderItemAndEffectIntoGUI(ItemStackFastRenderer.java:32)
    at mezz.jei.render.IngredientListBatchRenderer.render(IngredientListBatchRenderer.java:157)
    at mezz.jei.gui.overlay.IngredientGrid.draw(IngredientGrid.java:99)
    at mezz.jei.gui.overlay.IngredientGridWithNavigation.draw(IngredientGridWithNavigation.java:97)
    at mezz.jei.gui.overlay.IngredientListOverlay.drawScreen(IngredientListOverlay.java:161)
    at mezz.jei.gui.GuiEventHandler.onDrawBackgroundEventPost(GuiEventHandler.java:62)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_685_GuiEventHandler_onDrawBackgroundEventPost_BackgroundDrawnEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraft.client.gui.GuiScreen.func_146276_q_(GuiScreen.java:575)
    at net.minecraft.client.gui.inventory.GuiInventory.func_73863_a(SourceFile:66)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraft.client.renderer.BufferBuilder.func_178977_d(BufferBuilder.java:537)
    at net.minecraft.client.renderer.Tessellator.func_78381_a(SourceFile:21)
    at com.vicmatskiv.weaponlib.compatibility.CompatibleStaticModelSourceRenderer.func_188616_a(CompatibleStaticModelSourceRenderer.java:101)
    at net.minecraftforge.client.ForgeHooksClient.renderLitItem(ForgeHooksClient.java:653)
    at net.minecraft.client.renderer.RenderItem.func_191967_a(RenderItem.java:118)
    at net.minecraft.client.renderer.RenderItem.func_191961_a(RenderItem.java:106)

-- Ingredient being rendered --
Details:
    Ingredient Mod: Modern Warfare
    Ingredient Info: 1xitem.mw_Magnum44Ammo@0 mw:magnum44ammo
Stacktrace:
    at mezz.jei.util.ErrorUtil.createRenderIngredientException(ErrorUtil.java:256)
    at mezz.jei.render.ItemStackFastRenderer.renderItemAndEffectIntoGUI(ItemStackFastRenderer.java:34)
    at mezz.jei.render.IngredientListBatchRenderer.render(IngredientListBatchRenderer.java:157)
    at mezz.jei.gui.overlay.IngredientGrid.draw(IngredientGrid.java:99)
    at mezz.jei.gui.overlay.IngredientGridWithNavigation.draw(IngredientGridWithNavigation.java:97)
    at mezz.jei.gui.overlay.IngredientListOverlay.drawScreen(IngredientListOverlay.java:161)
    at mezz.jei.gui.GuiEventHandler.onDrawBackgroundEventPost(GuiEventHandler.java:62)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_685_GuiEventHandler_onDrawBackgroundEventPost_BackgroundDrawnEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraft.client.gui.GuiScreen.func_146276_q_(GuiScreen.java:575)
    at net.minecraft.client.gui.inventory.GuiInventory.func_73863_a(SourceFile:66)
    at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- Screen render details --
Details:
    Screen name: net.minecraft.client.gui.inventory.GuiInventory
    Mouse location: Scaled: (240, 132). Absolute: (960, 528)
    Screen size: Scaled: (480, 265). Absolute: (1920, 1057). Scale factor of 4

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['cheetahjp'/540, l='MpServer', x=58.62, y=63.00, z=-141.67]]
    Chunk stats: MultiplayerChunkCache: 1088, 1088
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (77,64,-148), Chunk: (at 13,4,12 in 4,-10; contains blocks 64,0,-160 to 79,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 43878 game time, 43878 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 26 total; [EntityNautilus['Nautilus'/513, l='MpServer', x=85.10, y=43.17, z=-160.23], EntityNautilus['Nautilus'/516, l='MpServer', x=101.19, y=51.79, z=-195.75], EntityBat['Bat'/3975, l='MpServer', x=118.47, y=19.76, z=-124.95], EntityBat['Bat'/3976, l='MpServer', x=117.36, y=19.53, z=-125.08], EntityNautilus['Nautilus'/393, l='MpServer', x=-2.70, y=34.50, z=-107.34], EntityPlayerSP['cheetahjp'/540, l='MpServer', x=58.62, y=63.00, z=-141.67], EntitySquid['Squid'/3364, l='MpServer', x=105.98, y=46.53, z=-121.69], EntitySquid['Squid'/3365, l='MpServer', x=108.07, y=49.01, z=-117.89], EntitySquid['Squid'/3366, l='MpServer', x=113.16, y=47.74, z=-130.23], EntityBat['Bat'/4137, l='MpServer', x=137.69, y=18.89, z=-129.45], EntityBat['Bat'/2261, l='MpServer', x=123.55, y=20.10, z=-126.75], EntityBat['Bat'/3928, l='MpServer', x=111.25, y=24.10, z=-133.65], EntityBoat['Boat'/481, l='MpServer', x=85.73, y=62.52, z=-128.69], MoCEntityMaggot['Maggot'/482, l='MpServer', x=84.70, y=63.00, z=-114.66], MoCEntitySnail['Snail'/483, l='MpServer', x=83.65, y=63.00, z=-114.97], MoCEntityMaggot['Maggot'/484, l='MpServer', x=82.34, y=63.00, z=-114.21], MoCEntitySnail['Snail'/485, l='MpServer', x=82.51, y=63.00, z=-113.49], MoCEntitySnail['Snail'/486, l='MpServer', x=86.47, y=63.00, z=-113.14], MoCEntitySnail['Snail'/487, l='MpServer', x=87.18, y=64.00, z=-116.00], MoCEntitySnail['Snail'/488, l='MpServer', x=81.37, y=63.00, z=-108.31], EntityItem['item.tile.dirt.default'/4072, l='MpServer', x=63.49, y=59.00, z=-139.88], MoCEntityMaggot['Maggot'/489, l='MpServer', x=82.81, y=63.00, z=-108.32], MoCEntitySnail['Snail'/490, l='MpServer', x=80.50, y=63.00, z=-110.50], MoCEntitySnail['Snail'/491, l='MpServer', x=83.50, y=63.00, z=-108.15], EntityItem['item.item.eggNautilus'/495, l='MpServer', x=102.74, y=33.00, z=-96.39], EntityItem['item.item.fish.cod.raw'/496, l='MpServer', x=104.13, y=13.00, z=-87.45]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 3791101872 bytes (3615 MB) / 10871635968 bytes (10368 MB) up to 12884901888 bytes (12288 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx12G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.42 Powered by Forge 14.23.5.2836 52 mods loaded, 52 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State  | ID                                | Version           | Source                                                      | Signature                                |
    |:------ |:--------------------------------- |:----------------- |:----------------------------------------------------------- |:---------------------------------------- |
    | LCHIJA | minecraft                         | 1.12.2            | minecraft.jar                                               | None                                     |
    | LCHIJA | mcp                               | 9.42              | minecraft.jar                                               | None                                     |
    | LCHIJA | FML                               | 8.0.99.99         | forge-1.12.2-14.23.5.2836.jar                               | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge                             | 14.23.5.2836      | forge-1.12.2-14.23.5.2836.jar                               | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | backpack                          | 3.0.2             | Backpacks-Mod-1.12.2.jar                                    | None                                     |
    | LCHIJA | battletowers                      | 1.6.4             | BattleTowers-Mod-1.12.2.jar                                 | None                                     |
    | LCHIJA | bettermagnets                     | 0.1               | bettermagnets-mc1.12.x-v1.11.jar                            | None                                     |
    | LCHIJA | codechickenlib                    | 3.2.2.353         | CodeChickenLib-1.12.2-3.2.2.353-universal (2).jar           | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
    | LCHIJA | redstoneflux                      | 2.1.0             | RedstoneFlux-1.12-2.1.0.6-universal.jar                     | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | LCHIJA | cofhcore                          | 4.6.2             | CoFHCore-1.12.2-4.6.2.25-universal.jar                      | None                                     |
    | LCHIJA | cofhworld                         | 1.3.0             | CoFHWorld-1.12.2-1.3.0.6-universal (1).jar                  | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | LCHIJA | cyclopscore                       | 1.1.1             | CyclopsCore-1.12.2-1.1.1.jar                                | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |
    | LCHIJA | colossalchests                    | 1.7.0             | Colossal-Chests-Mod-1.12.2.jar                              | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |
    | LCHIJA | mocreatures                       | 12.0.5            | DrZharks+MoCreatures+Mod-12.0.5.jar                         | None                                     |
    | LCHIJA | endercore                         | 1.12.2-0.5.57     | EnderCore-1.12.2-0.5.57.jar                                 | None                                     |
    | LCHIJA | jei                               | 4.15.0.268        | jei_1.12.2-4.15.0.268.jar                                   | None                                     |
    | LCHIJA | thermalfoundation                 | 2.6.2             | ThermalFoundation-1.12.2-2.6.2.26-universal.jar             | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | LCHIJA | thermalexpansion                  | 5.5.3             | ThermalExpansion-1.12.2-5.5.3.41-universal (1).jar          | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | LCHIJA | enderio                           | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderiointegrationtic             | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderiobase                       | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderioconduits                   | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderioconduitsappliedenergistics | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderioconduitsopencomputers      | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderioconduitsrefinedstorage     | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderiointegrationforestry        | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderiointegrationticlate         | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderiomachines                   | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | enderiopowertools                 | 5.0.43            | EnderIO-1.12.2-5.0.43.jar                                   | None                                     |
    | LCHIJA | fastleafdecay                     | v14               | FastLeafDecay-v14.jar                                       | None                                     |
    | LCHIJA | llibrary                          | 1.7.18            | llibrary-1.7.18-1.12.2.jar                                  | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
    | LCHIJA | fossil                            | 8.0.0             | fossilsarcheology-8.0.0 (1).jar                             | None                                     |
    | LCHIJA | waila                             | 1.8.26            | Hwyla-Mod-1.12.2 (1).jar                                    | None                                     |
    | LCHIJA | iceandfire                        | 1.7.1             | iceandfire-1.7.1-1.12.2.jar                                 | None                                     |
    | LCHIJA | ichunutil                         | 7.2.0             | iChunUtil-1.12.2-7.2.0.jar                                  | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCHIJA | ic2                               | 2.8.125-ex112     | industrialcraft-2-2.8.125-ex112 (1).jar                     | de041f9f6187debbc77034a344134053277aa3b0 |
    | LCHIJA | inventorypets                     | 1.4.9.9           | inventorypets-1.12-1.4.9.9.jar                              | None                                     |
    | LCHIJA | ironchest                         | 1.12.2-7.0.59.842 | Iron-Chests-Mod-1.12.2.jar                                  | None                                     |
    | LCHIJA | jeiintegration                    | 1.5.1.36          | jeiintegration_1.12.2-1.5.1.36.jar                          | None                                     |
    | LCHIJA | journeymap                        | 1.12.2-5.5.4      | journeymap-1.12.2-5.5.4.jar                                 | None                                     |
    | LCHIJA | kypjci                            | 0.6               | Just-Copy-It-Mod-1.12.2.jar                                 | None                                     |
    | LCHIJA | jeresources                       | 0.8.5.27          | JustEnoughResources-1.12.2-0.8.5.27.jar                     | None                                     |
    | LCHIJA | lootbags                          | 2.5.8.5           | LootBags-1.12.2-2.5.8.5.jar                                 | None                                     |
    | LCHIJA | morph                             | 7.1.3             | Morphing-Mod-1.12.2.jar                                     | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCHIJA | mw                                | 1.11.6            | mw-1.11.6_mc1.12.2.jar                                      | None                                     |
    | LCHIJA | harvestcraft                      | 1.12.2zb          | Pam's+HarvestCraft+1.12.2zc+The+7mm+Kidney+Stone+Update.jar | None                                     |
    | LCHIJA | progressiveautomation             | 1.7.8             | ProgressiveAutomation-1.12.2-1.7.8.jar                      | None                                     |
    | LCHIJA | thermaldynamics                   | 2.5.4             | ThermalDynamics-1.12.2-2.5.4.18-universal.jar               | 8a6abf2cb9e141b866580d369ba6548732eff25f |
    | LCHIJA | bspkrscore                        | at_0.9            | TreeCapitator-Mod-1.12.jar                                  | None                                     |
    | LCHIJA | treecapitator                     | at_0.9            | TreeCapitator-Mod-1.12.jar                                  | None                                     |
    | LCHIJA | veinminer                         | 0.38.2            | VeinMiner-1.12-0.38.2.647+b31535a.jar                       | None                                     |
    | LCHIJA | veinminermodsupport               | 0.38.2            | VeinMiner-1.12-0.38.2.647+b31535a.jar                       | None                                     |

    Loaded coremods (and transformers): 
llibrary (llibrary-core-1.0.11-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
EnderCorePlugin (EnderCore-1.12.2-0.5.57-core.jar)
  com.enderio.core.common.transform.EnderCoreTransformer
  com.enderio.core.common.transform.SimpleMixinPatcher
weaponlib (mw-1.11.6_mc1.12.2.jar)
  com.vicmatskiv.weaponlib.core.WeaponlibClassTransformer
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13547 Compatibility Profile Context 25.20.15031.9002' Renderer: 'Radeon RX550/550 Series'
    Ender IO: No known problems detected.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!You are looking at the diagnostics information, not at the crash.       !!!
    !!!Scroll up until you see the line with '---- Minecraft Crash Report ----'!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Launched Version: 1.12.2-forge1.12.2-14.23.5.2836
    LWJGL: 2.9.4
    OpenGL: Radeon RX550/550 Series GL version 4.6.13547 Compatibility Profile Context 25.20.15031.9002, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 16x AMD Ryzen 7 1700 Eight-Core Processor 

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

    • After reinstalling and rebuilding server, now I get another error which is Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(2829) + length(1) exceeds writerIndex(2829): UnpooledHeapByteBuf(ridx: 2829, widx: 2829, cap: 2829/2829)
    • In 1.20.1, while creating an addon(mod) for Epic Fight, I tried to runclient and it crashed with the following error rg.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.epicfight.json:MixinEntityRenderer] from phase [DEFAULT] in config [ mixins.epicfight.json] FAILED during APPLY Could you please tell me how to solve this problem? build.gradle   plugins { id 'eclipse' id 'idea' id 'maven-publish' id 'net.minecraftforge.gradle' version '[6.0,6.2)' //id 'org.parchmentmc.librarian.forgegradle' version '1.+' //id 'org.spongepowerd.mixin' version '0.8.5' } version = mod_version group = mod_group_id base { archivesName = mod_id } // Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. java.toolchain.languageVersion = JavaLanguageVersion.of(17) println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}" minecraft { // The mappings can be changed at any time and must be in the following format. // Channel: Version: // official MCVersion Official field/method names from Mojang mapping files // parchment YYYY.MM.DD-MCVersion Open community-sourced parameter names and javadocs layered on top of official // // You must be aware of the Mojang license when using the 'official' or 'parchment' mappings. // See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md // // Parchment is an unofficial project maintained by ParchmentMC, separate from MinecraftForge // Additional setup is needed to use their mappings: https://parchmentmc.org/docs/getting-started // // Use non-default mappings at your own risk. They may not always work. // Simply re-run your setup task after changing the mappings to update your workspace. mappings channel: mapping_channel, version: mapping_version // When true, this property will have all Eclipse/IntelliJ IDEA run configurations run the "prepareX" task for the given run configuration before launching the game. // In most cases, it is not necessary to enable. // enableEclipsePrepareRuns = true // enableIdeaPrepareRuns = true // This property allows configuring Gradle's ProcessResources task(s) to run on IDE output locations before launching the game. // It is REQUIRED to be set to true for this template to function. // See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html copyIdeResources = true // When true, this property will add the folder name of all declared run configurations to generated IDE run configurations. // The folder name can be set on a run configuration using the "folderName" property. // By default, the folder name of a run configuration is the name of the Gradle project containing it. // generateRunFolders = true // This property enables access transformers for use in development. // They will be applied to the Minecraft artifact. // The access transformer file can be anywhere in the project. // However, it must be at "META-INF/accesstransformer.cfg" in the final mod jar to be loaded by Forge. // This default location is a best practice to automatically put the file in the right place in the final jar. // See https://docs.minecraftforge.net/en/latest/advanced/accesstransformers/ for more information. // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Default run configurations. // These can be tweaked, removed, or duplicated as needed. runs { // applies to all the run configs below configureEach { workingDirectory project.file('run') // Recommended logging data for a userdev environment // The markers can be added/remove as needed separated by commas. // "SCAN": For mods scan. // "REGISTRIES": For firing of registry events. // "REGISTRYDUMP": For getting the contents of all registries. property 'forge.logging.markers', 'REGISTRIES' // Recommended logging level for the console // You can set various levels here. // Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels property 'forge.logging.console.level', 'debug' mods { "${mod_id}" { source sourceSets.main } } } client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id } server { property 'forge.enabledGameTestNamespaces', mod_id args '--nogui' } // This run config launches GameTestServer and runs all registered gametests, then exits. // By default, the server will crash when no gametests are provided. // The gametest system is also enabled by default for other run configs under the /test command. gameTestServer { property 'forge.enabledGameTestNamespaces', mod_id } data { // example of overriding the workingDirectory set in configureEach above workingDirectory project.file('run-data') // Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources. args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') } } } // Include resources generated by data generators. sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { // Put repositories for dependencies here // ForgeGradle automatically adds the Forge maven and Maven Central for you maven { url "https://cursemaven.com" content { includeGroup "curse.maven" } } // If you have mod jar dependencies in ./libs, you can declare them as a repository like so. // See https://docs.gradle.org/current/userguide/declaring_repositories.html#sub:flat_dir_resolver // flatDir { // dir 'libs' // } } dependencies { // Specify the version of Minecraft to use. // Any artifact can be supplied so long as it has a "userdev" classifier artifact and is a compatible patcher artifact. // The "userdev" classifier will be requested and setup by ForgeGradle. // If the group id is "net.minecraft" and the artifact id is one of ["client", "server", "joined"], // then special handling is done to allow a setup of a vanilla dependency without the use of an external repository. minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" // Example mod dependency with JEI - using fg.deobf() ensures the dependency is remapped to your development mappings // The JEI API is declared for compile time use, while the full JEI artifact is used at runtime // compileOnly fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}") // compileOnly fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}") // runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}-forge:${jei_version}") implementation fg.deobf("curse.maven:epic-fight-mod-405076:5922122") annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' // Example mod dependency using a mod jar from ./libs with a flat dir repository // This maps to ./libs/coolmod-${mc_version}-${coolmod_version}.jar // The group id is ignored when searching -- in this case, it is "blank" // implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}") // For more info: // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } // This block of code expands all declared replace properties in the specified resource targets. // A missing property will result in an error. Properties are expanded using ${} Groovy notation. // When "copyIdeResources" is enabled, this will also run before the game launches in IDE environments. // See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html tasks.named('processResources', ProcessResources).configure { var replaceProperties = [ minecraft_version: minecraft_version, minecraft_version_range: minecraft_version_range, forge_version: forge_version, forge_version_range: forge_version_range, loader_version_range: loader_version_range, mod_id: mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version, mod_authors: mod_authors, mod_description: mod_description, ] inputs.properties replaceProperties filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) { expand replaceProperties + [project: project] } } // Example for how to get properties into the manifest for reading at runtime. tasks.named('jar', Jar).configure { manifest { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, 'Specification-Version' : '1', // We are version 1 of ourselves 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, 'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } // This is the preferred method to reobfuscate your jar file finalizedBy 'reobfJar' } // However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing: // tasks.named('publish').configure { // dependsOn 'reobfJar' // } // Example configuration to allow publishing using the maven-publish plugin publishing { publications { register('mavenJava', MavenPublication) { artifact jar } } repositories { maven { url "file://${project.projectDir}/mcmodsrepo" } maven { url "https://cursemaven.com" content { includeGroup "curse.maven" } } } } tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation }  
    • I have a custom 3d model which works perfectly. BUT I want it to be held diffrently on the players hand when the item is being used. My JSON file under assets/examplemod/items looks like this: { "model": { "type": "minecraft:condition", "on_false": { "type": "minecraft:model", "model": "examplemod:item/example_item" }, "on_true": { "type": "minecraft:model", "model": "examplemod:item/example_item_using" }, "property": "minecraft:using_item" } }   This works fine until the item is used. The correct model will be displayed but with a full black texture instead of the actuall texture. Any idea why? (I want to use the exact same texture for both items, because their model is the same just diffrent displays on firstperson_righthand and firstperson_lefthand). The models JSON's are fully blockbench files inlcuding the elements, display, textures with texture_size.   Also is this the correct way to do it? Because it feels so dumb to change the exact same model just for a diffrent right- and lefthand view.   (fyi: ItemUseAnimation is BLOCK for this item)
    • I just backed up my world then tried to create new mod with currently equipped mod but with new world still made same error. Sooo I think it's not world error. also It's working fine on singleplayer. + but it made some another weird error with new world
    • Maybe the file is too large - you can upload the log file via Mediafire
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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