Jump to content

Recommended Posts

Posted

I was playing a file with the mod Minecraft Comes Alive. I was having some issues, so I reset my computer. Now, whenever I try to load the world up, the game crashes.

This is the crash report:

 

---- Minecraft Crash Report ----
// I just don't know what went wrong :(
Time: 4/9/17 10:06 PM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
 at net.minecraft.enchantment.Enchantment.func_185260_a(Enchantment.java:55)
 at net.minecraft.enchantment.EnchantmentHelper.func_185284_a(EnchantmentHelper.java:200)
 at net.minecraft.enchantment.EnchantmentHelper.func_151387_h(EnchantmentHelper.java:256)
 at mca.entity.EntityChoreFishHook.func_70071_h_(EntityChoreFishHook.java:470)
 at net.minecraft.world.World.func_72866_a(World.java:1964)
 at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:839)
 at net.minecraft.world.World.func_72870_g(World.java:1934)
 at net.minecraft.world.World.func_72939_s(World.java:1750)
 at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:620)
 at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
 at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
 at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
 at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
 at net.minecraft.enchantment.Enchantment.func_185260_a(Enchantment.java:55)
 at net.minecraft.enchantment.EnchantmentHelper.func_185284_a(EnchantmentHelper.java:200)
 at net.minecraft.enchantment.EnchantmentHelper.func_151387_h(EnchantmentHelper.java:256)
 at mca.entity.EntityChoreFishHook.func_70071_h_(EntityChoreFishHook.java:470)
 at net.minecraft.world.World.func_72866_a(World.java:1964)
 at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:839)
 at net.minecraft.world.World.func_72870_g(World.java:1934)
-- Entity being ticked --
Details:
 Entity Type: MCA.EntityChoreFishHook (mca.entity.EntityChoreFishHook)
 Entity ID: 225
 Entity Name: entity.MCA.EntityChoreFishHook.name
 Entity's Exact location: 41.27, 62.91, 192.90
 Entity's Block location: World: (41,62,192), Chunk: (at 9,3,0 in 2,12; contains blocks 32,0,192 to 47,255,207), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
 Entity's Momentum: -0.00, 0.00, -0.00
 Entity's Passengers: []
 Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
 at net.minecraft.world.World.func_72939_s(World.java:1750)
 at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:620)
-- Affected level --
Details:
 Level name: Groovy
 All players: 0 total; []
 Chunk stats: ServerChunkCache: 625 Drop: 0
 Level seed: -13903929768748
 Level generator: ID 00 - default, ver 1. Features enabled: true
 Level generator options:
 Level spawn location: World: (-16,64,252), Chunk: (at 0,4,12 in -1,15; contains blocks -16,0,240 to -1,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
 Level time: 423668 game time, 682332 day time
 Level dimension: 0
 Level storage version: 0x04ABD - Anvil
 Level weather: Rain time: 152800 (now: false), thunder time: 146250 (now: false)
 Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
 at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
 at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
 at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
 at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
 Minecraft Version: 1.10.2
 Operating System: Windows 10 (amd64) version 10.0
 Java Version: 1.8.0_25, Oracle Corporation
 Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
 Memory: 225704288 bytes (215 MB) / 591257600 bytes (563 MB) up to 1060372480 bytes (1011 MB)
 JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
 IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
 FML: MCP 9.32 Powered by Forge 12.18.3.2185 6 mods loaded, 6 mods active
 States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
 UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
 UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.3.2185.jar)
 UCHIJAAAA Forge{12.18.3.2185} [Minecraft Forge] (forge-1.10.2-12.18.3.2185.jar)
 UCHIJAAAA mercurius_updater{1.0} [mercurius_updater] (MercuriusUpdater-1.10.2.jar)
 UCHIJAAAA RadixCore{1.10.2-2.1.3} [RadixCore] (RadixCore-1.10.2-2.1.3-universal.jar)
 UCHIJAAAA MCA{1.10.2-5.2.3} [Minecraft Comes Alive] (MCA-1.10.2-5.2.3-universal.jar)
 Loaded coremods (and transformers):
 GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
 Profiler Position: N/A (disabled)
 Player Count: 0 / 8; []
 Type: Integrated Server (map_client.txt)
 Is Modded: Definitely; Client brand changed to 'fml,forge'
 
