Jump to content

Recommended Posts

Posted (edited)

Hi! I am working on a custom modpack on version 1.14.4 for me and a friend to play together on a server. The game was running fine but after messing around with some configs to balance the modpack out a little, the game just crashes and I am no expert on reading crash logs. Would anyone be willing to help me?

 

The following mods I configured

- Quark

- Serene Seasons

- Super Tools

- Better Foliage

 

Here is a link to the crash report and I will paste the crash report down below as well.

 

---- Minecraft Crash Report ----
// Uh... Did I do that?

Time: 6/17/20 11:53 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at net.minecraft.client.renderer.color.BlockColors.func_186722_a(BlockColors.java:97) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at doggytalents.ModBlocks.registerBlockColours(ModBlocks.java:46) ~[?:1.15.2.3] {re:classloading,pl:object_holder_definalize:A}
    at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168) ~[?:28.2] {re:classloading}
    at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:243) ~[?:?] {re:classloading}
    at java.util.HashMap.forEach(HashMap.java:1289) ~[?:1.8.0_251] {}
    at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:217) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:243) ~[?:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:193) ~[?:?] {re:mixin,re:classloading}
    at net.minecraft.client.renderer.color.BlockColors.func_186723_a(BlockColors.java:76) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:502) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:randompatches:RandomPatches Minecraft Transformer,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:randompatches:RandomPatches Minecraft Transformer,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) ~[minecraft-1.14.4-client.jar:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) ~[forge-1.14.4-28.2.4-launcher.jar:28.2] {}
    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:?] {re:classloading}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {re:classloading}
    at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:39) [ForgeWrapper-1.4.1.jar:?] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251] {}
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] {}
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] {}
    at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] {}
    at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] {}


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.color.BlockColors.func_186722_a(BlockColors.java:97)
    at doggytalents.ModBlocks.registerBlockColours(ModBlocks.java:46)
    at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212)
    at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168)
    at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:243)
    at java.util.HashMap.forEach(HashMap.java:1289)
    at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:217)
    at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:243)
    at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:193)
    at net.minecraft.client.renderer.color.BlockColors.func_186723_a(BlockColors.java:76)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:502)

