Jump to content

Recommended Posts

Posted

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 20/2/20 11:44 AM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source) ~[?:1.8.0_201] {}
    at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source) ~[?:1.8.0_201] {}
    at java.lang.reflect.Field.get(Unknown Source) ~[?:1.8.0_201] {}
    at com.tterrag.blur.Blur.updateUniform(Blur.java:136) ~[?:1.1.0-1] {re:classloading}
    at com.tterrag.blur.Blur.onGuiChange(Blur.java:106) ~[?:1.1.0-1] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_494_Blur_onGuiChange_GuiOpenEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:758) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:randompatches:RandomPatches Minecraft Transformer,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_71385_j(Minecraft.java:1144) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:randompatches:RandomPatches Minecraft Transformer,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:767) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:890) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:randompatches:RandomPatches Minecraft Transformer,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:randompatches:RandomPatches Minecraft Transformer,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) ~[1.14.4-forge-28.2.0.jar:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] {}
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) ~[forge-1.14.4-28.2.0.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:?] {}
    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 sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    at java.lang.reflect.Field.get(Unknown Source)
    at com.tterrag.blur.Blur.updateUniform(Blur.java:136)
    at com.tterrag.blur.Blur.onGuiChange(Blur.java:106)
    at net.minecraftforge.eventbus.ASMEventHandler_494_Blur_onGuiChange_GuiOpenEvent.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:758)
    at net.minecraft.client.Minecraft.func_71385_j(Minecraft.java:1144)

