Jump to content

NullPointerException when trying to spawn custom mob


novemcinctus

Recommended Posts

I am trying to create a custom version of EntitySpider that is slightly smaller than a cave spider. I took a look at EntityCaveSpider.class for some background. What I ended up with is this:

Common.java

 

public class Common {
public void registerRenderThings() {
    }
    
    public void registerSound() {
    }
}

 

Client.java

 

import cpw.mods.fml.client.registry.RenderingRegistry;
import net.minecraft.client.model.ModelSpider;

public class Client extends Common {
@Override
    public void registerRenderThings() {
	RenderingRegistry.registerEntityRenderingHandler(EntityMiniSpider.class, new RenderMiniSpider());
}
}

 

RenderMiniSpider.java

 

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.entity.RenderSpider;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.monster.EntityCaveSpider;
import net.minecraft.entity.monster.EntitySpider;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;

@SideOnly(Side.CLIENT)
public class RenderMiniSpider extends RenderSpider {
    private static final ResourceLocation caveSpiderTextures = new ResourceLocation("textures/entity/spider/cave_spider.png");
    private static final String __OBFID = "CL_00000982";

    public RenderMiniSpider()
    {
        this.shadowSize *= 0.175F;
    }

    /**
     * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args:
     * entityLiving, partialTickTime
     */
    protected void preRenderCallback(EntityMiniSpider p_77041_1_, float p_77041_2_)
    {
        GL11.glScalef(0.175F, 0.175F, 0.175F);
    }

    /**
     * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
     */
    protected ResourceLocation getEntityTexture(EntityMiniSpider p_110775_1_)
    {
        return caveSpiderTextures;
    }

    /**
     * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
     */
    protected ResourceLocation getEntityTexture(EntitySpider p_110775_1_)
    {
        return this.getEntityTexture((EntityMiniSpider)p_110775_1_);
    }

    /**
     * Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args:
     * entityLiving, partialTickTime
     */
    protected void preRenderCallback(EntityLivingBase p_77041_1_, float p_77041_2_)
    {
        this.preRenderCallback((EntityMiniSpider)p_77041_1_, p_77041_2_);
    }

    /**
     * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
     */
    protected ResourceLocation getEntityTexture(Entity p_110775_1_)
    {
        return this.getEntityTexture((EntityMiniSpider)p_110775_1_);
    }
}

 

EntityMiniSpider.java

 

import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.IEntityLivingData;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.world.EnumDifficulty;
import net.minecraft.world.World;
import net.minecraft.entity.monster.*;

public class EntityMiniSpider extends EntitySpider {
private static final String __OBFID = "CL_00001683";

    public EntityMiniSpider(World p_i1732_1_)
    {
        super(p_i1732_1_);
        this.setSize(0.175F, 0.125F);
    }

    protected void applyEntityAttributes()
    {
        super.applyEntityAttributes();
        this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(12.0D);
    }

    public boolean attackEntityAsMob(Entity p_70652_1_)
    {
        if (super.attackEntityAsMob(p_70652_1_))
        {
            if (p_70652_1_ instanceof EntityLivingBase)
            {
                byte b0 = 0;

                if (this.worldObj.difficultySetting == EnumDifficulty.NORMAL)
                {
                    b0 = 7;
                }
                else if (this.worldObj.difficultySetting == EnumDifficulty.HARD)
                {
                    b0 = 15;
                }

                if (b0 > 0)
                {
                    ((EntityLivingBase)p_70652_1_).addPotionEffect(new PotionEffect(Potion.poison.id, b0 * 20, 0));
                }
            }

            return true;
        }
        else
        {
            return false;
        }
    }

    public IEntityLivingData onSpawnWithEgg(IEntityLivingData p_110161_1_)
    {
        return p_110161_1_;
    }
}

 

And the relevant part of my main class:

 

import java.util.HashMap;
import java.util.LinkedHashMap;

import net.minecraft.block.Block;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.IWorldGenerator;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraft.block.material.Material;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.boss.EntityDragon;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.entity.passive.EntityMooshroom;
import net.minecraft.entity.monster.*;

@Mod(modid = "dropchanger", version = "1.0")
public class BetterDropsMain {
public static final String MODID = "dropchanger";
public static final String VERSION = "1.0";
@SidedProxy(clientSide = "io.github.tesla.Client", serverSide = "io.tesla.Common")
public static Common proxy;

@EventHandler
public void init(FMLInitializationEvent event) {
	EntityRegistry.registerGlobalEntityID(EntityMiniSpider.class, "EntityMiniSpider", 501, 0x660066, 0x660066);
	proxy.registerRenderThings();
	LanguageRegistry.instance().addStringLocalization("entity.EntityMiniSpider.name", "en_US", "MiniSpider");
}
}

 

Everything works fine until I try to spawn one in with an egg and I get a NullPointerException. I tried stepping through the code with a debugger but couldn't find exactly where it happened. Here's my console log:

 

Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[18:13:36] [main/INFO] [GradleStart]: No arguments specified, assuming client.
[18:13:36] [main/INFO] [GradleStart]: Extra: []
[18:13:36] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/tesla/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker]
[18:13:36] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[18:13:36] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[18:13:36] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[18:13:36] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1232 for Minecraft 1.7.10 loading
[18:13:36] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_20, running on Mac OS X:x86_64:10.10, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre
[18:13:36] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:13:36] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:13:36] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:13:36] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:13:36] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:13:36] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:13:36] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:13:37] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[18:13:37] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:13:37] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:13:37] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[18:13:37] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[18:13:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:13:38] [main/INFO]: Setting user: Player178
[18:13:39] [Client thread/INFO]: LWJGL Version: 2.9.1
[18:13:39] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[18:13:39] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1232 Initialized
[18:13:39] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[18:13:40] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[18:13:40] [Client thread/INFO] [FML]: Searching /Users/tesla/Documents/modding/forge-1-3/eclipse/mods for mods
[18:13:40] [Client thread/INFO] [dropchanger]: Mod dropchanger is missing the required element 'name'. Substituting dropchanger
[18:13:42] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[18:13:42] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, dropchanger] at CLIENT
[18:13:42] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, dropchanger] at SERVER
[18:13:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:dropchanger
[18:13:43] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[18:13:43] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[18:13:43] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[18:13:43] [Client thread/INFO] [FML]: Applying holder lookups
[18:13:43] [Client thread/INFO] [FML]: Holder lookups applied
[18:13:43] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[18:13:43] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[18:13:43] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:13:43] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[18:13:43] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:13:44] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[18:13:44] [sound Library Loader/INFO]: Sound engine started
[18:13:44] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:13:44] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:13:44] [Client thread/INFO] [sTDOUT]: [io.github.tesla.BetterDropsMain:init:36]: DROPCHANGER TESTING up
[18:13:44] [Client thread/ERROR] [FML]: The entity ID 501 for mod dropchanger is not an unsigned byte and may not work
[18:13:44] [Client thread/ERROR] [FML]: The mod dropchanger has attempted to register an entity ID 501 which is already reserved. This could cause severe problems
[18:13:44] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[18:13:44] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:dropchanger
[18:13:44] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:13:44] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:13:44] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[18:13:44] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[18:13:45] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[18:13:45] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[18:13:45] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[18:13:45] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[18:13:45] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:13:45] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[18:13:45] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:13:45] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[18:13:45] [sound Library Loader/INFO]: Sound engine started
[18:13:48] [server thread/INFO]: Starting integrated minecraft server version 1.7.10
[18:13:48] [server thread/INFO]: Generating keypair
[18:13:48] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[18:13:48] [server thread/INFO] [FML]: Applying holder lookups
[18:13:48] [server thread/INFO] [FML]: Holder lookups applied
[18:13:48] [server thread/INFO] [FML]: Loading dimension 0 (extremehills) (net.minecraft.server.integrated.IntegratedServer@300d0ebb)
[18:13:48] [server thread/INFO] [FML]: Loading dimension 1 (extremehills) (net.minecraft.server.integrated.IntegratedServer@300d0ebb)
[18:13:48] [server thread/INFO] [FML]: Loading dimension -1 (extremehills) (net.minecraft.server.integrated.IntegratedServer@300d0ebb)
[18:13:48] [server thread/INFO]: Preparing start region for level 0
[18:13:49] [server thread/INFO]: Preparing spawn area: 88%
[18:13:50] [server thread/INFO]: Changing view distance to 6, from 10
[18:13:50] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[18:13:50] [Netty IO #1/INFO] [FML]: Client protocol version 1
[18:13:50] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[18:13:50] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[18:13:50] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[18:13:50] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[18:13:50] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[18:13:50] [server thread/INFO]: Player178[local:E:4f23f012] logged in with entity id 490 at (115.94501492973593, 73.0, 247.73645317739292)
[18:13:50] [server thread/INFO]: Player178 joined the game
[18:13:52] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2002ms behind, skipping 40 tick(s)
[18:13:58] [server thread/INFO]: Player178 was blown up by Creeper
[18:13:58] [server thread/INFO] [sTDOUT]: [io.github.tesla.EntityItemDeathHandler:onEntityDeathDrops:114]: EntityItem['item.item.monsterPlacer'/574, l='extremehills', x=112.30, y=74.32, z=244.10]
[18:13:58] [server thread/INFO] [sTDOUT]: [io.github.tesla.EntityItemDeathHandler:onEntityDeathDrops:114]: EntityItem['item.tile.sapling.oak'/575, l='extremehills', x=112.30, y=74.32, z=244.10]
[18:13:58] [Client thread/INFO]: [CHAT] Player178 was blown up by Creeper
[18:13:58] [server thread/INFO] [sTDOUT]: [io.github.tesla.EntityItemDeathHandler:onEntityDeathDrops:114]: EntityItem['item.item.monsterPlacer'/664, l='extremehills', x=190.75, y=14.04, z=315.25]
[18:14:03] [Client thread/INFO]: [CHAT] /gamemode, /gamerule
[18:14:03] [server thread/INFO]: [Player178: Set own game mode to Creative Mode]
[18:14:03] [Client thread/INFO]: [CHAT] Your game mode has been updated
[18:14:04] [server thread/INFO]: Player178 has just earned the achievement [Taking Inventory]
[18:14:04] [Client thread/INFO]: [CHAT] Player178 has just earned the achievement [Taking Inventory]
[18:14:23] [Client thread/WARN]: Skipping Entity with id -11
[18:14:23] [server thread/INFO]: Stopping server
[18:14:23] [server thread/INFO]: Saving players
[18:14:23] [server thread/INFO]: Saving worlds
[18:14:23] [server thread/INFO]: Saving chunks for level 'extremehills'/Overworld
[18:14:23] [server thread/INFO]: Saving chunks for level 'extremehills'/Nether
[18:14:23] [server thread/INFO]: Saving chunks for level 'extremehills'/The End
[18:14:24] [server thread/INFO] [FML]: Unloading dimension 0
[18:14:24] [server thread/INFO] [FML]: Unloading dimension -1
[18:14:24] [server thread/INFO] [FML]: Unloading dimension 1
[18:14:24] [server thread/INFO] [FML]: Applying holder lookups
[18:14:24] [server thread/INFO] [FML]: Holder lookups applied
[18:14:24] [Client thread/FATAL]: Unreported exception thrown!
java.lang.NullPointerException
at net.minecraft.client.network.NetHandlerPlayClient.handleSpawnMob(NetHandlerPlayClient.java:855) ~[NetHandlerPlayClient.class:?]
at net.minecraft.network.play.server.S0FPacketSpawnMob.processPacket(S0FPacketSpawnMob.java:129) ~[s0FPacketSpawnMob.class:?]
at net.minecraft.network.play.server.S0FPacketSpawnMob.processPacket(S0FPacketSpawnMob.java:222) ~[s0FPacketSpawnMob.class:?]
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?]
at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) ~[PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1682) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20]
at GradleStartCommon.launch(GradleStartCommon.java:29) [start/:?]
at GradleStart.startClient(GradleStart.java:96) [start/:?]
at GradleStart.main(GradleStart.java:50) [start/:?]
[18:14:24] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----
// My bad.

