Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Reopened again][1.12.2] How to change blockstate based on helditem


_Cruelar_
 Share

Recommended Posts

Problem: with

On 8/5/2018 at 8:39 PM, _Cruelar_ said:

new AxisAlignedBB(0,0,0,0,0,0)

You can stand in it at its edge.

NULL_AABB results in random crashes

log is in post above from 1st August

What should I do?

My Projects:

Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming)

 

Important:

As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts

Link to comment
Share on other sites

9 hours ago, _Cruelar_ said:

Problem: with

You can stand in it at its edge.

NULL_AABB results in random crashes

log is in post above from 1st August

What should I do?

Try making a new block and seeing if null aabb still crashes

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

I haven't changed anything yet but I got a new Error.

Spoiler

[22:12:19] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
// Why did you do that?

Time: 8/13/18 10:12 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
    at net.minecraft.pathfinding.WalkNodeProcessor.getSafePoint(WalkNodeProcessor.java:203)
    at net.minecraft.pathfinding.WalkNodeProcessor.findPathOptions(WalkNodeProcessor.java:121)
    at net.minecraft.pathfinding.PathFinder.findPath(PathFinder.java:84)
    at net.minecraft.pathfinding.PathFinder.findPath(PathFinder.java:44)
    at net.minecraft.pathfinding.PathFinder.findPath(PathFinder.java:34)
    at net.minecraft.pathfinding.PathNavigate.getPathToPos(PathNavigate.java:129)
    at net.minecraft.pathfinding.PathNavigateGround.getPathToPos(PathNavigateGround.java:58)
    at net.minecraft.pathfinding.PathNavigate.getPathToXYZ(PathNavigate.java:104)
    at net.minecraft.pathfinding.PathNavigate.tryMoveToXYZ(PathNavigate.java:173)
    at net.minecraft.entity.ai.EntityAIWander.startExecuting(EntityAIWander.java:83)
    at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:84)
    at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:843)
    at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2580)
    at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:647)
    at net.minecraft.entity.monster.EntityMob.onLivingUpdate(EntityMob.java:49)
    at net.minecraft.entity.monster.AbstractSkeleton.onLivingUpdate(AbstractSkeleton.java:157)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2396)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:346)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:57)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2168)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871)
    at net.minecraft.world.World.updateEntity(World.java:2127)
    at net.minecraft.world.World.updateEntities(World.java:1928)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:842)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592)
    at java.lang.Thread.run(Thread.java:748)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraft.pathfinding.WalkNodeProcessor.getSafePoint(WalkNodeProcessor.java:203)
    at net.minecraft.pathfinding.WalkNodeProcessor.findPathOptions(WalkNodeProcessor.java:121)
    at net.minecraft.pathfinding.PathFinder.findPath(PathFinder.java:84)
    at net.minecraft.pathfinding.PathFinder.findPath(PathFinder.java:44)
    at net.minecraft.pathfinding.PathFinder.findPath(PathFinder.java:34)
    at net.minecraft.pathfinding.PathNavigate.getPathToPos(PathNavigate.java:129)
    at net.minecraft.pathfinding.PathNavigateGround.getPathToPos(PathNavigateGround.java:58)
    at net.minecraft.pathfinding.PathNavigate.getPathToXYZ(PathNavigate.java:104)
    at net.minecraft.pathfinding.PathNavigate.tryMoveToXYZ(PathNavigate.java:173)
    at net.minecraft.entity.ai.EntityAIWander.startExecuting(EntityAIWander.java:83)
    at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(EntityAITasks.java:84)
    at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:843)
    at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2580)
    at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:647)
    at net.minecraft.entity.monster.EntityMob.onLivingUpdate(EntityMob.java:49)
    at net.minecraft.entity.monster.AbstractSkeleton.onLivingUpdate(AbstractSkeleton.java:157)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2396)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:346)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:57)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2168)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:871)
    at net.minecraft.world.World.updateEntity(World.java:2127)

-- Entity being ticked --
Details:
    Entity Type: minecraft:skeleton (net.minecraft.entity.monster.EntitySkeleton)
    Entity ID: 662
    Entity Name: Skeleton
    Entity's Exact location: 250.78, 70.00, 225.71
    Entity's Block location: World: (250,70,225), Chunk: (at 10,4,1 in 15,14; contains blocks 240,0,224 to 255,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.updateEntities(World.java:1928)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:643)

-- Affected level --
Details:
    Level name: Triforce Test
    All players: 1 total; [EntityPlayerMP['Player870'/272, l='Triforce Test', x=230.00, y=95.00, z=258.49]]
    Chunk stats: ServerChunkCache: 625 Drop: 0
    Level seed: -7073363584905754142
    Level generator: ID 00 - default, ver 1. Features enabled: true
    Level generator options:
    Level spawn location: World: (172,64,212), Chunk: (at 12,4,4 in 10,13; contains blocks 160,0,208 to 175,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 1864305 game time, 201 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.updateTimeLightAndEntities(MinecraftServer.java:842)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592)
    at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_152, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 447144792 bytes (426 MB) / 952107008 bytes (908 MB) up to 1883242496 bytes (1796 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.42 Powered by Forge 14.23.4.2705 9 mods loaded, 9 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State     | ID                   | Version      | Source                           | Signature |
    |:--------- |:-------------------- |:------------ |:-------------------------------- |:--------- |
    | UCHIJAAAA | minecraft            | 1.12.2       | minecraft.jar                    | None      |
    | UCHIJAAAA | mcp                  | 9.42         | minecraft.jar                    | None      |
    | UCHIJAAAA | FML                  | 8.0.99.99    | forgeSrc-1.12.2-14.23.4.2705.jar | None      |
    | UCHIJAAAA | forge                | 14.23.4.2705 | forgeSrc-1.12.2-14.23.4.2705.jar | None      |
    | UCHIJAAAA | cruelars_triforcemod | 0.4.2        | Cruelars_Triforcemod_main        | None      |
    | UCHIJAAAA | journeymap           | 1.12.2-5.5.2 | journeymap-1.12.2-5.5.2.jar      | None      |
    | UCHIJAAAA | baubles              | 1.5.2        | Baubles-Mod-1.12.2.jar           | None      |
    | UCHIJAAAA | ichunutil            | 7.1.4        | iChunUtil-1.12.2-7.1.4.jar       | None      |
    | UCHIJAAAA | tabula               | 7.0.0        | Tabula-1.12.2-7.0.0-deobf.jar    | None      |

    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['Player870'/272, l='Triforce Test', x=230.00, y=95.00, z=258.49]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'
[22:12:19] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2018-08-13_22.12.18-server.txt

 

Edited by _Cruelar_

My Projects:

Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming)

 

Important:

As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts

Link to comment
Share on other sites

After teleporting to the Blockpos where the Error occurs I found out that the False Blocks are the Problem.

On 8/5/2018 at 4:54 PM, Draco18s said:

I realize that Minecraft uses it and it doesn't crash, but I can't figure out why your block is a problem

Yes BlockAir for Example. the Block I copied the Passable behavior from

 

My Projects:

Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming)

 

Important:

As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.