Jump to content

Recommended Posts

Posted (edited)

Here is the class it says when you hit the entity you should be able to ride it, but instead the game crashes.

Spoiler


package com.planetbravo.mainmod;

import java.util.UUID;

import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class EntityDogOne extends EntityWolf {

    private ResourceLocation location;
    
    public EntityDogOne(World par1World) {
        super(par1World);
        location = new ResourceLocation(Main.MODID, "entitydogone");
    }
    
    @Override
    public EntityDogOne createChild(EntityAgeable ageable) {
        EntityDogOne entityDog = new EntityDogOne(this.world);
        UUID s = this.getOwnerId();

        if (s != null)
        {
            entityDog.setOwnerId(s);
            entityDog.setTamed(true);
        }
        return entityDog;
    }
    
    @Override
    public boolean hitByEntity(Entity entityIn) {
        this.addPassenger(this.getOwner());
        return super.hitByEntity(entityIn);
    }
        
}

Spoiler

2017-06-30 10:07:48,148 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-30 10:07:48,149 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[10:07:48] [main/INFO] [GradleStart]: username: PB48
[10:07:48] [main/INFO] [GradleStart]: Extra: []
[10:07:48] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/user/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --username, PB48, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[10:07:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[10:07:48] [main/INFO] [FML]: Forge Mod Loader version 13.20.0.2298 for Minecraft 1.11.2 loading
[10:07:48] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_131, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_131
[10:07:48] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[10:07:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:07:48] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[10:07:48] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[10:07:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:07:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:07:48] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[10:07:49] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[10:07:49] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:07:49] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[10:07:49] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:07:49] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[10:07:49] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[10:07:49] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-06-30 10:07:50,066 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-30 10:07:50,084 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-30 10:07:50,086 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[10:07:50] [Client thread/INFO]: Setting user: PB48
[10:07:53] [Client thread/WARN]: Skipping bad option: lastServer:
[10:07:53] [Client thread/INFO]: LWJGL Version: 2.9.4
[10:07:53] [Client thread/INFO]: [STDOUT]: ---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 6/30/17 10:07 AM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


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

-- System Details --
Details:
    Minecraft Version: 1.11.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_131, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 5093219360 bytes (4857 MB) / 5298978816 bytes (5053 MB) up to 5298978816 bytes (5053 MB)
    JVM Flags: 3 total; -Xincgc -Xmx5120M -Xms5120M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13474 Compatibility Profile Context 22.19.165.1' Renderer: 'AMD Radeon HD 8570'