Time: 11/7/14 6:14 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
at net.minecraft.client.network.NetHandlerPlayClient.handleSpawnMob(NetHandlerPlayClient.java:855)
at net.minecraft.network.play.server.S0FPacketSpawnMob.processPacket(S0FPacketSpawnMob.java:129)
at net.minecraft.network.play.server.S0FPacketSpawnMob.processPacket(S0FPacketSpawnMob.java:222)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1682)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028)
at net.minecraft.client.Minecraft.run(Minecraft.java:951)
at net.minecraft.client.main.Main.main(Main.java:164)
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:483)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at GradleStartCommon.launch(GradleStartCommon.java:29)
at GradleStart.startClient(GradleStart.java:96)
at GradleStart.main(GradleStart.java:50)


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

-- Head --
Stacktrace:
at net.minecraft.client.network.NetHandlerPlayClient.handleSpawnMob(NetHandlerPlayClient.java:855)
at net.minecraft.network.play.server.S0FPacketSpawnMob.processPacket(S0FPacketSpawnMob.java:129)
at net.minecraft.network.play.server.S0FPacketSpawnMob.processPacket(S0FPacketSpawnMob.java:222)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player178'/490, l='MpServer', x=79.59, y=72.76, z=245.69]]
Chunk stats: MultiplayerChunkCache: 161, 161
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: 
Level spawn location: World: (116,64,248), Chunk: (at 4,4,8 in 7,15; contains blocks 112,0,240 to 127,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 45935 game time, 45935 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 100 total; [EntitySkeleton['Skeleton'/258, l='MpServer', x=154.69, y=68.00, z=245.88], EntityZombie['Zombie'/259, l='MpServer', x=152.56, y=41.00, z=265.97], EntityCreeper['Creeper'/260, l='MpServer', x=146.47, y=37.00, z=258.66], EntitySpider['Spider'/261, l='MpServer', x=145.09, y=37.00, z=256.84], EntitySkeleton['Skeleton'/262, l='MpServer', x=155.84, y=64.00, z=259.44], EntityZombie['Zombie'/263, l='MpServer', x=154.50, y=21.00, z=274.50], EntityZombie['Zombie'/264, l='MpServer', x=152.50, y=21.00, z=274.50], EntityBat['Bat'/265, l='MpServer', x=159.69, y=22.10, z=282.06], EntityItem['item.item.monsterPlacer'/574, l='MpServer', x=113.88, y=71.13, z=243.19], EntityItem['item.tile.sapling.oak'/575, l='MpServer', x=111.19, y=71.13, z=243.13], EntityItem['item.tile.log.oak'/576, l='MpServer', x=109.13, y=73.13, z=244.19], EntityItem['item.tile.dirt.default'/577, l='MpServer', x=114.13, y=71.13, z=245.13], EntityItem['item.tile.dirt.default'/579, l='MpServer', x=110.88, y=72.13, z=243.28], EntityItem['item.tile.dirt.default'/580, l='MpServer', x=113.81, y=71.13, z=246.88], EntityItem['item.tile.sapling.oak'/583, l='MpServer', x=110.13, y=72.13, z=247.88], EntityItem['item.tile.dirt.default'/585, l='MpServer', x=111.81, y=70.13, z=246.28], EntityItem['item.tile.dirt.default'/587, l='MpServer', x=111.13, y=70.13, z=245.13], EntityItem['item.tile.dirt.default'/588, l='MpServer', x=111.81, y=71.13, z=247.19], EntityItem['item.tile.dirt.default'/589, l='MpServer', x=111.13, y=71.13, z=244.56], EntityItem['item.tile.dirt.default'/590, l='MpServer', x=113.03, y=71.13, z=243.13], EntityItem['item.tile.dirt.default'/591, l='MpServer', x=113.97, y=71.13, z=246.13], EntityItem['item.tile.dirt.default'/592, l='MpServer', x=110.34, y=71.13, z=246.38], EntityCreeper['Creeper'/81, l='MpServer', x=16.06, y=64.00, z=191.28], EntityCow['Cow'/83, l='MpServer', x=8.13, y=64.00, z=234.53], EntityCreeper['Creeper'/103, l='MpServer', x=29.50, y=63.00, z=205.50], EntityCreeper['Creeper'/104, l='MpServer', x=22.50, y=21.00, z=268.50], EntityCreeper['Creeper'/105, l='MpServer', x=22.50, y=21.00, z=269.50], EntityCreeper['Creeper'/106, l='MpServer', x=23.00, y=21.00, z=266.56], EntityBat['Bat'/107, l='MpServer', x=24.46, y=59.84, z=294.69], EntityBat['Bat'/108, l='MpServer', x=25.16, y=60.10, z=302.28], EntityCow['Cow'/109, l='MpServer', x=18.53, y=70.00, z=306.31], EntityPig['Pig'/121, l='MpServer', x=31.94, y=63.00, z=175.03], EntityCreeper['Creeper'/122, l='MpServer', x=34.50, y=21.00, z=191.50], EntitySkeleton['Skeleton'/123, l='MpServer', x=37.56, y=20.00, z=189.13], EntityCreeper['Creeper'/124, l='MpServer', x=41.53, y=23.00, z=190.94], EntitySkeleton['Skeleton'/125, l='MpServer', x=39.50, y=21.00, z=192.50], EntitySkeleton['Skeleton'/126, l='MpServer', x=36.50, y=21.00, z=193.50], EntityCreeper['Creeper'/127, l='MpServer', x=39.88, y=21.00, z=194.69], EntitySkeleton['Skeleton'/128, l='MpServer', x=35.97, y=21.00, z=192.44], EntityCow['Cow'/129, l='MpServer', x=46.41, y=67.00, z=195.25], EntityCreeper['Creeper'/130, l='MpServer', x=33.00, y=63.00, z=219.41], EntityZombie['Zombie'/131, l='MpServer', x=32.50, y=72.00, z=239.50], EntityZombie['Zombie'/132, l='MpServer', x=43.56, y=63.00, z=264.56], EntityBat['Bat'/133, l='MpServer', x=29.50, y=58.10, z=291.50], EntityCow['Cow'/134, l='MpServer', x=47.84, y=65.00, z=301.03], EntitySkeleton['Skeleton'/135, l='MpServer', x=40.50, y=70.00, z=289.50], EntityCow['Cow'/136, l='MpServer', x=37.56, y=72.00, z=322.38], EntityPig['Pig'/144, l='MpServer', x=57.50, y=73.00, z=172.22], EntityCow['Cow'/145, l='MpServer', x=52.78, y=68.00, z=185.19], EntityZombie['Zombie'/146, l='MpServer', x=55.78, y=17.00, z=234.50], EntityCreeper['Creeper'/147, l='MpServer', x=48.50, y=32.00, z=255.50], EntityCow['Cow'/148, l='MpServer', x=51.88, y=63.00, z=265.72], EntityCow['Cow'/149, l='MpServer', x=71.81, y=73.00, z=266.22], EntityZombie['Zombie'/150, l='MpServer', x=58.50, y=64.00, z=260.31], EntityZombie['Zombie'/151, l='MpServer', x=62.50, y=70.00, z=265.50], EntityZombie['Zombie'/152, l='MpServer', x=61.50, y=32.00, z=285.50], EntityCow['Cow'/153, l='MpServer', x=48.38, y=74.00, z=302.41], EntityCow['Cow'/154, l='MpServer', x=49.69, y=69.00, z=294.59], EntityCow['Cow'/155, l='MpServer', x=55.47, y=70.00, z=296.06], EntitySkeleton['Skeleton'/156, l='MpServer', x=52.50, y=64.00, z=294.50], EntityBat['Bat'/157, l='MpServer', x=68.94, y=28.63, z=306.25], EntityCow['Cow'/158, l='MpServer', x=58.47, y=64.00, z=322.53], EntityCow['Cow'/159, l='MpServer', x=55.28, y=64.00, z=317.50], EntityClientPlayerMP['Player178'/490, l='MpServer', x=79.59, y=72.76, z=245.69], EntityWitch['Witch'/167, l='MpServer', x=67.16, y=59.00, z=217.50], EntityCow['Cow'/168, l='MpServer', x=81.47, y=78.00, z=255.44], EntityCow['Cow'/169, l='MpServer', x=64.03, y=71.00, z=265.72], EntityCow['Cow'/170, l='MpServer', x=66.50, y=71.00, z=262.38], EntityCow['Cow'/171, l='MpServer', x=64.50, y=70.00, z=288.66], EntityCreeper['Creeper'/172, l='MpServer', x=69.38, y=71.00, z=286.97], EntityCow['Cow'/173, l='MpServer', x=83.88, y=63.00, z=322.97], EntityZombie['Zombie'/176, l='MpServer', x=91.50, y=58.00, z=166.50], EntitySpider['Spider'/177, l='MpServer', x=89.94, y=54.00, z=201.50], EntityZombie['Zombie'/178, l='MpServer', x=91.69, y=54.00, z=200.31], EntityWitch['Witch'/179, l='MpServer', x=94.28, y=53.00, z=206.16], EntityCow['Cow'/180, l='MpServer', x=98.25, y=77.00, z=226.28], EntityCow['Cow'/181, l='MpServer', x=80.16, y=73.00, z=267.19], EntityCow['Cow'/199, l='MpServer', x=107.38, y=73.00, z=199.25], EntityGiantZombie['Giant'/200, l='MpServer', x=102.03, y=73.00, z=248.06], EntityGiantZombie['Giant'/201, l='MpServer', x=106.19, y=74.00, z=246.22], EntityGiantZombie['Giant'/202, l='MpServer', x=106.09, y=73.00, z=250.19], EntityGiantZombie['Giant'/203, l='MpServer', x=110.09, y=74.00, z=250.19], EntityGiantZombie['Giant'/204, l='MpServer', x=105.50, y=73.00, z=256.50], EntityCow['Cow'/205, l='MpServer', x=100.56, y=75.00, z=311.72], EntityCow['Cow'/219, l='MpServer', x=118.59, y=74.00, z=166.69], EntityCow['Cow'/220, l='MpServer', x=107.47, y=77.00, z=203.22], EntityGiantZombie['Giant'/221, l='MpServer', x=118.72, y=74.00, z=238.09], EntityGiantZombie['Giant'/222, l='MpServer', x=119.81, y=74.00, z=246.19], EntityGiantZombie['Giant'/223, l='MpServer', x=114.13, y=73.00, z=246.28], EntityGiantZombie['Giant'/224, l='MpServer', x=117.66, y=73.00, z=250.13], EntitySkeleton['Skeleton'/225, l='MpServer', x=112.63, y=73.00, z=293.13], EntityCow['Cow'/226, l='MpServer', x=120.28, y=75.00, z=294.50], EntityClientPlayerMP['Player178'/490, l='MpServer', x=112.30, y=77.62, z=238.30], EntityBat['Bat'/239, l='MpServer', x=140.75, y=25.10, z=173.53], EntitySkeleton['Skeleton'/240, l='MpServer', x=138.50, y=19.00, z=172.94], EntityCreeper['Creeper'/243, l='MpServer', x=142.50, y=37.00, z=259.50], EntityCow['Cow'/244, l='MpServer', x=138.47, y=63.00, z=270.69], EntityBat['Bat'/245, l='MpServer', x=114.25, y=13.00, z=282.75], EntityCow['Cow'/246, l='MpServer', x=138.50, y=65.00, z=275.50], EntityCow['Cow'/247, l='MpServer', x=130.50, y=68.00, z=289.09]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555)
at net.minecraft.client.Minecraft.run(Minecraft.java:980)
at net.minecraft.client.main.Main.main(Main.java:164)
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:483)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at GradleStartCommon.launch(GradleStartCommon.java:29)
at GradleStart.startClient(GradleStart.java:96)
at GradleStart.main(GradleStart.java:50)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Mac OS X (x86_64) version 10.10
Java Version: 1.8.0_20, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 774907600 bytes (739 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.85.1232 Minecraft Forge 10.13.2.1232 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.85.1232} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1232.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1232} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1232.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
dropchanger{1.0} [dropchanger] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 INTEL-10.0.86, Intel Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

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)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
[18:14:24] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/tesla/Documents/modding/forge-1-3/eclipse/./crash-reports/crash-2014-11-07_18.14.24-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

 

 

Am I forgetting to register something? What is returning null that shouldn't?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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