Jump to content

Recommended Posts

Posted

I searched for 1-2 hours but , well i couldnt find any same example or solving . Here the report:

 

 

---- Minecraft Crash Report ----
// I feel sad now :(

Time: 30.12.2019 19:05
Description: Initializing game

java.lang.NullPointerException: null key in entry: null=10
    at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:32) ~[guava-21.0.jar:?] {}
    at com.google.common.collect.SingletonImmutableBiMap.<init>(SingletonImmutableBiMap.java:42) ~[guava-21.0.jar:?] {}
    at com.google.common.collect.ImmutableBiMap.of(ImmutableBiMap.java:73) ~[guava-21.0.jar:?] {}
    at com.google.common.collect.ImmutableMap.of(ImmutableMap.java:120) ~[guava-21.0.jar:?] {}
    at shadows.apotheosis.ench.objects.ItemHellBookshelf.func_150895_a(ItemHellBookshelf.java:47) ~[?:2.4.4] {re:classloading}
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:571) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:516) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) [forge-1.14.4-28.1.92.jar:28.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$407/2141178045.call(Unknown Source) [forge-1.14.4-28.1.92.jar:28.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {}


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

-- Head --
Thread: Client thread
Stacktrace:
    at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:32)
    at com.google.common.collect.SingletonImmutableBiMap.<init>(SingletonImmutableBiMap.java:42)
    at com.google.common.collect.ImmutableBiMap.of(ImmutableBiMap.java:73)
    at com.google.common.collect.ImmutableMap.of(ImmutableMap.java:120)
    at shadows.apotheosis.ench.objects.ItemHellBookshelf.func_150895_a(ItemHellBookshelf.java:47)
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:571)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:516)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    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.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$407/2141178045.call(Unknown Source)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1068373320 bytes (1018 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 4
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 4.1.0+62+5bfa59b
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.1.92.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.92.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.1.92.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.92.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.1.92.jar fml TRANSFORMATIONSERVICE 
    FML: 28.1
    Forge: net.minecraftforge:28.1.92
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        followingvillagers-1.14.4-1.2.0.jar Following Villagers {[email protected] LOAD_REGISTRIES}
        CyclopsCore-1.14.4-1.6.1.jar Cyclops Core {[email protected] LOAD_REGISTRIES}
        blockdrops-1.14.4-1.0.2.jar Block Drops {[email protected] LOAD_REGISTRIES}
        nethercraft-1.14.4-1.0.3.jar Nethercraft {[email protected] LOAD_REGISTRIES}
        techemistry-1.14.4-12.jar Techemistry {[email protected] LOAD_REGISTRIES}
        planttech2-0.01.06.jar PlantTech 2 {[email protected] LOAD_REGISTRIES}
        SilentMechanisms-1.14.4-0.6.7+40.jar Silent's Mechanisms {[email protected]+40 LOAD_REGISTRIES}
        modnametooltip_1.14.3-1.12.1.jar Mod Name Tooltip {[email protected] LOAD_REGISTRIES}
        unclegglass-2.0.0-1.14.4.jar Uncle George's Glass {[email protected] LOAD_REGISTRIES}
        noautojump-1.1.jar No Auto-Jump {[email protected] LOAD_REGISTRIES}
        Neat 1.5-19.jar Neat {[email protected] LOAD_REGISTRIES}
        IronJetpacks-1.14.4-2.0.3.jar Iron Jetpacks {[email protected] LOAD_REGISTRIES}
        essentials-1.14.4-2.6.1.jar Essentials {[email protected] LOAD_REGISTRIES}
        glassential-forge-1.14.4-1.1.1.jar Glassential {[email protected] LOAD_REGISTRIES}
        XaerosWorldMap_1.5.0.1_Forge_1.14.4.jar Xaero's World Map {[email protected] LOAD_REGISTRIES}
        ResourcefulTools-1.14.4-1.0.4.jar Resourceful Tools {[email protected] LOAD_REGISTRIES}
        Controlling-5.0.4.jar Controlling {[email protected] LOAD_REGISTRIES}
        Placebo-1.14.4-2.3.5.jar Placebo {[email protected] LOAD_REGISTRIES}
        globaldatapack-1.14.4-1.2.1.jar Dark Roleplay - Global Datapacks {[email protected] LOAD_REGISTRIES}
        Fence Jumper-1.14.4-1.0.8.jar FenceJumper {fencejumper@version LOAD_REGISTRIES}
        Uncrafted+1.14.4++(v.4.0.0+pre1).jar Uncrafted {[email protected] LOAD_REGISTRIES}
        unstabletools-3.5.jar Unstable Tools {[email protected] LOAD_REGISTRIES}
        Apotheosis-1.14.4-2.4.4.jar Apotheosis {[email protected] LOAD_REGISTRIES}
        Morpheus-1.14.4-4.2.43.jar Morpheus {morpheus@version LOAD_REGISTRIES}
        WaterStrainer-1.14.4-7.0.2.jar Water Strainer {[email protected] LOAD_REGISTRIES}
        speedyhoppers-1.14.4-6.jar Speedy Hoppers {[email protected] LOAD_REGISTRIES}
        moreprog-1.14.4-0.4.4.jar MoreProgression {[email protected] LOAD_REGISTRIES}
        inventorygenerators-1.14.4-1.0.1.jar Inventory Generators {[email protected] LOAD_REGISTRIES}
        CarryOn MC1.14.4 v1.12.4.jar Carry On {[email protected] LOAD_REGISTRIES}
        JustEnoughResources-1.14.4-0.10.0.66.jar Just Enough Resources {[email protected] LOAD_REGISTRIES}
        EnergeticSheep-1.14.4-1.1.6.jar EnergeticSheep {[email protected] LOAD_REGISTRIES}
        respawnablepets-1.0.5.1.jar Respawnable Pets {[email protected] LOAD_REGISTRIES}
        quirkygenerators-1.4.jar Quirky Generators {[email protected] LOAD_REGISTRIES}
        mysticallib-1.14.4-1.8.0.jar Mystical Lib {[email protected] LOAD_REGISTRIES}
        refinedstorage-1.7.1.jar Refined Storage {[email protected] LOAD_REGISTRIES}
        simpleores-1.14.4-2.0.6.0.jar Simple Ores {[email protected] LOAD_REGISTRIES}
        extendedfurnace-1.2.jar Extended Furnace {[email protected] LOAD_REGISTRIES}
        turf-1.14.4-1.0.0.jar Turf {[email protected] LOAD_REGISTRIES}
        seafaring-1.14.4-0.1.46.jar Seafaring {[email protected] LOAD_REGISTRIES}
        mining_dimension-1.14.4-1.0.10.jar Mining World {[email protected] LOAD_REGISTRIES}
        SilentGear-1.14.4-1.4.3+68.jar Silent Gear {[email protected]+68 LOAD_REGISTRIES}
        ferroustry-1.3b.jar Ferroustry {[email protected] LOAD_REGISTRIES}
        ToolUpgrades-1.14-(v.3.0.0).jar ToolUpgrades {[email protected] LOAD_REGISTRIES}
        curios-FORGE-1.14.4-1.0.5.2.jar Curios API {[email protected] LOAD_REGISTRIES}
        PeacefulSurface-1.14.4-v1.jar PeacefulSurface {[email protected] LOAD_REGISTRIES}
        morecharcoal-1.14.4-5.jar More Charcoal {[email protected] LOAD_REGISTRIES}
        AutoRegLib-1.4-35.jar AutoRegLib {[email protected] LOAD_REGISTRIES}
        OreExcavation-1.6.141.jar Ore Excavation {[email protected] LOAD_REGISTRIES}
        flexible_skills-1.14.4-1.1.8.jar Flexible Skills Mod {[email protected] LOAD_REGISTRIES}
        dooglamooworlds-1.14.4-1.2.5.jar Dooglamoo Worlds {[email protected] LOAD_REGISTRIES}
        tombstone-4.1.7-1.14.4.jar Corail Tombstone {[email protected] ERROR}
        Ore+Canes+Mod+1.14.4+(v.1.0.0).jar Ore Canes {[email protected] LOAD_REGISTRIES}
        AttainedDrops-1.14.4-5.3.2.jar Attained Drops {[email protected] LOAD_REGISTRIES}
        BouncingBalls-1.14.4-6.0.0.jar Bouncing Balls {[email protected] LOAD_REGISTRIES}
        moreoverlays-1.16.1.jar More Overlays {[email protected] LOAD_REGISTRIES}
        FunOres-1.14.3-2.4.1+15.jar Fun Ores {[email protected]+15 LOAD_REGISTRIES}
        bwncr-1.14.4-3.5.11.jar Bad Wither No Cookie Reloaded {[email protected] LOAD_REGISTRIES}
        speedyladders-1.14.4-4.jar Speedy Ladders {[email protected] LOAD_REGISTRIES}
        classicbar-2.0.0a.jar Classic Bar {[email protected] LOAD_REGISTRIES}
        ScalingHealth-1.14.4-2.3.3+23.jar Scaling Health {[email protected]+23 LOAD_REGISTRIES}
        FastLeafDecay-v17.jar FastLeafDecay {fastleafdecay@v17 LOAD_REGISTRIES}
        rockcandy-1.14.4-1.1.6.jar Rock Candy {rockcandy@version LOAD_REGISTRIES}
        BetterAdvancements-1.14.4-0.1.0.90.jar Better Advancements {[email protected] LOAD_REGISTRIES}
        StructuredCrafting-1.14.4-0.2.2.jar StructuredCrafting {[email protected] LOAD_REGISTRIES}
        inventorysorter-1.14.4-16.2.0.jar Simple Inventory Sorter {[email protected] LOAD_REGISTRIES}
        jmh_1.14.4-2.2.jar Just Mob Heads {[email protected] LOAD_REGISTRIES}
        Cucumber-1.14.4-2.0.5.jar Cucumber Library {[email protected] LOAD_REGISTRIES}
        bambooladders-1.14-1.0.0.jar Bamboo Ladders {[email protected] LOAD_REGISTRIES}
        TrashSlot_1.14.4-10.4.7.jar TrashSlot {[email protected] LOAD_REGISTRIES}
        allomancy-3.0.0-beta3.jar Allomancy {[email protected] LOAD_REGISTRIES}
        bountifulbaubles-1.14.4-0.0.2.jar Bountiful Baubles {bountifulbaubles@NONE LOAD_REGISTRIES}
        jei-1.14.4-6.0.0.18.jar Just Enough Items {[email protected] LOAD_REGISTRIES}
        JustEnoughCalculation-1.14.4-3.3.1.jar Just Enough Calculation {[email protected] LOAD_REGISTRIES}
        metalbarrels-1.4.jar Metal Barrels {[email protected] LOAD_REGISTRIES}
        Druidcraft-1.14-0.2.32.jar Druidcraft {[email protected] LOAD_REGISTRIES}
        BirdsNestsAndTreasures-1.14.4-1.0.0.jar Birds Nests & Treasures {[email protected] LOAD_REGISTRIES}
        fishtraps-0.0.4.jar Fish Traps {[email protected] LOAD_REGISTRIES}
        justenoughbuttons-1.14.4-1.0b.jar Just Enough Buttons {[email protected] LOAD_REGISTRIES}
        reap-1.10.2.jar Reap Mod {[email protected] LOAD_REGISTRIES}
        extraboats-1.1.2-1.14.4.jar Extra Boats {[email protected] LOAD_REGISTRIES}
        create-mc1.14.4_v0.1.1a.jar Create {[email protected] LOAD_REGISTRIES}
        MoreOresInONE-1.5.jar More Ores in ONE {[email protected] LOAD_REGISTRIES}
        Clumps-4.0.0.jar Clumps {[email protected] LOAD_REGISTRIES}
        SimpleStorageNetwork-1.14.4-0.1.0.jar Simple Storage Network {[email protected] LOAD_REGISTRIES}
        BasicNetherOres-1.14.4-3.2.2.jar Basic Nether Ores {[email protected] LOAD_REGISTRIES}
        DungeonCrawl-1.14.4-1.5.1.jar Dungeon Crawl {[email protected] LOAD_REGISTRIES}
        cofh_core-1.14.4-0.1.1b.jar CoFH Core {[email protected] LOAD_REGISTRIES}
        alib-1.14.4-7.jar A Lib {[email protected] LOAD_REGISTRIES}
        mcjtylib-1.14-3.5.13-alpha.jar McJtyLib {[email protected] LOAD_REGISTRIES}
        rftoolsbase-1.14-0.0.10-alpha.jar RFToolsBase {[email protected] LOAD_REGISTRIES}
        voyage-1.0.0.jar Voyage {[email protected] LOAD_REGISTRIES}
        ToastControl-1.14.4-2.2.0.jar Toast Control {[email protected] LOAD_REGISTRIES}
        traverse-1.14.4-2.0.0.jar Traverse {[email protected] LOAD_REGISTRIES}
        dooglamoojunioarchaeology-1.14.4-3.0.0.jar Dooglamoo Jr. Archaeology {[email protected] LOAD_REGISTRIES}
        rftoolspower-1.14-1.2.10-alpha.jar RFToolsPower {[email protected] LOAD_REGISTRIES}
        forge-1.14.4-28.1.92-universal.jar Forge {[email protected] LOAD_REGISTRIES}
        SimpleDivingGear-3.0.3+mc+1.14.4.jar Simple Diving Gear {[email protected] mc 1.14.4 LOAD_REGISTRIES}
        CraftingTweaks_1.14.4-10.1.4.jar Crafting Tweaks {[email protected] LOAD_REGISTRIES}
        alchemistry-1.14.4-7.jar Alchemistry {[email protected] LOAD_REGISTRIES}
        forge-1.14.4-28.1.92-client.jar Minecraft {[email protected] LOAD_REGISTRIES}
        rftoolsutility-1.14-1.2.10-alpha.jar RFToolsUtility {[email protected] LOAD_REGISTRIES}
        theoneprobe-1.14-1.4.37.jar The One Probe {theoneprobe@NONE LOAD_REGISTRIES}
        MouseTweaks-2.12-mc1.14.4.jar Mouse Tweaks {[email protected] LOAD_REGISTRIES}
        SilentLib-1.14.4-4.4.0+44.jar Silent Lib {[email protected]+44 LOAD_REGISTRIES}
        travel_bag-1.0.6-1.14.4.jar Travel Bag {[email protected] LOAD_REGISTRIES}
        RingOfGrowth-1.14.4-1.0.18.jar Ring of Growth {[email protected] LOAD_REGISTRIES}
        forbidden_arcanus-1.14.4-1.4.jar Forbidden & Arcanus {[email protected] LOAD_REGISTRIES}
        Ding-1.14.4-1.1.0.jar Ding {[email protected] LOAD_REGISTRIES}
        extragolems-9.0.4.jar Extra Golems {[email protected] LOAD_REGISTRIES}
        SpartanShields-1.14.4-2.0.0.jar Spartan Shields {[email protected] LOAD_REGISTRIES}
        Quark-r2.0-199.jar Quark {[email protected] LOAD_REGISTRIES}
        Xaeros_Minimap_1.18.9_Forge_1.14.4.jar Xaero's Minimap {[email protected] LOAD_REGISTRIES}
        simplegrinder-1.0.jar Simple Grinder {[email protected] LOAD_REGISTRIES}
        FTBUtilitiesBackups-2.0.0.11.jar FTB Utilities: Backups {[email protected] LOAD_REGISTRIES}
        chemlib-1.14.4-14.jar Chem Lib {[email protected] LOAD_REGISTRIES}
        Harvest-forge-1.14.4-1.2.10-23.jar Harvest {harvest@version LOAD_REGISTRIES}
        filters-1.1.1-1.14.4.jar Filters {[email protected] LOAD_REGISTRIES}
        AppleSkin-mc1.14.4-forge-1.0.12.jar AppleSkin {[email protected] LOAD_REGISTRIES}
        solcarrot-1.14.4-1.9.3.jar Spice of Life: Carrot Edition {[email protected] LOAD_REGISTRIES}
        SilentGems-1.14.4-3.4.6+79.jar Silent's Gems 3 {[email protected]+79 LOAD_REGISTRIES}
        FriendlyFire-1.14.4-3.0.1.jar FriendlyFire {[email protected] LOAD_REGISTRIES}
        vimion-DEV-WEEK-08-0.1-1.14.4.jar Vimion Mod {vimion@DEV WEEK 08 LOAD_REGISTRIES}
        hb_1.14.4-1.1.jar Humbling Bundle {[email protected] LOAD_REGISTRIES}
    Launched Version: 1.14.4-forge-28.1.92
    LWJGL: 3.2.2 build 10
    OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 20.19.15.4463, Intel
    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 'forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    CPU: 4x Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz

Posted
1 minute ago, chicken_soldier said:

shadows.apotheosis.ench.objects.ItemHellBookshelf

Thats the cause of your issue

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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

    • that happens every time I enter a new dimension.
    • This is the last line before the crash: [ebwizardry]: Synchronising spell emitters for PixelTraveler But I have no idea what this means
    • What in particular? I barely used that mod this time around, and it's never been a problem in the past.
    • Im trying to build my mod using shade since i use the luaj library however i keep getting this error Reason: Task ':reobfJar' uses this output of task ':shadowJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. So i try adding reobfJar.dependsOn shadowJar  Could not get unknown property 'reobfJar' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. my gradle file plugins { id 'eclipse' id 'idea' id 'maven-publish' id 'net.minecraftforge.gradle' version '[6.0,6.2)' id 'com.github.johnrengelman.shadow' version '7.1.2' id 'org.spongepowered.mixin' version '0.7.+' } apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' apply plugin: 'com.github.johnrengelman.shadow' 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) //jarJar.enable() println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}" minecraft { mappings channel: mapping_channel, version: mapping_version copyIdeResources = true runs { configureEach { workingDirectory project.file('run') property 'forge.logging.markers', 'REGISTRIES' property 'forge.logging.console.level', 'debug' arg "-mixin.config=derp.mixin.json" 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' } gameTestServer { property 'forge.enabledGameTestNamespaces', mod_id } data { workingDirectory project.file('run-data') args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') } } } sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { flatDir { dirs './libs' } maven { url = "https://jitpack.io" } } configurations { shade implementation.extendsFrom shade } dependencies { minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" implementation 'org.luaj:luaj-jse-3.0.2' implementation fg.deobf("com.github.Virtuoel:Pehkui:${pehkui_version}") annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' minecraftLibrary 'luaj:luaj-jse:3.0.2' shade 'luaj:luaj-jse:3.0.2' } // 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"), "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", "TweakOrder" : 0, "MixinConfigs" : "derp.mixin.json" ]) } rename 'mixin.refmap.json', 'derp.mixin-refmap.json' } shadowJar { archiveClassifier = '' configurations = [project.configurations.shade] finalizedBy 'reobfShadowJar' } assemble.dependsOn shadowJar reobf { re shadowJar {} } publishing { publications { mavenJava(MavenPublication) { artifact jar } } repositories { maven { url "file://${project.projectDir}/mcmodsrepo" } } } my entire project:https://github.com/kevin051606/DERP-Mod/tree/Derp-1.0-1.20
  • Topics

×
×
  • Create New...

Important Information

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