Railcraft

Railcraft

34M Downloads

Incomplete vanilla cart replacement

octarine-noise opened this issue ยท 17 comments

commented

Vanilla minecarts are only replaced with Railcraft ones on chunkload, but not when first placed down in the world. This causes a problem with the tunnel bore and connected chest carts, since the vanilla carts do not transfer items.

Railcraft 9.0.0.0 + Forge 10.12.1.1098

commented

In #206 you wrote: "I still need to devise a solution for that."

Would simply canceling the EntityJoinWorldEvent serverside and spawning in the replacement work?

commented

I could of sworn that wouldn't work for some reason (other than the fact that it doesn't have the information about who spawned it). Hmm...

commented

im having this same issue on Railcraft Version: 9.3.1.0, is this still a problem on this version?

commented

Yes, I've not had time to fix it.

commented

If this is going to take you a while to fix, can you add a quick thing so that Cart/Train Dispensers will launch your carts instead of vanilla ones? Then we'd have a workaround for some automated things.

commented

Ty for the response CJ, ill keep my eyes open for an update. railcraft rules!

commented

Can you make sure when did the issue start to occur? I found that CovertJaguar added a file "CartTransferBase" since 8.2.0.0. Is it the reason of the bug?
After test in 8.2.0.0 cart has no problem.

commented

@liach sigh, no the reason is that in 1.7 I could no longer replace the vanilla minecart items with my own versions that spawn my implementations of the vanilla cart entities.

commented

@CovertJaguar but can't you just remove the minecrart crafting recepie and replace it with one that gives your version of the minecart?

commented

@AEnterprise that may cause issues with dungeon loot still spawning vanilla minecart items.

commented

I've been told to look at the @ObjectHandler annotation as a means to replace vanilla items.

commented

I think CoFHLib has a thingy to override vanilla stuff. Maybe take a look at that for help.
https://github.com/CoFH/CoFHLib/blob/master/src/main/java/cofh/lib/util/RegistryUtils.java

commented

still waiting, but now we have cargo cart, but undercutter still can't pull items from it

commented

that's irrelevant. open a new issue.

commented

@CovertJaguar i still have this bug in railcraft version 9.5, is there anyway to solve it?

The Chestcart is linked to the tunnel bore, but the tunnel bore jsut throws the mined stuff out instead add it into the chest.

I also have the CoFHCORE running and some other mods.

commented

@kremsy does relogging fix it? Does it work with just Railcraft? Does replacing the Cart fix it?

commented

Reloggin fixed it, thank you!!