Reproduce: Put a command that executes something from every entity of a certain type into an active repeating command block and use a fishing rod.
Result: Game crashes.
Examples for commands that crash the game when executed in the same game tick as the usage of a fishing rod:
scoreboard players set @e[type=Arrow] test 1
kill @e[type=Cow]
execute @e[type=Item] ~ ~ ~ say test
testfor @e[type=Player]
Examples for commands that don't crash the game:
say @e[type=Sheep]
kill @e[score_test_min=1]
---- Minecraft Crash Report ----
// I blame Dinnerbone.
Time: 25.05.16 17:09
Description: Executing command block
java.lang.NullPointerException: Executing command block
at rx.a(SourceFile:324)
at p$1.a(SourceFile:188)
at p$1.apply(SourceFile:185)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
at aic.a(SourceFile:2283)
at p.a(SourceFile:490)
at p.b(SourceFile:143)
at k.a(SourceFile:51)
at ahr.a(SourceFile:114)
at akw.b(SourceFile:96)
at lr.a(SourceFile:645)
at lr.d(SourceFile:216)
at net.minecraft.server.MinecraftServer.D(SourceFile:618)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)
at bzk.C(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:458)
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 rx.a(SourceFile:324)
at p$1.a(SourceFile:188)
at p$1.apply(SourceFile:185)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:359)
at aic.a(SourceFile:2283)
at p.a(SourceFile:490)
at p.b(SourceFile:143)
at k.a(SourceFile:51)
-- Command to be executed --
Details:
Command: execute @e[type=Arrow] ~ ~ ~ summon FallingSand ~ ~1 ~ {Block:torch}
Name: @
Stacktrace:
at ahr.a(SourceFile:114)
at akw.b(SourceFile:96)
-- Block being ticked --
Details:
Block: minecraft:repeating_command_block[conditional=false,facing=west]
Block location: World: (33,4,27), Chunk: (at 1,0,11 in 2,1; contains blocks 32,0,16 to 47,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at lr.a(SourceFile:645)
at lr.d(SourceFile:216)
-- Affected level --
Details:
Level name: world
All players: 1 total; [lt['FaRoGaming'/32, l='world', x=5388998,20, y=56,00, z=438927,31]]
Chunk stats: ServerChunkCache: 486 Drop: 0
Level seed: 6478450281557879100
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options: 2;7,3x1,52x24;2;
Level spawn location: World: (0,129,0), Chunk: (at 0,8,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 17137228 game time, 13000 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.D(SourceFile:618)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)
at bzk.C(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:458)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 16w21a
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 153559192 bytes (146 MB) / 324702208 bytes (309 MB) up to 7502823424 bytes (7155 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx7G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [lt['FaRoGaming'/32, l='world', x=5388998,20, y=56,00, z=438927,31]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
Linked issues
duplicates 1
Comments 13
Are you sure this is the correct crash log? This one does not have anything to do with fishing rods, but rather a broken command block.
I forgot that there are command blocks running in that world. They should usually only do something when there is an arrow entity.
Without that command blocks running, it doesn't crash. I'll try to figure out which command creates the crash.
Ok, the command was:
scoreboard players set @e[type=Arrow] Pfeil 0 {inGround:1b}
Apparently there's something with the selector, it also crashes when the repeating command block contains:
execute @e[type=Arrow] ~ ~ ~ say test
But NOT when it says:
say @e[type=Arrow]
Executing it from the chat while the fishing rod is active doesn't crash the game, apparently it only crashes if command and rod activation happen in the same game tick.
No, it's not a duplicate. I definitely didn't change the NBT data of the fishing hook. I didn't change NBT data at all, I did nothing to the fishing hook and if the fishing hook is already out, the commands work properly.
I heard someone had this whenever there was an NoGravity tag being run on the rod. Maybe search for a command block that gives entities NoGravity? Since I don't have this problem at all.