Any assistance would be appreciated!

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

    • Managed to solve the issue myself. Solved by a fresh modpack instance.
    • Hello, so straight to the problem. Today i wanted to startup Enigmatica as usual and it just wont startup. Last night everything worked fine, i didnt even turn off my pc. Crash log: https://mclo.gs/GJ6Kcy1
    • Rubidium and Embeddium are versions of the same mod, you can only have one. I believe Embeddium is the one that's actively maintained.
    • Hello, New to modding, but have a solid CS foundation. I've created multiple custom BlockEntities that all have the same issue, which is that the inventory only updates on right click (overriding the useItemOn method). I've seen multiple posts on here outlining a similar issue to mine, but I've already implemented the solution of: overriding the correct methods in the BlockEntity class and calling setChanged(). I've tried every different place for setChanged() to no success. I'm wondering if I'm missing something else or if there was some change to sending data to the client in 1.21.5? Or will I have to use a custom packet sender? Here is the code for one of my BlockEntity classes with a single inventory slot: public class MyCustomBlockEntity extends BlockEntity { public final ItemStackHandler inventory = new ItemStackHandler(1) { @Override protected int getStackLimit(int slot, @NotNull ItemStack stack) { return 1; } @Override protected void onContentsChanged(int slot) { setChanged(); if (!level.isClientSide()) { level.setBlockAndUpdate(getBlockPos(), getBlockState()); } } }; public MyCustomBlockEntity(BlockPos pPos, BlockState pBlockState) { super(ModBlockEntities.MY_CUSTOM_BE.get(), pPos, pBlockState); } public void clearContents() { inventory.setStackInSlot(0, ItemStack.EMPTY); } public void dropItem() { SimpleContainer inv = new SimpleContainer(inventory.getSlots()); inv.setItem(0, inventory.getStackInSlot(0)); Containers.dropContents(this.level, this.worldPosition, inv); } @Override public void setRemoved() { dropItem(); super.setRemoved(); } @Override protected void saveAdditional(CompoundTag pTag, HolderLookup.Provider pRegistries) { super.saveAdditional(pTag, pRegistries); pTag.put("inventory", inventory.serializeNBT(pRegistries)); } @Override protected void loadAdditional(CompoundTag pTag, HolderLookup.Provider pRegistries) { super.loadAdditional(pTag, pRegistries); inventory.deserializeNBT(pRegistries, pTag.getCompound("inventory").get()); } @Override public Packet<ClientGamePacketListener> getUpdatePacket() { return ClientboundBlockEntityDataPacket.create(this); } @Override public CompoundTag getUpdateTag(HolderLookup.Provider pRegistries) { return saveWithoutMetadata(pRegistries); } } Mostly encountering the issue when calling the clearContents() method anywhere outside of useItemOn() in the Block class. I've also tried overriding both the handleUpdateTag() and onDataPacket() methods, calling their super along with loadAdditional(), but neither changed the outcome. Thanks in advance for any replies.
    • Hi all! I’m working on a Jurassic Park-themed mod for Minecraft 1.20.1, aiming to include dinosaurs, fossils, DNA extraction, and cool machines. This is a free project, mainly passion-driven, and I’ll give full credit to everyone involved. this is the perfect opportunity for beginners of modeling and coding. This project will give you experience and a creative freedom If you love dinosaurs and Minecraft modding, hit me up! Thanks! Add Me ogfrost. <--- Discord
  • Topics

×
×
  • Create New...

Important Information

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