[Discussion] Command block minecarts
liach opened this issue ยท 11 comments
Vanilla now have 3 types of command blocks, but only one type of command block minecart. Railcraft can add the other two, repeating and chain command block carts.
Repeating one will execute the command every tick it is on the activator track kit.
Chain one can be done through cart linking(adjacent command block carts' execution) or through some sort of detector.
The existing impulse one may be replaced for supporting the chain command block.
The Repeating Command Block is the current behavior of the Command Block Cart. Changing the Vanilla Command Block cart's behavior is a breaking change, and should not be done.
Again, that's a breaking change for existing maps. I personally see no reason to do this.
Except Railcraft replaces those carts with an equivalent version, and they don't really do much. Replacing an entity intended for adventure mode and servers that has special behavior to support that usage with an entity with different behaviors strikes me as very bad.
Its implementation will be like https://github.com/CovertJaguar/Railcraft/blob/mc-1.10.2/src/main/java/mods/railcraft/common/carts/EntityCartCommand.java, extending the vanilla class directly. Pinging @CovertJaguar for opinions.
@CovertJaguar How do you think of this after all? I think I can all three types of carts, just change the chain from block forms to cart linking forms.