[10:07:53] [Client thread/INFO] [FML]: MinecraftForge v13.20.0.2298 Initialized
[10:07:53] [Client thread/INFO] [FML]: Replaced 232 ore recipes
[10:07:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[10:07:54] [Client thread/INFO] [FML]: Searching D:\MinecraftVault\Minecraft-DoNotAlter\Forge\run\mods for mods
[10:07:55] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[10:07:55] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mainmod] at CLIENT
[10:07:55] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, mainmod] at SERVER
[10:07:56] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ENTER MOD NAME HERE
[10:07:56] [Thread-6/INFO] [FML]: Using sync timing. 200 frames of Display.update took 98045137 nanos
[10:07:56] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[10:07:56] [Client thread/INFO] [FML]: Found 445 ObjectHolder annotations
[10:07:56] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[10:07:56] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[10:07:56] [Client thread/INFO] [FML]: Applying holder lookups
[10:07:56] [Client thread/INFO] [FML]: Holder lookups applied
[10:07:56] [Client thread/INFO] [FML]: Applying holder lookups
[10:07:56] [Client thread/INFO] [FML]: Holder lookups applied
[10:07:56] [Client thread/INFO] [FML]: Applying holder lookups
[10:07:56] [Client thread/INFO] [FML]: Holder lookups applied
[10:07:56] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[10:07:56] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[10:07:56] [Client thread/INFO] [FML]: Applying holder lookups
[10:07:56] [Client thread/INFO] [FML]: Holder lookups applied
[10:07:56] [Client thread/INFO] [FML]: Injecting itemstacks
[10:07:56] [Client thread/INFO] [FML]: Itemstack injection complete
[10:07:56] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: OUTDATED Target: 13.20.1.2386
[10:07:57] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:07:58] [Thread-8/INFO]: Initializing LWJGL OpenAL
[10:07:58] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[10:07:58] [Thread-8/INFO]: OpenAL initialized.
[10:07:58] [Sound Library Loader/INFO]: Sound engine started
[10:08:00] [Client thread/INFO] [FML]: Max texture size: 16384
[10:08:00] [Client thread/INFO]: Created: 16x16 textures-atlas
[10:08:01] [Client thread/INFO] [FML]: Injecting itemstacks
[10:08:01] [Client thread/INFO] [FML]: Itemstack injection complete
[10:08:01] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[10:08:01] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ENTER MOD NAME HERE
[10:08:02] [Client thread/INFO]: SoundSystem shutting down...
[10:08:02] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[10:08:02] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:08:03] [Thread-10/INFO]: Initializing LWJGL OpenAL
[10:08:03] [Thread-10/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[10:08:03] [Thread-10/INFO]: OpenAL initialized.
[10:08:03] [Sound Library Loader/INFO]: Sound engine started
[10:08:05] [Client thread/INFO] [FML]: Max texture size: 16384
[10:08:05] [Client thread/WARN]: Texture mainmod:textures/blocks/blockpilot.png with size 465x465 will have visual artifacts at mip level 4, it can only support level 0. Please report to the mod author that the texture should be some multiple of 16x16.
[10:08:05] [Client thread/WARN]: Texture mainmod:textures/items/itemseven.png with size 150x150 will have visual artifacts at mip level 4, it can only support level 1. Please report to the mod author that the texture should be some multiple of 16x16.
[10:08:05] [Client thread/INFO]: Created: 1024x512 textures-atlas
[10:08:06] [Client thread/WARN]: Skipping bad option: lastServer:
[10:08:06] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[10:10:08] [Server thread/INFO]: Starting integrated minecraft server version 1.11.2
[10:10:08] [Server thread/INFO]: Generating keypair
[10:10:08] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[10:10:08] [Server thread/INFO] [FML]: Applying holder lookups
[10:10:08] [Server thread/INFO] [FML]: Holder lookups applied
[10:10:08] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@5a25b1bb)
[10:10:08] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@5a25b1bb)
[10:10:09] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@5a25b1bb)
[10:10:09] [Server thread/INFO]: Preparing start region for level 0
[10:10:09] [Server thread/INFO]: Changing view distance to 12, from 10
[10:10:10] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[10:10:10] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[10:10:10] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
[10:10:10] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[10:10:10] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[10:10:10] [Server thread/INFO]: PB48[local:E:0a584216] logged in with entity id 65 at (1160.2459860088552, 4.0, -450.79906907701076)
[10:10:10] [Server thread/INFO]: PB48 joined the game
[10:10:11] [Server thread/INFO]: Saving and pausing game...
[10:10:11] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:10:11] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:10:11] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:10:11] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@7fbaef0c[id=0ffa26ec-c58d-3684-8c4d-80c59a849d77,name=PB48,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?]
    at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3056) [Minecraft.class:?]
    at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_131]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_131]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[10:10:46] [Server thread/INFO]: [PB48: Set the time to 0]
