Jump to content

clowcadia

Members
  • Posts

    458
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

clowcadia's Achievements

Diamond Finder

Diamond Finder (5/8)

0

Reputation

  1. and u must be helping me because i am asking question about the core modding techniques that are simplest to answear
  2. Give me a brake man, half the time yes half the time i am asking valid questions. yes i admit sometimes i need to take my time and try things, for this yes its like the validity of my question the glass apears half the time but the air also becomes solid where glass should be, then i need to reload the world so the rest of the glass appears
  3. 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
  4. question, so minecraft will not allow blocks to be changed or spawned while the game is running? i am trying to do something like this by placing glass in a position but it will not do so until the world is reloaded
  5. or what about having a draw frame over selected blocks from the positions in a list that are processed through for loop
  6. so i cant throw an event while i am going through a for loop of block positions?
  7. so it cant just do a wireframe around specific blocks that i have chosen? without any of my interactions
  8. Ok, but what is this , and how can i use it DrawBlockHighlightEvent
  9. https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/living/ai/AIGoto.java#L73-L81
  10. also did this if(treeRoots.get(0)!=null){ trArea = new TreeArea(treeRoots); new LumberJack(world, getRootPos(), trArea.zNBorder, trArea.xNBorder, trArea.zPBorder, trArea.xPBorder); } still has crash https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/living/ai/AIGoto.java#L77-L81
  11. i tried index 0 and it does not have that either
  12. Is there a way to simply add a texture to a block in game to highlight it, when trying to effect it in code. I mean like lets say i want convert all grass blocks to air, but before i want to know the area of effect in game to see if it is the right grass blocks before i make changes
  13. Damn it, now i got a crash from these 2 lines 82 20 [15:10:18] [Client thread/INFO] [testmod]: ItemTarget: onItemUse [15:10:18] [Server thread/INFO] [testmod]: ItemTarget: onItemUse [15:10:18] [Server thread/INFO] [testmod]: ItemTarget: onItemUse: 0 [15:10:20] [Server thread/INFO] [testmod]: Test: initEntityAI [15:10:20] [Server thread/INFO] [testmod]: AIGoto: Constructor [15:10:20] [Server thread/INFO] [testmod]: Test: writeEntityFromNBT [15:10:20] [Server thread/INFO] [testmod]: Test: readEntityFromNBT [15:10:21] [Client thread/INFO] [testmod]: Test: processInteract [15:10:21] [Server thread/INFO] [testmod]: Test: processInteract [15:10:21] [Server thread/INFO] [testmod]: GuiHandler: Constructor [15:10:21] [Server thread/INFO] [testmod]: ContainerBasic: Constructor [15:10:21] [Server thread/INFO] [testmod]: Test: getCapability [15:10:21] [Client thread/INFO] [testmod]: GuiHandler: getClientGuiElement [15:10:21] [Client thread/INFO] [testmod]: ContainerBasic: Constructor [15:10:21] [Client thread/INFO] [testmod]: Test: getCapability [15:10:21] [Client thread/INFO] [testmod]: GuiBasic: Constructor [15:10:23] [Server thread/INFO] [testmod]: AIGoto: startExecuting [15:10:23] [Server thread/INFO] [testmod]: SL2 [15:10:23] [Server thread/INFO] [testmod]: EL7 [15:10:23] [Server thread/INFO] [testmod]: NL1 [15:10:23] [Server thread/INFO] [testmod]: WL3 [15:10:24] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:800) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:698) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:547) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121] Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:653) ~[?:1.8.0_121] at java.util.ArrayList.get(ArrayList.java:429) ~[?:1.8.0_121] at com.clowcadia.test.utils.TreeArea.<init>(TreeArea.java:20) ~[TreeArea.class:?] at com.clowcadia.test.entities.living.ai.AIGoto.updateTask(AIGoto.java:82) ~[AIGoto.class:?] at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:112) ~[EntityAITasks.class:?] at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:845) ~[EntityLiving.class:?] at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2466) ~[EntityLivingBase.class:?] at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:639) ~[EntityLiving.class:?] at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:194) ~[EntityAgeable.class:?] at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:46) ~[EntityAnimal.class:?] at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2292) ~[EntityLivingBase.class:?] at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:343) ~[EntityLiving.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2108) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:875) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2075) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:1888) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:647) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:794) ~[MinecraftServer.class:?] ... 4 more [15:10:24] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Andre\OneDrive\Documents\Development\MinecraftForge\1.11\NPCTesting\run\.\crash-reports\crash-2017-03-28_15.10.24-server.txt [15:10:24] [Server thread/INFO]: Stopping server [15:10:24] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ---- // Oops. Time: 3/28/17 3:10 PM Description: Ticking entity java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.clowcadia.test.utils.TreeArea.<init>(TreeArea.java:20) at com.clowcadia.test.entities.living.ai.AIGoto.updateTask(AIGoto.java:82) at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:112) at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:845) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2466) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:639) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:194) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:46) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2292) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:343) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2108) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:875) at net.minecraft.world.World.updateEntity(World.java:2075) at net.minecraft.world.World.updateEntities(World.java:1888) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:647) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:794) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:698) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:547) 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: Client thread Stacktrace: at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.clowcadia.test.utils.TreeArea.<init>(TreeArea.java:20) at com.clowcadia.test.entities.living.ai.AIGoto.updateTask(AIGoto.java:82) at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:112) at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:845) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2466) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:639) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:194) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:46) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2292) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:343) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2108) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:875) at net.minecraft.world.World.updateEntity(World.java:2075) -- Entity being ticked -- Details: Entity Type: testmod:test (com.clowcadia.test.entities.living.Test) Entity ID: 7456 Entity Name: entity.Test.name Entity's Exact location: 415.15, 68.00, 356.36 Entity's Block location: World: (415,68,356), Chunk: (at 15,4,4 in 25,22; contains blocks 400,0,352 to 415,255,367), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: 0.01, -0.08, 0.01 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.world.World.updateEntities(World.java:1888) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:647) -- Affected level -- Details: Level name: New World All players: 1 total; [EntityPlayerMP['Lynthos'/1688, l='New World', x=415.04, y=68.00, z=351.89]] Chunk stats: ServerChunkCache: 771 Drop: 0 Level seed: 1643567088598055580 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (224,64,248), Chunk: (at 0,4,8 in 14,15; contains blocks 224,0,240 to 239,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 1205 game time, 1205 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 36149 (now: false), thunder time: 92532 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:794) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:698) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:547) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_121, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 237966296 bytes (226 MB) / 931135488 bytes (888 MB) up to 1871708160 bytes (1785 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP 9.38 Powered by Forge 13.20.0.2228 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA minecraft{1.11.2} [Minecraft] (minecraft.jar) UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.0.2228.jar) UCHIJAAAA forge{13.20.0.2228} [Minecraft Forge] (forgeSrc-1.11.2-13.20.0.2228.jar) UCHIJAAAA testmod{1.0.0} [Test Mod] (NPCTesting_main) Loaded coremods (and transformers): GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Player Count: 1 / 8; [EntityPlayerMP['Lynthos'/1688, l='New World', x=415.04, y=68.00, z=351.89]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [15:10:24] [Server thread/INFO]: Saving players [15:10:24] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2017-03-28_15.10.24-server.txt [15:10:24] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [15:10:24] [Server thread/INFO]: Saving worlds [15:10:24] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [15:10:24] [Server thread/INFO] [testmod]: Test: writeEntityFromNBT [15:10:24] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [15:10:24] [Server thread/INFO]: Saving chunks for level 'New World'/The End [15:10:24] [Server thread/INFO] [FML]: Unloading dimension 0 [15:10:24] [Server thread/INFO] [FML]: Unloading dimension -1 [15:10:24] [Server thread/INFO] [FML]: Unloading dimension 1 [15:10:24] [Server thread/INFO] [FML]: Applying holder lookups [15:10:24] [Server thread/INFO] [FML]: Holder lookups applied [15:10:24] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [15:10:24] [Client thread/INFO] [FML]: Server terminated. [15:10:24] [Client Shutdown Thread/INFO]: Stopping server [15:10:24] [Client Shutdown Thread/INFO]: Saving players AL lib: (EE) alc_cleanup: 1 device not closed Process finished with exit code -1
  14. thank you, i just ran into it, and discovered through console prompts. would u say a double plant is a 2 block plant/flower?
×
×
  • Create New...

Important Information

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