mojira.dev
MC-26863

Minecart tracks do not have proper facing, either N/S nor E/W

Bug report, 152, north/south powered rail minecart tracks.

When placing tracks north/south: Normal tracks line up with each other pretty much as-expected. Trying to place tracks adjacent to each other – for example, 6 lines of tracks in 6 spaces – "works" if you place every other one first. Until you get to the ends. The ends will insist on turning to connect. This is all proper behavior.

The bug: Attempting to place powered rails, which won't turn, works on the first "every other" spacing. As soon as you place the missing powered rails, even though they are connected north/south to other tracks, they will turn to all face east/west to touch each other.

When placing tracks east/west: Normal tracks sometimes line up with each other, and sometimes run north/south. Placing powered rails at the end will work, if the rails face the right way. That is not guaranteed. Determined to be an optifine issue, not a minecraft issue.

Video shows all these issues: http://youtu.be/dnBLSwBGyqk

Note: Neither direction lines up as-expected. Both directions show different errors. Lining tracks north/south results in powered rails ignoring their existing connections. Lining tracks east/west results in both normal and powered tracks arbitrarily going north/south for no apparent reason.

Linked issues

Comments 3

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here.

I could not force a crash log by f3+c for 10 seconds. Not even after 20 seconds.

But I did play around with it some more, to make sure it would repeat.

When the

Har, spoke too soon. As soon as I went back to the game, and got out of the F3 screen, then it crashed 🙂.

When the east/west tracks appear to face the wrong way, it is rendering – just changing the view distance to force the game to redraw makes it look right.

I cannot find the "attach file" button.

However, it is relatively short (more stuff – important – below the crash):

---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 7/22/13 4:47 AM
Description: Manually triggered debug crash

java.lang.Throwable
	at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1612)
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:835)
	at net.minecraft.client.Minecraft.run(Minecraft.java:760)
	at java.lang.Thread.run(Thread.java:680)


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

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [EntityClientPlayerMP['Keybounce'/99, l='MpServer', x=290.30, y=20.70, z=-566.59]]
	Chunk stats: MultiplayerChunkCache: 441
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: World: (298,4,-570), Chunk: (at 10,0,6 in 18,-36; contains blocks 288,0,-576 to 303,255,-561), Region: (0,-2; contains chunks 0,-64 to 31,-33, blocks 0,0,-1024 to 511,255,-513)
	Level time: 48063 game time, 11063 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 22 total; [EntityPig['Pig'/17, l='MpServer', x=229.19, y=27.00, z=-573.50], EntityPig['Pig'/16, l='MpServer', x=231.16, y=27.00, z=-577.84], EntityPig['Pig'/18, l='MpServer', x=236.50, y=27.00, z=-575.50], EntityPig['Pig'/21, l='MpServer', x=241.06, y=27.00, z=-569.03], EntitySheep['Sheep'/23, l='MpServer', x=278.91, y=27.00, z=-602.84], EntitySheep['Sheep'/35, l='MpServer', x=267.03, y=27.00, z=-624.09], EntitySheep['Sheep'/38, l='MpServer', x=274.31, y=27.00, z=-605.81], EntitySheep['Sheep'/37, l='MpServer', x=273.13, y=27.00, z=-599.91], EntityMinecartChest['entity.MinecartChest.name'/51, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/50, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/49, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/55, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/54, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/53, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/52, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/59, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/58, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/57, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/56, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityMinecartChest['entity.MinecartChest.name'/60, l='MpServer', x=298.50, y=18.52, z=-561.50], EntityBat['Bat'/98134, l='MpServer', x=257.80, y=16.87, z=-535.42], EntityClientPlayerMP['Keybounce'/99, l='MpServer', x=290.30, y=20.70, z=-566.59]]
	Retry entities: 0 total; []
Stacktrace:
	at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:441)
	at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2414)
	at net.minecraft.client.Minecraft.run(Minecraft.java:776)
	at java.lang.Thread.run(Thread.java:680)

-- System Details --
Details:
	Minecraft Version: 1.5.2
	Operating System: Mac OS X (i386) version 10.7.5
	Java Version: 1.6.0_51, Apple Inc.
	Java VM Version: Java HotSpot(TM) Server VM (mixed mode), Apple Inc.
	Memory: 165863056 bytes (158 MB) / 337137664 bytes (321 MB) up to 901775360 bytes (860 MB)
	JVM Flags: 23 total; -Xserver -XX:NewSize=120m -XX:MaxNewSize=120m -XX:+UseAdaptiveGCBoundary -XX:SurvivorRatio=1 -XX:TargetSurvivorRatio=90 -XX:CompileThreshold=300 -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:MaxPermSize=150m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:MaxHeapFreeRatio=25 -XX:MinHeapFreeRatio=22 -XX:+DisableExplicitGC -XX:MaxTenuringThreshold=4 -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -XX:+PrintCommandLineFlags -XX:+PrintGCDetails -Xloggc:GC.log -Xms256m -Xmx900m
	AABB Pool Size: 232 (12992 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used
	Suspicious classes: FML and Forge are installed
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP v7.51 FML v5.2.23.738 Minecraft Forge 7.8.1.738 Optifine OptiFine_1.5.2_HD_U_D5 15 mods loaded, 15 mods active
	mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	FML{5.2.23.738} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	Forge{7.8.1.738} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	CodeChickenCore{0.8.7.3} [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	NotEnoughItems{1.5.2.28} [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	mod_WMLL{Stable 56} [mod_WMLL] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights{1.1.9} [Dynamic Lights] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_onFire{1.0.2} [Dynamic Lights on burning] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_creepers{1.0.2} [Dynamic Lights on Creepers] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_dropItems{1.0.2} [Dynamic Lights on ItemEntities] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_mobEquipment{1.0.0} [Dynamic Lights on Mob Equipment] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_flameArrows{1.0.0} [Dynamic Lights on Flame enchanted Arrows] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_otherPlayers{1.0.2} [Dynamic Lights Other Player Light] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	DynamicLights_thePlayer{1.0.4} [Dynamic Lights Player Light] (DynamicLights_1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	lloverlay{v0.11} [Light Level Overlay] (lloverlay_v0.11-mc1_5_2-forge.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
	LWJGL: 2.4.2
	OpenGL: Intel HD Graphics 3000 OpenGL Engine GL version 2.1 APPLE-7.32.12, Intel Inc.
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	Type: Client (map_client.txt)
	Texture Pack: Default
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 139 (7784 bytes; 0 MB) allocated, 19 (1064 bytes; 0 MB) used

If it is just rendering – note that I am actually playing single player this time, I normally play on servers – then the immediate "to check" is optifine. I'll disable the forge stuff as well – it's primarily for NEI, but also for dynamic lights (handheld torches), and lloverlay (displays the light levels on the ground – turned off in that video).

And, retesting with optifine removed – the east/west tracks are now showing up properly. And, they clearly place down – and draw – north/south, and then turn and redraw east/west.

But the north/south powered rails that decide to change facing, break their existing connections, and go east/west – that is still happening.

The force crash occurs after you release F3+C, not right after 10 seconds.

Keybounce

(Unassigned)

Unconfirmed

minecart, orientation, track

Minecraft 1.5.2

Retrieved