[10:10:46] [Client thread/INFO]: [CHAT] Set the time to 0
[10:11:10] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Use x.startRiding(y), not y.addPassenger(x)
    at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_131]
    at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_131]
    at net.minecraft.util.Util.runTask(Util.java:30) [Util.class:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:754) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699) [MinecraftServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) [IntegratedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.IllegalStateException: Use x.startRiding(y), not y.addPassenger(x)
    at net.minecraft.entity.Entity.addPassenger(Entity.java:2323) ~[Entity.class:?]
    at com.planetbravo.mainmod.EntityDogOne.hitByEntity(EntityDogOne.java:38) ~[EntityDogOne.class:?]
    at net.minecraft.entity.player.EntityPlayer.attackTargetEntityWithCurrentItem(EntityPlayer.java:1341) ~[EntityPlayer.class:?]
    at net.minecraft.entity.player.EntityPlayerMP.attackTargetEntityWithCurrentItem(EntityPlayerMP.java:1406) ~[EntityPlayerMP.class:?]
    at net.minecraft.network.NetHandlerPlayServer.processUseEntity(NetHandlerPlayServer.java:1084) ~[NetHandlerPlayServer.class:?]
    at net.minecraft.network.play.client.CPacketUseEntity.processPacket(CPacketUseEntity.java:94) ~[CPacketUseEntity.class:?]
    at net.minecraft.network.play.client.CPacketUseEntity.processPacket(CPacketUseEntity.java:15) ~[CPacketUseEntity.class:?]
    at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_131]
    at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_131]
    at net.minecraft.util.Util.runTask(Util.java:29) ~[Util.class:?]
    ... 5 more
[10:11:11] [Server thread/INFO]: Stopping server
[10:11:11] [Server thread/INFO]: Saving players
[10:11:11] [Server thread/INFO]: Saving worlds
[10:11:11] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:11:11] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:11:11] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:11:11] [Server thread/INFO] [FML]: Unloading dimension 0
[10:11:11] [Server thread/INFO] [FML]: Unloading dimension -1
[10:11:11] [Server thread/INFO] [FML]: Unloading dimension 1
[10:11:11] [Server thread/INFO] [FML]: Applying holder lookups
[10:11:11] [Server thread/INFO] [FML]: Holder lookups applied
[10:11:11] [Client thread/FATAL]: Unreported exception thrown!
java.lang.IllegalStateException: Use x.startRiding(y), not y.addPassenger(x)
    at net.minecraft.entity.Entity.addPassenger(Entity.java:2323) ~[Entity.class:?]
    at com.planetbravo.mainmod.EntityDogOne.hitByEntity(EntityDogOne.java:38) ~[EntityDogOne.class:?]
    at net.minecraft.entity.player.EntityPlayer.attackTargetEntityWithCurrentItem(EntityPlayer.java:1341) ~[EntityPlayer.class:?]
    at net.minecraft.client.multiplayer.PlayerControllerMP.attackEntity(PlayerControllerMP.java:560) ~[PlayerControllerMP.class:?]
    at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1535) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2271) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2053) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1841) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1119) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
[10:11:11] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
// I just don't know what went wrong :(

Time: 6/30/17 10:11 AM
Description: Unexpected error