-- Affected level --
Details:
    All players: 1 total; [ClientPlayerEntity['BananaPants87'/384609, l='MpServer', x=-118.50, y=68.00, z=-254.50]]
    Chunk stats: Client Chunk Cache: 961, 529
    Level dimension: DimensionType{minecraft:overworld}
    Level name: MpServer
    Level seed: 0
    Level generator: ID 07 - biomesoplenty, ver 0. Features enabled: false
    Level generator options: {}
    Level spawn location: World: (-128,67,-256), Chunk: (at 0,4,0 in -8,-16; contains blocks -128,0,-256 to -113,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
    Level time: 179 game time, 179 day time
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Server brand: forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:574)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1750)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:405)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.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)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_201, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 3620729976 bytes (3452 MB) / 6325010432 bytes (6032 MB) up to 6442450944 bytes (6144 MB)
    CPUs: 8
    JVM Flags: 8 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -Xmx6144m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
    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.0.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.0.jar runtimedistcleaner PLUGINSERVICE 
        /OptiFine_1.14.4_HD_U_F5.jar OptiFine TRANSFORMATIONSERVICE 
        /forge-1.14.4-28.2.0.jar fml TRANSFORMATIONSERVICE 
    FML: 28.2
    Forge: net.minecraftforge:28.2.0
    FML Language Providers: 
        javafml@28.2
        minecraft@1
    Mod List: 
        ComPatchedStorage-1.14.4-2.1.4.jar ComPatchedStorage {compatchedstorage@2.1.4 DONE}
        CyclopsCore-1.14.4-1.6.1.jar Cyclops Core {cyclopscore@1.6.1 DONE}
        blockdrops-1.14.4-1.0.2.jar Block Drops {blockdrops@1.0.2 DONE}
        prefab-1.4.0.9.jar Prefab {prefab@1.4.0.9 DONE}
        ProjectE-1.14.4-PE1.0.1B.jar ProjectE {projecte@1.14.4-PE1.0.1B DONE}
        SilentMechanisms-1.14.4-0.6.13+49.jar Silent's Mechanisms {silents_mechanisms@0.6.13+49 DONE}
        KleeSlabs_1.14.4-7.4.8.jar KleeSlabs {kleeslabs@7.4.8 DONE}
        duckymod-1.14.4-0.4.1.jar Ducky Mod {duckymod@1.14.4-0.4.1 DONE}
        Neat+1.5-19.jar Neat {neat@1.5-19 DONE}
        IronJetpacks-1.14.4-2.0.3.jar Iron Jetpacks {ironjetpacks@2.0.3 DONE}
        essentials-1.14.4-2.6.7.jar Essentials {essentials@1.14.4-2.6.7 DONE}
        ForgeEndertech-1.14.4-5.2.1.0-build.0076.jar Forge Endertech {forgeendertech@5.2.1.0 DONE}
        XaerosWorldMap_1.5.5_Forge_1.14.4.jar Xaero's World Map {xaeroworldmap@1.5.5 DONE}
        JRFTL+[1.14.4]-1.1.jar JRFTL {jrftl@1.1 DONE}
        CookingForBlockheads_1.14.4-7.4.4.jar Cooking for Blockheads {cookingforblockheads@7.4.4 DONE}
        Controlling-5.0.6.jar Controlling {controlling@5.0.6 DONE}
        Placebo-1.14.4-2.3.5.jar Placebo {placebo@2.3.5 DONE}
        rangedpumps-0.6.1.jar Ranged Pumps {rangedpumps@0.6.1 DONE}
        NomadicTents-1.14.4-10.1.0.jar Nomadic Tents {nomadictents@10.1.0 DONE}
        WitherSkeletonTweaks-1.14.4-3.1.0.jar Wither Skeleton Tweaks {wstweaks@3.1.0 DONE}
        Bookshelf-1.14.4-4.4.71.jar Bookshelf {bookshelf@4.4.71 DONE}
        u_team_core-1.14.4-2.8.2.150.jar U Team Core {uteamcore@2.8.2.150 DONE}
        randompatches-1.14.4-1.21.0.0.jar RandomPatches {randompatches@1.14.4-1.21.0.0 DONE}
        DarkUtilities-1.14.4-2.0.11.jar Dark Utilities {darkutils@2.0.11 DONE}
        Customized-Dungeon-Loot-1.14.x-(v.2.0.0).jar Customized Dungeon Loot {cdl@2.0.0 DONE}
        Apotheosis-1.14.4-2.4.4.jar Apotheosis {apotheosis@2.4.4 DONE}
        ironshulkerboxes-1.14.4-3.1.12.jar Iron Shulker Boxes {ironshulkerbox@1.14.4-3.1.12 DONE}
        CarryOn+MC1.14.4+v1.12.4.jar Carry On {carryon@1.12.4 DONE}
        BetterThanMending-1.3.2.jar BetterThanMending {betterthanmending@1.3.2 DONE}
        refinedstorage-1.7.3.jar Refined Storage {refinedstorage@1.7.3 DONE}
        AnimalCrops-1.14.4-0.3.2.jar Animal Crops {animalcrops@1.14.4-0.3.2 DONE}
        mcw-bridges-1.0.3-mc1.14.4.jar Macaw's Bridges {mcwbridges@1.0.3 DONE}
        useful_backpacks-1.14.4-1.7.6.60.jar Useful Backpacks {usefulbackpacks@1.7.6.60 DONE}
        torchmaster-2.0.0-rc2.jar Torchmaster {torchmaster@2.0.0-rc2 DONE}
        AmbientSounds_v3.0.16_mc1.14.4.jar Ambient Sounds {ambientsounds@3.0.3 DONE}
        BiomesOPlenty-1.14.4-9.0.0.262-universal.jar Biomes O' Plenty {biomesoplenty@1.14.4-9.0.0.259 DONE}
        Blur-1.1.0-1.jar Blur {blur@1.1.0-1 DONE}
        ironfurnaces-1.14.4-1.8.0.jar Iron Furnaces {ironfurnaces@1.8.0 DONE}
        SilentGear-1.14.4-1.4.6+72.jar Silent Gear {silentgear@1.4.6+72 DONE}
        simplylight-0.9.0.jar Simply Light {simplylight@0.9.0 DONE}
        LLOverlayReloaded-1.2.4-mc1.14.4.jar Light Level Overlay Reloaded {llor@1.2.4-mc1.14.4 DONE}
        curios-FORGE-1.14.4-1.0.6.1.jar Curios API {curios@FORGE-1.14.4-1.0.6.1 DONE}
        AutoRegLib-1.4-35.jar AutoRegLib {arl@1.4-35 DONE}
        TorchBandolier-1.14.4-1.3.2+7.jar Torch Bandolier {torchbandolier@1.3.2+7 DONE}
        OreExcavation-1.6.147.jar Ore Excavation {oreexcavation@NONE DONE}
        libnonymous-1.14.4-1.0.4.25.jar Libnonymous {libnonymous@1.0.4.25 DONE}
        elevatorid-1.14.4-1.5.2.jar Elevator Mod {elevatorid@1.14.4-1.5.2 DONE}
        noRecipeBook_v1.4.1formc1.14.4.jar No Recipe Book {norecipebook@1.4.1 DONE}
        YAMDA-4.0.1.jar YAMDA {yamda@4.0.1 DONE}
        FunOres-1.14.3-2.4.1+15.jar Fun Ores {funores@2.4.1+15 DONE}
        instantunify-1.14.4-1.0.3.jar InstantUnify {instantunify@1.0.3 DONE}
        FastLeafDecay-v17.jar FastLeafDecay {fastleafdecay@v17 DONE}
        PrettyBeaches_1.14.4-3.0.7.jar Pretty Beaches {prettybeaches@3.0.7 DONE}
        Cyclic-1.14.4-0.1.3.jar Cyclic {cyclic@1.14.4-0.1.3 DONE}
        inventorysorter-1.14.4-16.2.0.jar Simple Inventory Sorter {inventorysorter@16.2.0 DONE}
        Cucumber-1.14.4-2.0.6.jar Cucumber Library {cucumber@2.0.6 DONE}
        TrashSlot_1.14.4-10.4.8.jar TrashSlot {trashslot@10.4.8 DONE}
        EquipmentTooltips-1.14.4-1.3.2+10.jar Equipment Tooltips {equipmenttooltips@1.3.2+10 DONE}
        craftingstation-2.1.6.jar Crafting Station {craftingstation@2.1.6 DONE}
        bountifulbaubles-1.14.4-0.0.2.jar Bountiful Baubles {bountifulbaubles@NONE DONE}
        jei-1.14.4-6.0.0.27.jar Just Enough Items {jei@6.0.0.27 DONE}
        JustEnoughCalculation-1.14.4-3.4.2.jar Just Enough Calculation {jecalculation@3.4.2 DONE}
        metalbarrels-1.4.jar Metal Barrels {metalbarrels@1.4 DONE}
        longfallboots-1.3.0b.jar Long Fall Boots {longfallboots@1.3.0b DONE}
        EverlastingAbilities-1.14.4-1.6.0.jar EverlastingAbilities {everlastingabilities@1.6.0 DONE}
        caelus-FORGE-1.14.4-1.0.1.2.jar Caelus API {caelus@FORGE-1.14.4-1.0.1.2 DONE}
        colytra-FORGE-1.14.4-2.0.0.1.jar Colytra {colytra@FORGE-1.14.4-2.0.0.1 DONE}
        Clumps-4.0.0.jar Clumps {clumps@4.0.0 DONE}
        comforts-FORGE-1.14.4-2.0-beta6.jar Comforts {comforts@FORGE-1.14.4-2.0-beta6 DONE}
        NaturesCompass-1.14.4-1.8.3.jar Nature's Compass {naturescompass@1.14.4-1.8.3 DONE}
        EnderBags-1.14.4-4.2.0.jar Ender Bags {ender_bags@4.2.0 DONE}
        VanillaTweaks-1.14.4.1.5.12.jar VanillaTweaks {vanillatweaks@1.14.4.1.5.12 DONE}
        FarmingForBlockheads_1.14.4-5.3.2.jar Farming for Blockheads {farmingforblockheads@5.3.2 DONE}
        BonsaiTrees-2.0.2.35.jar Bonsai Trees 2 {bonsaitrees2@2.0.2.35 DONE}
        ClickMachine-1.14.4-2.1.2.jar Click Machine {clickmachine@2.1.2 DONE}
        ToastControl-1.14.4-2.2.0.jar Toast Control {toastcontrol@2.2.0 DONE}
        PackingTape-1.14.4-0.9.2.jar Packing Tape {packingtape@0.9.2 DONE}
        forge-1.14.4-28.2.0-universal.jar Forge {forge@28.2.0 DONE}
        ruins-1.14.4.6.jar Ruins {ruins@1.14.4.6 DONE}
        MiniCoal2-1.14.4-0.0.1-universal.jar MiniCoal 2 {minicoal2@{{version}} DONE}
        ColossalChests-1.14.4-1.7.6.jar ColossalChests {colossalchests@1.7.6 DONE}
        ironchest-1.14.4-9.1.5.jar Iron Chests {ironchest@1.14.3-9.0.3 DONE}
        CraftingTweaks_1.14.4-10.2.1.jar Crafting Tweaks {craftingtweaks@10.2.1 DONE}
        forge-1.14.4-28.2.0-client.jar Minecraft {minecraft@1.14.4 DONE}
        EnchantmentDescriptions-1.14.4-1.3.9.jar EnchantmentDescriptions {enchdesc@1.3.9 DONE}
        theoneprobe-1.14-1.4.37.jar The One Probe {theoneprobe@NONE DONE}
        swingthroughgrass-1.14.4-1.3.2.jar SwingThroughGrass {swingthroughgrass@1.14.4-1.3.2 DONE}
        MouseTweaks-2.13-mc1.14.4.jar Mouse Tweaks {mousetweaks@2.13 DONE}
        SilentLib-1.14.4-4.4.0+44.jar Silent Lib {silentlib@4.4.0+44 DONE}
        AdLods-1.14.4-2.0.0.1-build.0078.jar Large Ore Deposits {adlods@2.0.0.1 DONE}
        paintings-1.14.4-6.0.1.5.jar Paintings ++ {paintings@1.14.4-6.0.1.5 DONE}
        extragolems-9.0.5.jar Extra Golems {golems@9.0.5 DONE}
        Quark-r2.0-210.jar Quark {quark@r2.0-210 DONE}
        Charm-1.14.4-1.5.0.jar Charm {charm@1.14.4-1.5.0 DONE}
        Mantle-1.14.4-1.4.32.jar Mantle {mantle@1.4.32 DONE}
        Inspirations-1.14.4-1.0.2.jar Inspirations {inspirations@1.14.4-1.0.2 DONE}
        Xaeros_Minimap_20.3.1.1_Forge_1.14.4.jar Xaero's Minimap {xaerominimap@20.3.1.1 DONE}
        gravestone-1.15.2.jar Gravestone Mod {gravestone@1.15.2 DONE}
        torcherino-9.1.4.jar Torcherino {torcherino@9.1.4 DONE}
        StorageDrawers-1.14.4-6.0.5.jar Storage Drawers {storagedrawers@1.14.4-6.0.3 DONE}
        Harvest-forge-1.14.4-1.2.10-23.jar Harvest {harvest@version DONE}
        AppleSkin-mc1.14.4-forge-1.0.13.jar AppleSkin {appleskin@1.0.13 DONE}
        Aquaculture-1.14.4-2.0.7.jar Aquaculture 2 {aquaculture@1.14.4-2.0.7 DONE}
        SilentGems-1.14.4-3.4.8+81.jar Silent's Gems 3 {silentgems@3.4.8+81 DONE}
        XL-Food-Mod-1.14.4-2.2.2.jar XL Food Mod {xlfoodmod@2.2.2 DONE}
        refinedstorageaddons-0.5.jar Refined Storage Addons {refinedstorageaddons@0.5 DONE}
        xptome-1.14.4-v1.1.4.jar XP Tome {xpbook@v1.1.4 DONE}
    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: 1.14.4-forge-28.2.0
    LWJGL: 3.2.2 build 10
    OpenGL: GeForce GTX 1050/PCIe/SSE2 GL version 4.6.0 NVIDIA 442.19, NVIDIA Corporation
    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: vanilla, file/1-13-clear-hotbar-1532178795 (1).zip (incompatible)
    Current Language: English (US)
    CPU: 8x Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
    OptiFine Version: OptiFine_1.14.4_HD_U_F5
    OptiFine Build: 20191204-141250
    Render Distance Chunks: 14
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 4.6.0 NVIDIA 442.19
    OpenGlRenderer: GeForce GTX 1050/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 8

