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

I have a crash message with error code: 0


Recommended Posts

Guest
This topic is now closed to further replies.


  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • if I'm not mistaken: you just add two conditions in the json array for conditions, one to check for the tool enchantment, and one to check for a random rol. you can look at the glass loot table to see how to check for the enchantment, and at the grass loot table to see how to drop on a random chance with a given probability
    • Hello Im having some problems starting my server The error im getting is [main/WARN] [net.minecraft.server.Main/]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode java.util.concurrent.ExecutionException: java.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/player/ClientPlayerEntity for invalid dist DEDICATED_SERVER at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:1.8.0_261] at net.minecraft.server.Main.main(Main.java:130) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[forgeserver.jar:36.1] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forgeserver.jar:?] at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forgeserver.jar:?] at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forgeserver.jar:?] Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/player/ClientPlayerEntity for invalid dist DEDICATED_SERVER at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:71) ~[forgeserver.jar:36.1] at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.9.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261] at me.desht.pneumaticcraft.common.recipes.PneumaticCraftRecipeType.getRecipes(PneumaticCraftRecipeType.java:119) ~[pneumaticcraft:1.16.5-2.11.4-170] at me.desht.pneumaticcraft.common.fluid.FuelRegistry.findEntry(FuelRegistry.java:96) ~[pneumaticcraft:1.16.5-2.11.4-170] at me.desht.pneumaticcraft.common.fluid.FuelRegistry.lambda$getFuelValue$0(FuelRegistry.java:54) ~[pneumaticcraft:1.16.5-2.11.4-170] at java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:1.8.0_261] at me.desht.pneumaticcraft.common.fluid.FuelRegistry.getFuelValue(FuelRegistry.java:54) ~[pneumaticcraft:1.16.5-2.11.4-170] at me.desht.pneumaticcraft.common.event.EventHandlerPneumaticCraft.lambda$handleFuelEvent$0(EventHandlerPneumaticCraft.java:80) ~[pneumaticcraft:1.16.5-2.11.4-170] at java.util.Optional.ifPresent(Unknown Source) ~[?:1.8.0_261] at me.desht.pneumaticcraft.common.event.EventHandlerPneumaticCraft.handleFuelEvent(EventHandlerPneumaticCraft.java:77) ~[pneumaticcraft:1.16.5-2.11.4-170] at net.minecraftforge.eventbus.ASMEventHandler_913_EventHandlerPneumaticCraft_handleFuelEvent_FurnaceFuelBurnTimeEvent.invoke(.dynamic) ~[?:?] at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] at net.minecraftforge.event.ForgeEventFactory.getItemBurnTime(ForgeEventFactory.java:227) ~[forge:?] at net.minecraftforge.common.ForgeHooks.getBurnTime(ForgeHooks.java:1260) ~[forge:?] at net.minecraft.tileentity.AbstractFurnaceTileEntity.func_213991_b(AbstractFurnaceTileEntity.java:333) ~[?:?] at com.valkyrieofnight.simplegens.data.item.ItemFuelRegistry.lambda$setupCustomRegistries$2(ItemFuelRegistry.java:148) ~[simplegens:1.16.5-3.0.8.0] at com.google.common.collect.Maps$KeySet.lambda$forEach$0(Maps.java:3822) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.HashBiMap$Inverse.lambda$forEach$0(HashBiMap.java:693) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.HashBiMap.forEach(HashBiMap.java:528) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.HashBiMap$Inverse.forEach(HashBiMap.java:693) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.Maps$KeySet.forEach(Maps.java:3822) ~[server-1.16.5-20210115.111550-extra.jar:?] at java.util.Collections$UnmodifiableCollection.forEach(Unknown Source) ~[?:1.8.0_261] at com.valkyrieofnight.simplegens.data.item.ItemFuelRegistry.setupCustomRegistries(ItemFuelRegistry.java:147) ~[simplegens:1.16.5-3.0.8.0] at com.valkyrieofnight.simplegens.data.item.ItemFuelRegistry.loadDataIntoRegistry(ItemFuelRegistry.java:62) ~[simplegens:1.16.5-3.0.8.0] at com.valkyrieofnight.vlib.registry.recipe.AbstractRecipeRegistry.reloadData(AbstractRecipeRegistry.java:99) ~[valkyrielib:1.16.5-3.0.8.0] at com.valkyrieofnight.vlib.core.io.datapack.JsonDataLoader.load(JsonDataLoader.java:106) ~[valkyrielib:1.16.5-3.0.8.0] at com.valkyrieofnight.vlib.core.io.datapack.JsonDataLoader.lambda$reload$0(JsonDataLoader.java:67) ~[valkyrielib:1.16.5-3.0.8.0] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_261]  
    • I've tried many things like clearing my mods folder, restarting Minecraft, and reinstalling forge but it just seems to not work. 
    • Hi, I'm trying to change the sprinting modifier for an entity extended from a HorseEntity. I have tried overriding the setSprinting method from LivingEntity like so. private static final UUID SPEED_MODIFIER_SPRINTING_UUID = UUID.fromString("662A6B8D-DA3E-4C1C-8813-96EA6097278D"); private static final AttributeModifier SPEED_MODIFIER_SPRINTING = new AttributeModifier(SPEED_MODIFIER_SPRINTING_UUID, "Sprinting speed boost", 5.0D , AttributeModifier.Operation.MULTIPLY_TOTAL); @Override public void setSprinting(boolean p_70031_1_) { this.setSharedFlag(3, p_70031_1_); ModifiableAttributeInstance modifiableattributeinstance = this.getAttribute(Attributes.MOVEMENT_SPEED); if (modifiableattributeinstance.getModifier(SPEED_MODIFIER_SPRINTING_UUID) != null) { modifiableattributeinstance.removeModifier(SPEED_MODIFIER_SPRINTING); } if (p_70031_1_) { modifiableattributeinstance.addTransientModifier(SPEED_MODIFIER_SPRINTING); } } But the method does not seem to be run when sprinting. The only other way I can think to do this is using an access transformer to make the modifier public. Any help would be greatly appreciated.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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