-- 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:498)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    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)
    at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:39)
    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:498)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Mac OS X (x86_64) version 10.15.5
    Java Version: 1.8.0_251, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 2613050616 bytes (2491 MB) / 3846176768 bytes (3668 MB) up to 6442450944 bytes (6144 MB)
    CPUs: 8
    JVM Flags: 2 total; -Xms2048m -Xmx6912m
    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.2.4-launcher.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.4-launcher.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.5-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.2.4-launcher.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.4-launcher.jar runtimedistcleaner PLUGINSERVICE 
        /OptiFine_1.14.4_HD_U_F5.jar OptiFine TRANSFORMATIONSERVICE 
        /forge-1.14.4-28.2.4-launcher.jar fml TRANSFORMATIONSERVICE 
        /MixinBootstrap-1.0.3.jar mixinbootstrap TRANSFORMATIONSERVICE 
        /OptiForge-MC1.14.4-0.1.1.jar optiforge TRANSFORMATIONSERVICE 
        /MixinBootstrap-1.0.3.jar mixin PLUGINSERVICE 
        /MixinBootstrap-1.0.3.jar mixinbootstrap PLUGINSERVICE 
    FML: 28.2
    Forge: net.minecraftforge:28.2.4
    FML Language Providers: 
        [email protected]
        minecraft@1
        [email protected]
    Mod List: 
        enchantedbookredesign-1.1.jar Enchanted Book Redesign {[email protected] CREATE_REGISTRIES}
        Ma-Enchants-1.14.4-1.8.1.jar Ma Enchants {[email protected] CREATE_REGISTRIES}
        XPFromHarvest-1.14.4-1.2.0.jar XP From Harvest {[email protected] CREATE_REGISTRIES}
        GoodSkeletonsDontStrafe-v1.1.2-1.14.4.jar Good Skeletons Don't Strafe {[email protected] CREATE_REGISTRIES}
        vanillaexcavators-1.14.4-1.0.jar Vanilla Excavators {[email protected] CREATE_REGISTRIES}
        Bountiful Baubles-1.14.4-0.0.4.jar Bountiful Baubles {bountifulbaubles@NONE CREATE_REGISTRIES}
        jei-1.14.4-6.0.0.27.jar Just Enough Items {[email protected] CREATE_REGISTRIES}
        OptiForge-MC1.14.4-0.1.1.jar OptiForge {[email protected] CREATE_REGISTRIES}
        Druidcraft-1.14-0.3.1.jar Druidcraft {[email protected] CREATE_REGISTRIES}
        AttributeFix-1.14.4-3.0.3.jar AttributeFix {[email protected] CREATE_REGISTRIES}
        DoggyTalents-1.14.4-1.15.2.3.jar Doggy Talents {[email protected] CREATE_REGISTRIES}
        caelus-FORGE-1.14.4-1.0.1.2.jar Caelus API {[email protected] CREATE_REGISTRIES}
        Upgrade-Aquatic-1.14.4-v1.4.10.jar Upgrade Aquatic {[email protected] CREATE_REGISTRIES}
        bambooeverything-1.14-1.5.0.jar Bamboo Everything {[email protected] CREATE_REGISTRIES}
        colytra-FORGE-1.14.4-2.0.0.1.jar Colytra {[email protected] CREATE_REGISTRIES}
        noautojump-1.14.4-1.3.jar No Auto-Jump {[email protected] CREATE_REGISTRIES}
        extraboats-1.2.6-1.14.4.jar Extra Boats {[email protected] CREATE_REGISTRIES}
        Waystones_1.14.4-5.1.1.jar Waystones {[email protected] CREATE_REGISTRIES}
        MoreOresInONE-1.5.jar More Ores in ONE {[email protected] CREATE_REGISTRIES}
        villagernames_1.14-2.4.jar Villager Names {[email protected] CREATE_REGISTRIES}
        Clumps-4.0.1.jar Clumps {[email protected] CREATE_REGISTRIES}
        XaerosWorldMap_1.6.4_Forge_1.14.4.jar Xaero's World Map {[email protected] CREATE_REGISTRIES}
        Controlling-5.0.7.jar Controlling {[email protected] CREATE_REGISTRIES}
        Placebo-1.14.4-2.3.5.jar Placebo {[email protected] CREATE_REGISTRIES}
        comforts-FORGE-1.14.4-2.0-beta6.jar Comforts {[email protected] CREATE_REGISTRIES}
        NaturesCompass-1.14.4-1.8.5.jar Nature's Compass {[email protected] CREATE_REGISTRIES}
        SereneSeasons-1.14.4-2.0.0.70-universal.jar Serene Seasons {[email protected] CREATE_REGISTRIES}
        decorative_blocks_6b.jar Decorative Blocks {[email protected] CREATE_REGISTRIES}
        VanillaTweaks-1.14.4.1.5.15.jar VanillaTweaks {[email protected] CREATE_REGISTRIES}
        Bookshelf-1.14.4-4.4.74.jar Bookshelf {[email protected] CREATE_REGISTRIES}
        BotanyPots-1.14.4-1.0.12.jar BotanyPots {[email protected] CREATE_REGISTRIES}
        The-Endergetic-Expansion-1.14.4-v1.2.0.jar The Endergetic Expansion {[email protected] CREATE_REGISTRIES}
        u_team_core-1.14.4-2.8.2.150.jar U Team Core {[email protected] CREATE_REGISTRIES}
        randompatches-1.14.4-1.21.1.2.jar RandomPatches {[email protected] CREATE_REGISTRIES}
        Customized-Dungeon-Loot-1.14.x-(v.2.0.0).jar Customized Dungeon Loot {[email protected] CREATE_REGISTRIES}
        Apotheosis-1.14.4-2.4.4.jar Apotheosis {[email protected] CREATE_REGISTRIES}
        ProgressiveBosses-2.1.4.jar Progressive Bosses {[email protected] CREATE_REGISTRIES}
        Hwyla-forge-1.10.6-B67_1.14.4.jar Waila {waila@version CREATE_REGISTRIES}
        traverse-1.14.4-2.1.0.jar Traverse {[email protected] ERROR}
        JustEnoughResources-1.14.4-0.10.1.76.jar Just Enough Resources {[email protected] CREATE_REGISTRIES}
        forge-1.14.4-28.2.4-universal.jar Forge {[email protected] CREATE_REGISTRIES}
        ironchest-1.14.4-9.1.5.jar Iron Chests {[email protected] CREATE_REGISTRIES}
        forge-1.14.4-28.2.4-client.jar Minecraft {[email protected] CREATE_REGISTRIES}
        cofh_core-1.14.4-0.4.0b.jar CoFH Core {[email protected] CREATE_REGISTRIES}
        ensorcellation-1.14.4-0.4.1b.jar Ensorcellation {[email protected] CREATE_REGISTRIES}
        useful_backpacks-1.14.4-1.7.6.60.jar Useful Backpacks {[email protected] CREATE_REGISTRIES}
        EnchantmentDescriptions-1.14.4-1.3.13.jar EnchantmentDescriptions {[email protected] CREATE_REGISTRIES}
        swingthroughgrass-1.14.4-1.3.2.jar SwingThroughGrass {[email protected] CREATE_REGISTRIES}
        MouseTweaks-2.13-mc1.14.4.jar Mouse Tweaks {[email protected] CREATE_REGISTRIES}
        Blur-1.1.0-1.jar Blur {[email protected] CREATE_REGISTRIES}
        valhelsia_structures-14.0.4a.jar Valhelsia Structures {[email protected] CREATE_REGISTRIES}
        ironfurnaces-1.14.4-1.8.3.jar Iron Furnaces {[email protected] CREATE_REGISTRIES}
        extcaves-1.5.jar Extended Caves {[email protected] CREATE_REGISTRIES}
        Ding-1.14.4-1.1.0.jar Ding {[email protected] CREATE_REGISTRIES}
        fairylights-2.1.15-1.14.4.jar Fairy Lights {[email protected] CREATE_REGISTRIES}
        atmospheric-1.14.4-1.1.2.jar Atmospheric {[email protected] CREATE_REGISTRIES}
        Bountiful-1.14.4-3.1.2.jar Bountiful {[email protected] CREATE_REGISTRIES}
        curios-FORGE-1.14.4-1.0.6.1.jar Curios API {[email protected] CREATE_REGISTRIES}
        SpartanShields-1.14.4-2.0.0.jar Spartan Shields {[email protected] CREATE_REGISTRIES}
        Mantle-1.14.4-1.4.32.jar Mantle {[email protected] CREATE_REGISTRIES}
        Inspirations-1.14.4-1.0.2.jar Inspirations {[email protected] CREATE_REGISTRIES}
        Xaeros_Minimap_20.14.0_Forge_1.14.4.jar Xaero's Minimap {[email protected] CREATE_REGISTRIES}
        AutoRegLib-1.4-35.jar AutoRegLib {[email protected] CREATE_REGISTRIES}
        Quark-r2.0-212.jar Quark {[email protected] CREATE_REGISTRIES}
        collective-1.14.4-1.23.jar Collective {[email protected] CREATE_REGISTRIES}
        recycler-1.0.0.jar Recycler {[email protected] CREATE_REGISTRIES}
        Unique Enchantments V1.14.4-1.8.jar Unique Enchantments {[email protected] CREATE_REGISTRIES}
        OreExcavation-1.6.147.jar Ore Excavation {oreexcavation@NONE CREATE_REGISTRIES}
        DoubleSlabs-1.14-1.5.0.jar Double Slabs {[email protected] CREATE_REGISTRIES}
        vanillahammers-1.14.4-1.1.jar Vanilla Hammers {[email protected] CREATE_REGISTRIES}
        Harvest-forge-1.14.4-1.2.10-23.jar Harvest {harvest@version CREATE_REGISTRIES}
        noRecipeBook_v1.4.1formc1.14.4.jar No Recipe Book {[email protected] CREATE_REGISTRIES}
        SpartanWeaponry-1.14.4-2.0.0-beta-1.jar Spartan Weaponry {[email protected] beta 1 CREATE_REGISTRIES}
        AI-Improvements-1.14.4-0.3.0.jar AI-Improvements {[email protected] CREATE_REGISTRIES}
        UpgradeModifiers-1.14.4-1.0.2.jar UpgradeModifiers {[email protected] CREATE_REGISTRIES}
        cherishedworlds-FORGE-1.14.4-2.0.jar Cherished Worlds {[email protected] CREATE_REGISTRIES}
        DurabilityViewer-1.14.4-forge28.1.109-1.7.1.jar Giselbaers Durability Viewer {[email protected] CREATE_REGISTRIES}
        Aquaculture-1.14.4-2.0.7.jar Aquaculture 2 {[email protected] CREATE_REGISTRIES}
        BetterBurning-1.14.4-1.0.1.jar BetterBurning {[email protected] CREATE_REGISTRIES}
        Charm-1.14.4-1.5.7.jar Charm {[email protected] CREATE_REGISTRIES}
        FastLeafDecay-v17.jar FastLeafDecay {fastleafdecay@v17 CREATE_REGISTRIES}
        CosmeticArmorReworked-1.14.4-v3.jar CosmeticArmorReworked {[email protected] CREATE_REGISTRIES}
        NetherEx-1.14.4-3.0.3.jar NetherEx {[email protected] CREATE_REGISTRIES}
        LibraryEx-1.14.4-2.0.3.jar LibraryEx {[email protected] CREATE_REGISTRIES}
        WailaHarvestability-mc1.14.4-1.1.12.jar Waila Harvestability {[email protected] CREATE_REGISTRIES}
        SuperTools-1.6b.jar Super Tools {[email protected] CREATE_REGISTRIES}
        BetterFoliage-2.5.0-Forge-1.14.4.jar Better Foliage {[email protected] CREATE_REGISTRIES}
        xptome-1.14.4-v1.1.5.jar XP Tome {[email protected] CREATE_REGISTRIES}
        BetterAdvancements-1.14.4-0.1.0.90.jar Better Advancements {[email protected] CREATE_REGISTRIES}
    Pulsar/inspirations loaded Pulses: 
        - InspirationsShared (Enabled/Forced)
        - InspirationsBuilding (Enabled/Not Forced)
        - InspirationsUtility (Enabled/Not Forced)
        - InspirationsTools (Enabled/Not Forced)
        - InspirationsTweaks (Enabled/Not Forced)

    Launched Version: MultiMC5
    LWJGL: 3.2.2 build 10
    OpenGL: Intel(R) Iris(TM) Plus Graphics 645 GL version 2.1 INTEL-14.6.18, Intel Inc.
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because ARB_framebuffer_object 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: 8x Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    OptiFine Version: OptiFine_1.14.4_HD_U_F5
    OptiFine Build: 20191204-141250
    Render Distance Chunks: 8
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 2.1 INTEL-14.6.18
    OpenGlRenderer: Intel(R) Iris(TM) Plus Graphics 645
    OpenGlVendor: Intel Inc.
    CpuCount: 8