Posted (edited)

Minecraft loaded up fine. This happened when I created a world. I chose Biomes o plenty and generate structures on. Then after a couple of minutes of being stuck at 100%, minecraft crashed. I can't find out which mod is causing the world to crash..

 

Edited by BananaPants87

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

    • does anyone know how to incorporate custom noise settings into a custom dimension through the use of datagen, I have created a custon json file for the noise settings that I want but I just don't know how to get it to register with the generated json file of the custom dimension.   here is the code for the dimension class package net.hurst.lustria.worldgen.dimension; import com.mojang.datafixers.util.Pair; import net.hurst.lustria.Lustria; import net.hurst.lustria.worldgen.biome.ModBiomes; import net.hurst.lustria.worldgen.registries.LustriaNoiseSettings; import net.minecraft.core.HolderGetter; import net.minecraft.core.registries.Registries; import net.minecraft.data.worldgen.BootstapContext; import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; import net.minecraft.tags.BlockTags; import net.minecraft.util.valueproviders.ConstantInt; import net.minecraft.world.level.Level; import net.minecraft.world.level.biome.*; import net.minecraft.world.level.dimension.BuiltinDimensionTypes; import net.minecraft.world.level.dimension.DimensionType; import net.minecraft.world.level.dimension.LevelStem; import net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator; import net.minecraft.world.level.levelgen.NoiseGeneratorSettings; import java.util.List; import java.util.OptionalLong; public class ModDimensions { public static final ResourceKey<LevelStem> LUSTRIA_KEY = ResourceKey.create(Registries.LEVEL_STEM, ResourceLocation.fromNamespaceAndPath(Lustria.MOD_ID, "lustriadim")); public static final ResourceKey<Level> LUSTRIA_LEVEL_KEY = ResourceKey.create(Registries.DIMENSION, ResourceLocation.fromNamespaceAndPath(Lustria.MOD_ID, "lustriadim")); public static final ResourceKey<DimensionType> LUSTRIA_DIM_TYPE = ResourceKey.create(Registries.DIMENSION_TYPE, ResourceLocation.fromNamespaceAndPath(Lustria.MOD_ID, "lustriadim_type")); public static void bootstrapType(BootstapContext<DimensionType> context) { context.register(LUSTRIA_DIM_TYPE, new DimensionType( OptionalLong.of(12000), // fixedTime false, // hasSkylight true, // hasCeiling false, // ultraWarm false, // natural 1.0, // coordinateScale true, // bedWorks false, // respawnAnchorWorks -64, // minY 256, // height 256, // logicalHeight BlockTags.INFINIBURN_OVERWORLD, // infiniburn BuiltinDimensionTypes.OVERWORLD_EFFECTS, // effectsLocation 0.0f, // ambientLight new DimensionType.MonsterSettings(false, false, ConstantInt.of(0), 0))); } public static void bootstrapStem(BootstapContext<LevelStem> context) { HolderGetter<Biome> biomeRegistry = context.lookup(Registries.BIOME); HolderGetter<DimensionType> dimTypes = context.lookup(Registries.DIMENSION_TYPE); HolderGetter<NoiseGeneratorSettings> noiseGenSettings = context.lookup(Registries.NOISE_SETTINGS); NoiseBasedChunkGenerator wrappedChunkGenerator = new NoiseBasedChunkGenerator( new FixedBiomeSource(biomeRegistry.getOrThrow(Biomes.BEACH)), noiseGenSettings.getOrThrow(NoiseGeneratorSettings.CAVES)); NoiseBasedChunkGenerator noiseBasedChunkGenerator = new NoiseBasedChunkGenerator( MultiNoiseBiomeSource.createFromList( new Climate.ParameterList<>(List.of(Pair.of( Climate.parameters(0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F), biomeRegistry.getOrThrow(Biomes.BEACH)), Pair.of( Climate.parameters(0.1F, 0.2F, 0.0F, 0.2F, 0.0F, 0.0F, 0.0F), biomeRegistry.getOrThrow(Biomes.BIRCH_FOREST)), Pair.of( Climate.parameters(0.3F, 0.6F, 0.1F, 0.1F, 0.0F, 0.0F, 0.0F), biomeRegistry.getOrThrow(Biomes.OCEAN)), Pair.of( Climate.parameters(0.4F, 0.3F, 0.2F, 0.1F, 0.0F, 0.0F, 0.0F), biomeRegistry.getOrThrow(Biomes.DARK_FOREST)) ))), noiseGenSettings.getOrThrow(NoiseGeneratorSettings.CAVES)); LevelStem stem = new LevelStem(dimTypes.getOrThrow(ModDimensions.LUSTRIA_DIM_TYPE), noiseBasedChunkGenerator); context.register(LUSTRIA_KEY, stem); } } minecraft version is 1.20.1
    • Please read the FAQ (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/) and post logs as described there using a site like https://mclo.gs and post the link to it here. It may have the information required to solve your problem.  
    • the error code comes up when i trry to run it and ive tried to fix it but i cant  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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