I recently discovered how to use the /scoreboard command to have Shulkers attack other hostile mobs. I was testing them out as a defense mechanism for a Nether base. Having previously seen them attack Zombies, Zombie Pigmen, Creepers, Endermen, Skeletons, Wither Skeletons, and Guardians, (and having seen Skeletons return fire and hit the Shulker without issue), I spawned a blaze nearby the Shulkers.
I assumed the Shulkers would attack the Blaze, and the Blaze would retaliate.
The Shulkers did indeed attack the Blaze, and the Blaze shot back, but when the fireball hit the Shulker, Minecraft crashed. I tried to re-load the world, and it crashed again. I tried in another world, and the same thing happened.
Steps to Reproduce:
1. Spawn a Shulker
2. Use /scoreboard to create a team.
3. Use /scoreboard teams join @e[type=Shulker] to put the Shulker on the team, causing it to attack hostile mobs.
4. Spawn a Blaze.
5. The Shulker will attack the Blaze, who will then shoot back. As soon as a fireball hits the Shulker, the game will crash.
I can post the crash report if necessary.
Linked issues
Attachments
Comments 3
Possibly because Shulkers "Bounce" of projectiles (like arrows (Fireballs are subclass of projectile entities)). Try throwing projectiles like snowballs and it seems that nothing happens. But fireballs explode on impact, so it may cause this problem.
Minecraft Crash Report ----
// I feel sad now 😞
Time: 12/6/15 10:32 PM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
at aaa.a(SourceFile:44)
at zu.m(SourceFile:117)
at ahn.a(SourceFile:1467)
at lp.a(SourceFile:719)
at ahn.g(SourceFile:1445)
at ahn.k(SourceFile:1335)
at lp.k(SourceFile:552)
at net.minecraft.server.MinecraftServer.D(SourceFile:625)
at net.minecraft.server.MinecraftServer.C(SourceFile:553)
at bxz.C(SourceFile:154)
at net.minecraft.server.MinecraftServer.run(SourceFile:457)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
– Head –
Stacktrace:
at aaa.a(SourceFile:44)
at zu.m(SourceFile:117)
at ahn.a(SourceFile:1467)
at lp.a(SourceFile:719)
at ahn.g(SourceFile:1445)
– Entity being ticked –
Details:
Entity Type: SmallFireball (aaa)
Entity ID: 6600
Entity Name: Small Fireball
Entity's Exact location: 114.09, 71.92, 220.47
Entity's Block location: World: (114,71,220), Chunk: (at 2,4,12 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.61, -0.95, -0.54
Entity's Passengers: []
Entity's Vehicle: ~ERROR~ NullPointerException: null
Stacktrace:
at ahn.k(SourceFile:1335)
at lp.k(SourceFile:552)
– Affected level –
Details:
Level name: Test for Glitch
All players: 1 total; [lr['Imrahil3'/159, l='Test for Glitch', x=108.17, y=78.17, z=207.28]]
Chunk stats: ServerChunkCache: 407 Drop: 0
Level seed: -6685467614806805893
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (212,64,244), Chunk: (at 4,4,4 in 13,15; contains blocks 208,0,240 to 223,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 3114 game time, 3114 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 48755 (now: false), thunder time: 128598 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.D(SourceFile:625)
at net.minecraft.server.MinecraftServer.C(SourceFile:553)
at bxz.C(SourceFile:154)
at net.minecraft.server.MinecraftServer.run(SourceFile:457)
at java.lang.Thread.run(Unknown Source)
– System Details –
Details:
Minecraft Version: 15w49b
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_60, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 171890576 bytes (163 MB) / 315547648 bytes (300 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [lr['Imrahil3'/159, l='Test for Glitch', x=108.17, y=78.17, z=207.28]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
Yes, please attach the crash report.