java.lang.IllegalStateException: Use x.startRiding(y), not y.addPassenger(x)
    at net.minecraft.entity.Entity.addPassenger(Entity.java:2323)
    at com.planetbravo.mainmod.EntityDogOne.hitByEntity(EntityDogOne.java:38)
    at net.minecraft.entity.player.EntityPlayer.attackTargetEntityWithCurrentItem(EntityPlayer.java:1341)
    at net.minecraft.client.multiplayer.PlayerControllerMP.attackEntity(PlayerControllerMP.java:560)
    at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1535)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2271)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2053)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1841)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1119)
    at net.minecraft.client.Minecraft.run(Minecraft.java:407)
    at net.minecraft.client.main.Main.main(Main.java:118)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    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.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)


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

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraft.entity.Entity.addPassenger(Entity.java:2323)
    at com.planetbravo.mainmod.EntityDogOne.hitByEntity(EntityDogOne.java:38)
    at net.minecraft.entity.player.EntityPlayer.attackTargetEntityWithCurrentItem(EntityPlayer.java:1341)
    at net.minecraft.client.multiplayer.PlayerControllerMP.attackEntity(PlayerControllerMP.java:560)
    at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1535)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2271)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2053)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['PB48'/65, l='MpServer', x=1166.75, y=4.00, z=-455.15]]
    Chunk stats: MultiplayerChunkCache: 600, 600
    Level seed: 0
    Level generator: ID 01 - flat, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (1144,4,-467), Chunk: (at 8,0,13 in 71,-30; contains blocks 1136,0,-480 to 1151,255,-465), Region: (2,-1; contains chunks 64,-32 to 95,-1, blocks 1024,0,-512 to 1535,255,-1)
    Level time: 26078 game time, 472 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 39 total; [EntitySlime['Slime'/176642, l='MpServer', x=1221.61, y=5.00, z=-439.02], EntitySlime['Slime'/57479, l='MpServer', x=1091.89, y=4.00, z=-497.14], EntitySlime['Slime'/18, l='MpServer', x=1087.55, y=4.00, z=-377.93], EntitySlime['Slime'/58771, l='MpServer', x=1219.57, y=5.25, z=-429.77], EntitySheep['Sheep'/20, l='MpServer', x=1106.44, y=4.00, z=-424.73], EntityCow['Cow'/21, l='MpServer', x=1115.84, y=4.00, z=-476.35], EntityPig['Pig'/22, l='MpServer', x=1120.53, y=4.00, z=-422.75], EntitySheep['Sheep'/26, l='MpServer', x=1143.94, y=4.00, z=-400.62], EntitySlime['Slime'/165919, l='MpServer', x=1163.81, y=4.04, z=-525.95], EntityDogOne['Cooked Meat Dog'/30, l='MpServer', x=1166.70, y=3.00, z=-453.30], EntityPig['Pig'/31, l='MpServer', x=1159.41, y=4.00, z=-388.45], EntityPig['Pig'/32, l='MpServer', x=1153.04, y=4.00, z=-390.81], EntityCow['Cow'/38, l='MpServer', x=1194.02, y=4.00, z=-440.46], EntityPlayerSP['PB48'/65, l='MpServer', x=1166.75, y=4.00, z=-455.15], EntityCow['Cow'/39, l='MpServer', x=1184.19, y=4.00, z=-423.63], EntitySlime['Slime'/86694, l='MpServer', x=1198.40, y=5.18, z=-531.16], EntitySheep['Sheep'/40, l='MpServer', x=1193.18, y=4.00, z=-410.74], EntitySheep['Sheep'/41, l='MpServer', x=1198.36, y=4.00, z=-410.61], EntitySheep['Sheep'/42, l='MpServer', x=1188.50, y=4.00, z=-410.50], EntitySheep['Sheep'/44, l='MpServer', x=1184.56, y=4.00, z=-384.49], EntityCow['Cow'/48, l='MpServer', x=1206.87, y=4.00, z=-450.32], EntityChicken['Chicken'/49, l='MpServer', x=1213.29, y=4.00, z=-453.18], EntitySheep['Sheep'/50, l='MpServer', x=1215.22, y=4.00, z=-438.83], EntityChicken['Chicken'/51, l='MpServer', x=1207.42, y=4.00, z=-435.18], EntityCow['Cow'/52, l='MpServer', x=1200.26, y=4.00, z=-434.65], EntityCow['Cow'/53, l='MpServer', x=1193.83, y=4.00, z=-422.82], EntitySlime['Slime'/54, l='MpServer', x=1213.03, y=4.00, z=-377.90], EntityItem['item.item.egg'/161723, l='MpServer', x=1213.56, y=4.00, z=-453.32], EntitySlime['Slime'/61, l='MpServer', x=1223.63, y=4.14, z=-394.96], EntitySlime['Slime'/38717, l='MpServer', x=1150.89, y=4.00, z=-499.46], EntitySlime['Slime'/112964, l='MpServer', x=1235.27, y=4.00, z=-469.25], EntitySlime['Slime'/216656, l='MpServer', x=1160.45, y=4.00, z=-395.96], EntitySlime['Slime'/218704, l='MpServer', x=1246.43, y=4.00, z=-465.30], EntitySlime['Slime'/56166, l='MpServer', x=1090.64, y=4.00, z=-455.35], EntitySlime['Slime'/209768, l='MpServer', x=1235.22, y=4.53, z=-473.11], EntityItem['item.item.egg'/113262, l='MpServer', x=1207.77, y=4.00, z=-435.27], EntitySlime['Slime'/101749, l='MpServer', x=1222.78, y=4.00, z=-433.78], EntitySlime['Slime'/173940, l='MpServer', x=1244.28, y=5.08, z=-472.81], EntitySlime['Slime'/113663, l='MpServer', x=1181.47, y=4.28, z=-403.94]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2774)
    at net.minecraft.client.Minecraft.run(Minecraft.java:436)
    at net.minecraft.client.main.Main.main(Main.java:118)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    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.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
    Minecraft Version: 1.11.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_131, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 4705811232 bytes (4487 MB) / 5298978816 bytes (5053 MB) up to 5298978816 bytes (5053 MB)
    JVM Flags: 3 total; -Xincgc -Xmx5120M -Xms5120M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.38 Powered by Forge 13.20.0.2298 5 mods loaded, 5 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    minecraft{1.11.2} [Minecraft] (minecraft.jar) 
    UCHIJAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.0.2298.jar) 
    UCHIJAAAA    forge{13.20.0.2298} [Minecraft Forge] (forgeSrc-1.11.2-13.20.0.2298.jar) 
    UCHIJAAAA    mainmod{1.0.0} [ENTER MOD NAME HERE] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13474 Compatibility Profile Context 22.19.165.1' Renderer: 'AMD Radeon HD 8570'
    Launched Version: 1.11.2
    LWJGL: 2.9.4
    OpenGL: AMD Radeon HD 8570 GL version 4.5.13474 Compatibility Profile Context 22.19.165.1, ATI Technologies Inc.
    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 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 8x Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[10:11:11] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# D:\MinecraftVault\Minecraft-DoNotAlter\Forge\run\.\crash-reports\crash-2017-06-30_10.11.11-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

CRASH LOG ^^^^^^^^

Edited by BlockExpert
Posted
26 minutes ago, diesieben07 said:

Read the error message. It tells you exactly what's wrong and how to fix it.

Sry kinda a noob to programming do you know where to replace   y.addPassenger(x)

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

    • I myself am quite new to the modding scene, I started modding in February but have been in development hell a lot and have struggled to focus on one mod though I have been developing the current mod I've been working on since September and have made a lot of progress; during this time I have found a lot of helpful resources and have learnt a lot of things.    1. You can, I have had no Java experience previously and since modding have managed to be quite knowledgeable in Java.   2. Modding does not require massive teams, I and many others work alone, though having a team is certainly helpful in the modding process to get things done in a quicker and more organised way.   3. I absolutely have to recommend ModdingByKaupenjoe, he makes loads of tutorials for Minecraft from 1.16.5 and above with support for Forge, Fabric, and as of his 1.21 tutorials, Neoforge. These tutorials are really well made, covering almost every modding topic, (such as items, blocks, mobs, worldgen, etc.) and are pretty easy to follow, and Kaupenjoe always leaves the link to his GitHub repositories where you can view the code of that tutorial at your own pace as well as linking textures in the description of his videos for you to use. These forums are also quite good if you need help, though I have found that it sometimes takes a little while for a response but it is always worth the wait; from my experience the people on these forums have always been kind and helpful. There are also user-submitted tutorials that may be helpful as well.  Using GitHub to search up a certain class that you are wanting to use in your mod is also quite helpful, the video I have linked goes into more detail. I would also recommend planning out your mod before you make it to have a clearer idea of how you want your mod to be, including sketches and annotations are also a good idea for this. It has helped me make progress a lot quicker when programming as I already know how I want things to look/act.   I hope all this information helps!
    • I don't know what I did differently, but the error code changed to "Invalid signature for profile public key" so I set "enforce-secure-profile" to false since only my friend will be allowed to join anyway and then everything worked properly. Here's the logs anyway, but I hope the problem doesn't come back. https://paste.ee/p/Ri44L
    • I tried to look for similar issues here on the forum already and couldn't find a fix. Just people who didn't read the rules properly.
  • Topics

×
×
  • Create New...

Important Information

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