Edited by vintagelypaula

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

    • logs too big for one pastebin https://pastebin.com/ZjUGHu3u  https://pastebin.com/RqCUZf3X  https://pastebin.com/6ZPS99nD
    • You probably used jd-gui to open it, didn't you? Nothing wrong with that, I also made that mistake, except that Notch was a smart guy and he obfuscated the code. That's why you only see files called "a", "b", "c" and then a file that combines them all. As I said, use RetroMCP to deobfuscate the code so that you will 100% understand it and be able to navigate it.
    • Decompiling minecraft indev, infdev, alpha, beta or whichever legacy version is really easy. I'm not a plug, I just also got interested in modding legacy versions (Infdev to be specific). Use https://github.com/MCPHackers/RetroMCP-Java Once you install their client and the Zulu Architecture that they say they recommend (or use your own Java). I encountered some problems, so I run it with: "java -jar RetroMCP-Java-CLI.jar". You should run it in a seperate folder (not in downloads), otherwise the files and folders will go all over the place. How to use RetroMCP: Type setup (every time you want change version), copy-paste the version number from their list (they support indev), write "decompile" and done! The code will now be deobfuscated and filenames will be normal, instead of "a", "b" and "c"! Hope I helped you, but I don't expect you to reply, as this discussion is 9 years old! What a piece of history!  
    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
  • Topics

×
×
  • Create New...

Important Information

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