java.lang.ClassCastException: net.minecraft.item.ItemBlock cannot be cast to com.sythiex.hearthstonemod.ItemHearthstone
at com.sythiex.hearthstonemod.HearthstoneEventHandler.onEvent(HearthstoneEventHandler.java:20)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_137_HearthstoneEventHandler_onEvent_LivingHurtEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraftforge.common.ForgeHooks.onLivingHurt(ForgeHooks.java:470)
at net.minecraft.entity.player.EntityPlayer.func_70665_d(EntityPlayer.java:1089)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:785)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1047)
at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:531)
at net.minecraft.entity.monster.EntityMob.func_70652_k(SourceFile:98)
at net.minecraft.entity.monster.EntityZombie.func_70652_k(EntityZombie.java:301)
at net.minecraft.entity.ai.EntityAIAttackOnCollide.func_75246_d(EntityAIAttackOnCollide.java:152)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:102)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:559)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1775)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:382)
at net.minecraft.entity.monster.EntityMob.func_70636_d(SourceFile:27)
at net.minecraft.entity.monster.EntityZombie.func_70636_d(EntityZombie.java:218)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1614)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:228)
at net.minecraft.entity.monster.EntityMob.func_70071_h_(SourceFile:32)
at net.minecraft.entity.monster.EntityZombie.func_70071_h_(EntityZombie.java:296)
at net.minecraft.world.World.func_72866_a(World.java:1862)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:700)
at net.minecraft.world.World.func_72870_g(World.java:1831)
at net.minecraft.world.World.func_72939_s(World.java:1663)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:545)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:701)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
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 --
Stacktrace:
at com.sythiex.hearthstonemod.HearthstoneEventHandler.onEvent(HearthstoneEventHandler.java:20)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_137_HearthstoneEventHandler_onEvent_LivingHurtEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraftforge.common.ForgeHooks.onLivingHurt(ForgeHooks.java:470)
at net.minecraft.entity.player.EntityPlayer.func_70665_d(EntityPlayer.java:1089)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:785)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1047)
at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:531)
at net.minecraft.entity.monster.EntityMob.func_70652_k(SourceFile:98)
at net.minecraft.entity.monster.EntityZombie.func_70652_k(EntityZombie.java:301)
at net.minecraft.entity.ai.EntityAIAttackOnCollide.func_75246_d(EntityAIAttackOnCollide.java:152)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:102)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:559)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1775)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:382)
at net.minecraft.entity.monster.EntityMob.func_70636_d(SourceFile:27)
at net.minecraft.entity.monster.EntityZombie.func_70636_d(EntityZombie.java:218)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1614)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:228)
at net.minecraft.entity.monster.EntityMob.func_70071_h_(SourceFile:32)
at net.minecraft.entity.monster.EntityZombie.func_70071_h_(EntityZombie.java:296)
at net.minecraft.world.World.func_72866_a(World.java:1862)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:700)
at net.minecraft.world.World.func_72870_g(World.java:1831)
-- Entity being ticked --
Details:
Entity Type: Zombie (net.minecraft.entity.monster.EntityZombie)
Entity ID: 257
Entity Name: Zombie
Entity's Exact location: 799.22, 103.00, 6136.93
Entity's Block location: 799.00,103.00,6136.00 - World: (799,103,6136), Chunk: (at 15,6,8 in 49,383; contains blocks 784,0,6128 to 799,255,6143), Region: (1,11; contains chunks 32,352 to 63,383, blocks 512,0,5632 to 1023,255,6143)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Rider: ~~ERROR~~ NullPointerException: null
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1663)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:545)
-- Affected level --
Details:
Level name: Magic Minecraft
All players: 1 total; [EntityPlayerMP['ApianArcher'/255, l='Magic Minecraft', x=800.06, y=103.00, z=6136.38]]
Chunk stats: ServerChunkCache: 773 Drop: 0
Level seed: 3865908076590247699
Level generator: ID 06 - RTG, ver 0. Features enabled: true
Level generator options:
Level spawn location: 236.00,85.00,294.00 - World: (236,85,294), Chunk: (at 12,5,6 in 14,18; contains blocks 224,0,288 to 239,255,303), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 97708246 game time, 471303 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 27214 (now: false), thunder time: 21097 (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:701)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Thread.java:745)
[DummyCore]: 'Special case ASM modification mods: ''Note, that these mods might not be involved in the crash in ANY WAY!''DummyCore just prints some known mods for a lot of ASM modifications''DummyCore'
Profiler Position: N/A (disabled)
Player Count: 1 / 15; [EntityPlayerMP['ApianArcher'/255, l='Magic Minecraft', x=800.06, y=103.00, z=6136.38]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
A bit confused, really. Thanks for the help!
Working on this and a few more elusive bugs, an update should be out pretty soon. Thanks for pointing this one out.
Finally got back to working on this mod, just released a new update for 1.7.10 that should fix a crash on server startup (meaning this now works on dedicated servers)
It would be cool if you added the ability to make it a 15 minute cooldown like in WoW when you have guild perks. Maybe you could upgrade your hearthstone by finding a rare villager that spawns in villages and combining it with a nether star or some other difficult to obtain item to change it to 15 minutes. Just an idea, I love wow stuff, haha.
Adds a Hearthstone item to the game based on the Hearthstone found in World of Warcraft. The Hearthstone allows players to teleport from any location to their bed. This allows the player to go on long caving expeditions without having to remember the way home, or venture thousands of blocks without having to walk back. But be warned, you must concentrate for a few moments to use the Hearthstone, and moving or taking damage will break your concentration! The Hearthstone does have a 30 minute cooldown between uses, so use it only when necessary. To link the Hearthstone, just sneak-right click on a bed while holding it.
0
Mod just updated to 1.16.4.
0
Just bumped the mod up to MC 1.15.2, please let me know if anyone runs into any issues.
0
Version 0.5.1 just released which brings the mod to MC 1.14.4.
0
Version 0.4.7 out now, fixed several issues with traveling between dimensions.
1
New version out for 1.12.2. Fixed the annoying reequip animation playing when it wasn't supposed to.
1
Use "/give [player] hearthstonemod:hearthstone".
You can also find the item in the tools creative tab.
0
Feel free to add this mod to your modpack, but please do not rehost the files, use the Curse download.
0
New version out for 1.12.2. Note there is a recipe change on this version.
0
New versions out for 1.10 and 1.11, with 1.12 coming soon. Added a few config options and Chinese localization.
0
v0.3.3 for 1.8.9 is now up. I don't have a good testing environment for 1.8 right now, so just let me know if something else comes up.
0
Working on this and a few more elusive bugs, an update should be out pretty soon. Thanks for pointing this one out.
0
I just added the fix for the 1.8.9 version, let me know if you experience any more issues
0
Finally got back to working on this mod, just released a new update for 1.7.10 that should fix a crash on server startup (meaning this now works on dedicated servers)
1
Good idea, I'll see what I can do
4
Adds a Hearthstone item to the game based on the Hearthstone found in World of Warcraft. The Hearthstone allows players to teleport from any location to their bed. This allows the player to go on long caving expeditions without having to remember the way home, or venture thousands of blocks without having to walk back. But be warned, you must concentrate for a few moments to use the Hearthstone, and moving or taking damage will break your concentration! The Hearthstone does have a 30 minute cooldown between uses, so use it only when necessary. To link the Hearthstone, just sneak-right click on a bed while holding it.
This mod requires Minecraft Forge.
DOWNLOADS:
All downloads can be found at http://minecraft.curseforge.com/projects/hearthstone-mod
SCREENSHOTS: