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

[1.15.2] [Solved] How to simulate a space press?


Recommended Posts

I'm very new to modding(3 days), so i might ask some dopey questions. 

 

My code looks like this: 

if (entityName.equals(playerName)) {
    KeyBinding.onTick(minecraft.gameSettings.keyBindJump.getKey());
    KeyBinding.onTick(minecraft.gameSettings.keyBindDrop.getKey());
}

When the player got hurt, the player jump and drop the item in hand. 

 

The drop works properly, but the jump doesn't want to activate. 

if I do the to string:

System.out.println(minecraft.gameSettings.keyBindDrop.toString());
System.out.println(minecraft.gameSettings.keyBindJump.getKey().toString());

the console seems right to me

net.minecraft.client.settings.KeyBinding@4a4ef86a
key.keyboard.space

 

 

Minecraft version 1.15.2

Forge version: forge-1.15.2-31.2.0-mdk 

Edited by Xing
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • 1.10 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • I'm not really sure what's happening here. I upgraded to a newer version of a mod because of a bug, and now its crashing every time I open the game.   The game crashed whilst there was a severe problem during mod loading that has caused the game to fail Error: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from HF Addon (hfaddon) Exit Code: -1     ---- Minecraft Crash Report ---- WARNING: coremods are present:   CoreMod (Aroma1997Core-1.9.4-1.1.1.2.jar)   CoFH Loading Plugin (CoFHCore-1.10.2-4.1.12.17-universal.jar)   LoadingPlugin (ResourceLoader-MC1.9.4-1.5.1.jar)   EnderCorePlugin (EnderCore-1.10.2-0.4.1.66-beta.jar)   AppEngLoadingPlugin (appliedenergistics2-rv4-stable-1.jar)   HFTransformer (Harvest-Festival-1.10.2-0.6.0-219.jar)   BetterFoliageLoader (BetterFoliage-MC1.10.2-2.1.11.jar)   CCLCorePlugin (CodeChickenLib-1.10.2-2.5.9.320-universal.jar)   CTMCorePlugin (CTM-MC1.10.2-0.3.2.35.jar)   LoadingPlugin (Quark-r1.1-70.jar)   BookshelfLoadingPlugin (Bookshelf-1.10.2-1.4.4.final.1.jar)   FMLPlugin (InventoryTweaks-1.61-58.jar)   IvToolkit (IvToolkit-1.3.3-1.10.jar)   AppleCore (AppleCore-mc1.10.2-3.1.4.jar) Contact their authors BEFORE contacting forge // You should try our sister game, Minceraft! Time: 5/11/21 9:59 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from HF Addon (hfaddon) Caused by: java.lang.NoClassDefFoundError: com/encraft/bee/TileApiary     at com.encraft.block.HFABlocks.register(HFABlocks.java:24)     at com.encraft.HFAddon.preInit(HFAddon.java:49)     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.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:616)     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243)     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221)     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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145)     at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:624)     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:259)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:439)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)     at net.minecraft.client.main.Main.main(SourceFile:124)     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) Caused by: java.lang.ClassNotFoundException: com.encraft.bee.TileApiary     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)     ... 38 more Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: joshie.harvest.core.base.tile.TileDaily     at com.google.common.base.Throwables.propagate(Throwables.java:160)     at cofh.asm.CoFHAccessTransformer.transform(CoFHAccessTransformer.java:79)     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)     ... 40 more Caused by: java.lang.ClassNotFoundException: joshie.harvest.core.base.tile.TileDaily     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:348)     at cofh.asm.CoFHAccessTransformer.transform(CoFHAccessTransformer.java:75)     ... 42 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.10.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: 439994144 bytes (419 MB) / 3036151808 bytes (2895 MB) up to 5726797824 bytes (5461 MB)     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6144m -Xms256m -XX:PermSize=256m     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.32 Powered by Forge 12.18.3.2511 122 mods loaded, 122 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UCH    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)      UCH    FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.3.2511.jar)      UCH    Forge{12.18.3.2511} [Minecraft Forge] (forge-1.10.2-12.18.3.2511.jar)      UCH    appliedenergistics2-core{rv4-stable-1} [Applied Energistics 2 Core] (minecraft.jar)      UCH    Aroma1997Core{${version}} [Aroma1997Core] (Aroma1997Core-1.9.4-1.1.1.2.jar)      UCH    ivtoolkit{1.3.3-1.10} [IvToolkit] (minecraft.jar)      UCH    <CoFH ASM>{000} [CoFH ASM] (minecraft.jar)      UCH    ccl-entityhook{1.0} [ccl-entityhook] (CodeChickenLib-1.10.2-2.5.9.320-universal.jar)      UCH    cofhcore{4.1.12} [CoFH Core] (CoFHCore-1.10.2-4.1.12.17-universal.jar)      UCH    actuallyadditions{1.10.2-r105} [Actually Additions] (ActuallyAdditions-1.10.2-r105.jar)      UCH    embassy{1.1.2} [Embassy] (Embassy 1.10.2-1.1.2.117.jar)      UCH    actualmusic{2.0.4} [ActualMusic] (ActualMusic 2.0.4.133.jar)      UCH    Baubles{1.3.13} [Baubles] (Baubles-1.10.2-1.3.13.jar)      UCH    JEI{3.14.7.420} [Just Enough Items] (jei_1.10.2-3.14.7.420.jar)      UCH    extrautils2{1.0} [Extra Utilities 2] (extrautils2-1.10.2-1.7.5.jar)      UCH    flyringbaublemod{0.2.4_1.10.2-d71eb9e} [AngelRing 2 Bauble] (angelRingToBauble-1.10.2-0.2.4.19+d71eb9e.jar)      UCH    AppleCore{3.1.4} [AppleCore] (AppleCore-mc1.10.2-3.1.4.jar)      UCH    appleskin{1.0.14} [AppleSkin] (AppleSkin-mc1.10.2-1.0.14.jar)      UCH    appliedenergistics2{rv4-stable-1} [Applied Energistics 2] (appliedenergistics2-rv4-stable-1.jar)      UCH    aquaculture{1.4.1} [Aquaculture] (Aquaculture-1.10.2-1.4.1.4.jar)      UCH    architecturecraft{1.7.3} [ArchitectureCraft] (ArchitectureCraft-1.7.3-mc1.10.2.jar)      UCH    Aroma1997CoreHelper{1.1.1.2} [Aroma1997Core|Helper] (Aroma1997Core-1.9.4-1.1.1.2.jar)      UCH    AromaBackup{1.0.1.1} [AromaBackup] (AromaBackup-1.9.4-1.0.1.1.jar)      UCH    AromaBackupRecovery{1.0} [AromaBackup Recovery] (AromaBackup-1.9.4-1.0.1.1.jar)      UCH    Psi{r1.0-42} [Psi] (Psi-r1.0-42.jar)      UCH    Quark{r1.1-70} [Quark] (Quark-r1.1-70.jar)      UCH    AutoRegLib{1.0-2} [AutoRegLib] (AutoRegLib-1.0-2.jar)      UCH    bedbugs{@VERSION@} [Bed Bugs] (BedBugs-1.10.2-1.1.6.jar)      UCH    betterbuilderswands{0.11.1} [Better Builder's Wands] (BetterBuildersWands-1.10.2-0.11.1.220+f8232fe.jar)      UCH    betterfoliage{2.1.11} [Better Foliage] (BetterFoliage-MC1.10.2-2.1.11.jar)      UCH    betterthanbunnies{1.10.2-1.1.0} [BetterThanBunnies] (BetterThanBunnies-1.10.2-1.1.0.jar)      UCH    BiblioCraft{2.2.5} [BiblioCraft] (BiblioCraft[v2.2.5][MC1.10.2].jar)      UCH    BiomesOPlenty{5.0.0.2236} [Biomes O' Plenty] (BiomesOPlenty-1.10.2-5.0.0.2236-universal.jar)      UCH    birdsnests{1.5.1} [Bird's Nests] (BirdsNests1.10-1.5.1.jar)      UCH    bookshelf{1.4.4.0} [Bookshelf] (Bookshelf-1.10.2-1.4.4.final.1.jar)      UCH    Botania{r1.9-341} [Botania] (Botania r1.9-341.jar)      UCH    buttons{1.10.2-0.0.3-3} [Buttons] (Buttons-1.10.2-0.0.3-3.jar)      UCH    Chameleon{1.10.2-2.3.0} [Chameleon] (Chameleon-1.10.2-2.3.0.jar)      UCH    chancecubes{1.10.2-3.1.1.221} [Chance Cubes] (ChanceCubes-1.10.2-3.1.1.221.jar)      UCH    checklist{1.0.4} [Checklist] (Checklist-1.10.2-1.0.4.jar)      UCH    CodeChickenLib{2.5.9.320} [CodeChicken Lib] (CodeChickenLib-1.10.2-2.5.9.320-universal.jar)      UCH    CodeChickenCore{2.4.1.102} [CodeChicken Core] (CodeChickenCore-1.10.2-2.4.1.102-universal.jar)      UCH    ChickenChunks{2.2.0.52} [ChickenChunks] (ChickenChunks-1.10.2-2.2.0.52-universal.jar)      UCH    ctm{MC1.10.2-0.3.2.35} [CTM] (CTM-MC1.10.2-0.3.2.35.jar)      UCH    chisel{MC1.10.2-0.2.1.47} [Chisel] (Chisel-MC1.10.2-0.2.1.47.jar)      UCH    mcmultipart{1.4.0} [MCMultiPart] (MCMultiPart-1.4.0-universal.jar)      UCH    chiselsandbits{12.18} [Chisels & Bits] (chiselsandbits-12.18.jar)      UCH    coins{1.0.3} [Coins Mod] (Coins-1.10.2-1.0.3.jar)      UCH    cookingforblockheads{4.2.26} [Cooking for Blockheads] (CookingForBlockheads_1.10.2-4.2.26.jar)      UCH    crafttweakerjei{1.0.1} [CraftTweaker JEI Support] (CraftTweaker-1.10.2-3.0.26.jar)      UCH    MineTweaker3{3.0.26} [MineTweaker 3] (CraftTweaker-1.10.2-3.0.26.jar)      UCH    ctgui{1.0.0} [CT-GUI] (CraftTweaker-1.10.2-3.0.26.jar)      UCH    customstartinggear{1.0.0} [Custom Starting Gear] (CustomStartingGear-1.10.2-1.0.0.7-universal.jar)      UCH    cyclicmagic{1.10.30} [Cyclic] (Cyclic-1.10.2-1.10.30.jar)      UCH    dailies{1.10.2-6} [Bailey's Dailies] (dailies-1.10.2-6.jar)      UCH    deathquotes{1.2.0} [Death Quotes] (DeathQuotes-1.2.0-mc1.9to1.10.2-forge.jar)      UCH    PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.5.2_1.10.2.jar)      UCH    props{2.5.2} [Decocraft] (Decocraft-2.5.2_1.10.2.jar)      UCH    doggytalents{1.15.0.2} [Doggy Talents] (DoggyTalents-1.10.2-1.15.0.2-universal.jar)      UCH    eiramoticons{4.3.6} [EiraMoticons] (EiraMoticons_1.10.2-4.3.6.jar)      UCH    eplus{4.1.0.118} [Enchanting Plus] (EnchantingPlus-1.10.2-4.1.0.118.jar)      UCH    enchiridion{3.2.0} [Enchiridion] (Enchiridion-1.10.2-3.2.0.jar)      UCH    endercore{1.10.2-0.4.1.66-beta} [EnderCore] (EnderCore-1.10.2-0.4.1.66-beta.jar)      UCH    EnderStorage{2.2.1.106} [EnderStorage] (EnderStorage-1.10.2-2.2.1.106-universal.jar)      UCH    exoticbirds{1.0} [Exotic Birds] (Exotic Birds 1.10.2-1.4.2.jar)      UCH    fasterladderclimbing{0.1-122} [Faster Ladder Climbing] (FasterLadderClimbing-1.9.4-0.1-122.jar)      UCH    fastleafdecay{v11} [Fast Leaf Decay] (FastLeafDecay-v11.jar)      UCH    mantle{1.10.2-1.1.5.205} [Mantle] (Mantle-1.10.2-1.1.5.jar)      UCH    tconstruct{1.10.2-2.6.5.10} [Tinkers' Construct] (TConstruct-1.10.2-2.6.5.jar)      UCH    immersiveengineering{0.10-61} [Immersive Engineering] (ImmersiveEngineering-0.10-61.jar)      UCH    harvestfestival{0.6.0-219} [Harvest Festival] (Harvest-Festival-1.10.2-0.6.0-219.jar)      UCH    harvestcraft{1.9.4-1.10.2g} [Pam's HarvestCraft] (Pam's HarvestCraft 1.9.4-1.10.2h.jar)      UCE    hfaddon{0.5.5 Alpha} [HF Addon] (fhaddon-0.5.5.jar)      UCH    com.ch1a.flatworld{1.4.2} [flatworld] (FlatWorld1.4.2-1.9-1.10.jar)      UCH    forestry{5.2.17.388} [Forestry] (forestry_1.10.2-5.2.17.388.jar)      UCH    Waila{1.8.17-B31_1.10.2} [Waila] (Hwyla-1.8.17-B31_1.10.2.jar)      UCH    ftbl{0.0.0} [FTBLib] (FTBLib-1.1x-3.6.5.jar)      UCH    googlyeyes{6.0.0} [GooglyEyes] (GooglyEyes-1.10.2-6.0.0.jar)      UCH    gravestone{1.5.13} [Gravestone Mod] (gravestone-1.5.13.jar)      UCH    hardcorewither{2.2.3} [Hardcore Wither] (hardcoreWither-1.10.2-2.2.3-beta-4bd2a01-universal.jar)      UCH    harvestreader{1.0.0} [HarvestReader] (HarvestReader-1.0.0.jar)      UCH    mtlib{@VERSION@} [MTLib] (MTLib-1.0.3.jar)      UCH    initialinventory{1.0.1} [InitialInventory] (InitialInventory-1.0.1.jar)      UCH    inventorypets{1.5.2} [Inventory Pets] (inventorypets-1.10-1.5.2.jar)      UCH    inventorysorter{0.11.0+47} [Simple Inventory sorting] (inventorysorter-1.10.2-0.11.0+47.jar)      UCH    inventorytweaks{1.61-58-a1fd884} [Inventory Tweaks] (InventoryTweaks-1.61-58.jar)      UCH    ironbackpacks{1.10.2-2.2.33} [Iron Backpacks] (IronBackpacks-1.10.2-2.2.33.jar)      UCH    jehc{1.2.2} [Just Enough HarvestCraft] (jehc-1.10.2-1.2.2.jar)      UCH    journeymap{1.10.2-5.5.2} [JourneyMap] (journeymap-1.10.2-5.5.2.jar)      UCH    jeresources{0.5.8.98} [Just Enough Resources] (JustEnoughResources-1.10.2-0.5.8.98.jar)      UCH    levels{3.0.2} [Levels 3] (Levels 3-1.10.2-3.0.2-beta.jar)      UCH    llor{1.1.1-mc[1.9-1.11]} [Light Level Overlay Reloaded] (LLOverlayReloaded-1.1.1-mc[1.9-1.11].jar)      UCH    mtrm{1.2.1.26} [MineTweakerRecipeMaker] (MineTweakerRecipeMaker-1.10.2-1.2.1.26.jar)      UCH    mob_properties{1.0.3} [Mob Properties] (mob_properties-1.10.2-1.0.3.jar)      UCH    moon-core{3.5.1.10} [Moon's Core] (MoonCore(3.5) 1.10.jar)      UCH    Morpheus{1.10.2-3.1.13} [Morpheus] (Morpheus-1.10.2-3.1.13.jar)      UCH    mousetweaks{2.8} [Mouse Tweaks] (MouseTweaks-2.8-mc1.10.2.jar)      UCH    mysticalagriculture{1.5.10} [Mystical Agriculture] (mysticalagriculture-1.10.2-1.5.10.jar)      UCH    natura{1.10.2-4.1.0.82} [Natura] (natura-1.10.2-4.1.0.82.jar)      UCH    Neat{1.3-12} [Neat] (Neat 1.3-12.jar)      UCH    thaumcraft{6.0.BETA8} [Thaumcraft] (Thaumcraft-1.10.2-6.0.BETA8.jar)      UCH    railcraft{10.4.1} [Railcraft] (Railcraft_1.10.2-10.4.1.jar)      UCH    reccomplex{1.4.5-1.10} [Recurrent Complex] (RecurrentComplex-1.4.5-1.10.jar)      UCH    StorageDrawers{1.10.2-3.7.10} [Storage Drawers] (StorageDrawers-1.10.2-3.7.10.jar)      UCH    refinedstorage{1.2.26} [Refined Storage] (refinedstorage-1.2.26.jar)      UCH    ResourceLoader{1.5.1} [Resource Loader] (ResourceLoader-MC1.9.4-1.5.1.jar)      UCH    soggytransportation{1.10-RB-34} [§bSoggyMustache's Transportation] (soggytransportation-34.0(1.10).jar)      UCH    soulshardstow{1.10.2-2.6.7-48} [Soul Shards - The Old Ways] (SoulShards-TOW-1.10.2-2.6.7-48.jar)      UCH    soundevents{1.0.3} [Sound Events] (Sound Events-1.10.2-1.0.3.jar)      UCH    SpiceOfLife{1.3.11} [The Spice of Life] (SpiceOfLife-mc1.9.4-1.3.11.jar)      UCH    stg{1.10.2-1.0.3} [SwingThroughGrass] (stg-1.10.2-1.0.3.jar)      UCH    rscircuits{1.0.4} [Super Circuit Maker] (SuperCircuitMaker-1.0.4.jar)      UCH    lteleporters{1.1.3} [Lemon's Simple Teleporters] (teleporters-1.1.3.jar)      UCH    ThaumicJEI{1.1.2} [ThaumicJEI] (ThaumicJEI-1.10.2-1.1.3-2.jar)      UCH    thermalfoundation{2.1.5} [Thermal Foundation] (ThermalFoundation-1.10.2-2.1.5.12-universal.jar)      UCH    thermalexpansion{5.1.10} [Thermal Expansion] (ThermalExpansion-1.10.2-5.1.10.28-universal.jar)      UCH    thermaldynamics{2.0.11} [Thermal Dynamics] (ThermalDynamics-1.10.2-2.0.11.19-universal.jar)      UCH    wanionlib{1.10.2-1.3} [WanionLib] (WanionLib-1.10.2-1.3.jar)      UCH    icse{1.1.0.0} [I Can See Everything] (Wawla-1.10.2-2.3.2.215.jar)      UCH    wawla{2.3.2.215} [What Are We Looking At] (Wawla-1.10.2-2.3.2.215.jar)      UCH    yabba{1.10.2-0.5.1} [YABBA] (YABBA-1.10.2-0.5.1.jar)      UCH    unidict{1.10.2-2.9b} [UniDict] (UniDict-1.10.2-2.9b.jar)      Loaded coremods (and transformers):  CoreMod (Aroma1997Core-1.9.4-1.1.1.2.jar)    CoFH Loading Plugin (CoFHCore-1.10.2-4.1.12.17-universal.jar)   cofh.asm.CoFHClassTransformer   cofh.asm.repack.codechicken.lib.asm.ClassHierarchyManager LoadingPlugin (ResourceLoader-MC1.9.4-1.5.1.jar)   lumien.resourceloader.asm.ClassTransformer EnderCorePlugin (EnderCore-1.10.2-0.4.1.66-beta.jar)   com.enderio.core.common.transform.EnderCoreTransformer AppEngLoadingPlugin (appliedenergistics2-rv4-stable-1.jar)   appeng.coremod.transformer.IntegrationTransformer HFTransformer (Harvest-Festival-1.10.2-0.6.0-219.jar)   joshie.harvest.asm.HFTransformer BetterFoliageLoader (BetterFoliage-MC1.10.2-2.1.11.jar)   mods.betterfoliage.loader.BetterFoliageTransformer CCLCorePlugin (CodeChickenLib-1.10.2-2.5.9.320-universal.jar)   codechicken.lib.asm.ClassHeirachyManager   codechicken.lib.asm.CCL_ASMTransformer CTMCorePlugin (CTM-MC1.10.2-0.3.2.35.jar)   team.chisel.ctm.client.asm.CTMTransformer LoadingPlugin (Quark-r1.1-70.jar)   vazkii.quark.base.asm.ClassTransformer BookshelfLoadingPlugin (Bookshelf-1.10.2-1.4.4.final.1.jar)   net.darkhax.bookshelf.asm.BookshelfTransformerManager FMLPlugin (InventoryTweaks-1.61-58.jar)   invtweaks.forge.asm.ContainerTransformer IvToolkit (IvToolkit-1.3.3-1.10.jar)    AppleCore (AppleCore-mc1.10.2-3.1.4.jar)   squeek.applecore.asm.TransformerModuleHandler     GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 466.11' Renderer: 'NVIDIA GeForce GTX 1650/PCIe/SSE2'     AE2 Version: stable rv4-stable-1 for Forge 12.18.3.2185     Pulsar/tconstruct loaded Pulses:          - TinkerCommons (Enabled/Forced)         - TinkerWorld (Enabled/Not Forced)         - TinkerTools (Enabled/Not Forced)         - TinkerHarvestTools (Enabled/Forced)         - TinkerMeleeWeapons (Enabled/Forced)         - TinkerRangedWeapons (Enabled/Forced)         - TinkerModifiers (Enabled/Forced)         - TinkerSmeltery (Enabled/Not Forced)         - TinkerGadgets (Enabled/Not Forced)         - TinkerOredict (Enabled/Forced)         - TinkerIntegration (Enabled/Forced)         - TinkerFluids (Enabled/Forced)         - TinkerMaterials (Enabled/Forced)         - TinkerModelRegister (Enabled/Forced)         - chiselsandbitsIntegration (Enabled/Not Forced)         - WailaIntegration (Enabled/Not Forced)     Pulsar/natura loaded Pulses:          - NaturaCommons (Enabled/Forced)         - NaturaOverworld (Enabled/Not Forced)         - NaturaNether (Enabled/Not Forced)         - NaturaDecorative (Enabled/Not Forced)         - NaturaTools (Enabled/Not Forced)         - NaturaEntities (Enabled/Not Forced)         - NaturaOredict (Enabled/Forced)         - NaturaWorld (Enabled/Not Forced)         - WailaIntegration (Enabled/Not Forced)     CodeChickenLib Invalid Fingerprint Reports:      CodeChickenCore Invalid Fingerprint Reports:      ChickenChunks Invalid Fingerprint Reports:      EnderStorage Invalid Fingerprint Reports: 
    • The process requires a bit more work then. All worldgen stuff is handled through jsons now. You could probably find how they need to be formatted on the mc wiki. So, just format them according to that. You can also look at slicedlime's vanilla world gen extraction for examples. As for getting it in the overworld. You need to do a few things. Existing dimensions use entries hardcoded to be in code instead of through json making them inaccessible from pure json. To get around this, you have to supply a dummy entry and handle it that way.  So, register the biome using any forge registry process and supply some dummy biome to the instance. It will be replaced by the json when the server is loaded. Finally, you will need to call BiomeManager#addAdditionalOverworldBiomes within the synchronous work queue of FMLCommonSetupEvent. This adds your biome to the overworld biomes. Note, that this takes a registry key which can be gotten using RegistryKey#get and supplying Registry#BIOME_REGISTRY as the first parameter and the resource location of your biome as the second.   In summary: 1. Create biome json. 2. Registry dummy biome to forge registry. 3. Add biome to overworld biomes within common setup.   Any other information can be derived from the primer.
    • 1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • So it looks like this is a case of Mojang doing something stupid that works for Vanilla but not modded. There's currently a fix being considered.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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