Railcraft

Railcraft

34M Downloads

Command issues with Vanilla Command Blocks

Scarlet-Phonavis opened this issue ยท 11 comments

commented

Was attempting to use pre-generator in FTB Beyond, Found this - https://www.youtube.com/watch?v=7WSMgOVsnCU, According to comments it has issues with railcraft. Someone thinks it's do to tweaks with the cart item, said person is in the comments section of the video

I was curious if there was a way to have a work-around for this, as I imagine this same issue may be had with other command blocks considering command blocks are commonly used.

commented

I intercept cart item usage and have it spawn my version of the minecart. I don't really understand the script enough to say how that affects it, it may be as simple as replacing the entity id with my cart version.

commented

@CovertJaguar I will try to write another replacement like that of forge item entity replacement. This should fix the bugs.

commented

So the issue is on command block minecarts. The video comments say so.

commented

@UnstableCodeScarlet Please provide a crash report.

commented

The biggest issue is that why do you still use command blocks when you can use mods at a lower cost of memory and with a higher efficiency?

commented

Anyways I will try to reproduce it in the dev env.

commented

@CovertJaguar After testing, I found that the issue is that minecarts explode when there are too many. The command generates a lot of command block minecarts riding one command block minecart.

commented

We will make the explosion code ignore command minecarts. Since players can't normally acquire them there is no danger of them using them to crash to the server.

commented

Turned out that this explosion is to prevent glitches that too many minecarts are stacking each other, so this behavior will be kept and such commands will not work for now. You should never use command blocks in a modpack (such a stupid idea!) but use mods instead. That's why it explodes and drop a lot of carts.