March 28, 20178 yr Author https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/living/ai/AIGoto.java#L73-L81
March 28, 20178 yr If you expect the list to always contain elements, step through the code where you populate the list using your debugger, to find out why it isn't being filled like you expect. If you just want to prevent a crash for cases where the list has no elements, use ArrayList#isEmpty() to check.
March 29, 20178 yr Author ok back to original probelm i am testing my terrain by putting glass blocks in the sky\(pos.up(20) that should simulate the recorder block positions of a 15 by 15 area https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/utils/TerrainScan.java any idea where i am going wrong with the spaces or maybe my whole code is poop
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.