![]() ![]() I will add to this issue any unexpected results this fix may cause, too. If that is so, please review the pull request and merge it with the code. ![]() I cannot think of any feature that would require the pushDirection to be a BlockFace like it is right now. ![]() With this fix, the problem of the infinite back-forward loop in the corner is also fixed. This change also eliminates the need to update the pushDirection every time the minecart turns. However, it doesn't make sense for a minecart to have a pushDirection property in the type of a BlockFace, when the only directions a powered minecart can push relative to the minecart's facing direction are forward, backward, and none.Īs a result, I am submitting a pull request where I changed the pushDirection property to an integer that goes back and forth between -1, 0 and 1, representing reverse, no force, and forward respectively. This is usually during turns where the minecart would eventually be facing the north/south direction. The second problem is that the pushDirection property of a furnace minecart in the MinecartMemberFurnace class is incorrectly set at some turns. This fix is outside my reach and I could not find the lines of code that were related to it. This, however, does not affect its movement, and the direction property of the MinecartMember instance does not change, meaning it's a visual bug only, probably caused by something within the BKCommonLib library. The first problem is that the block in a cart (furnace, chest, etc) randomly changes direction during travel, especially on u-turns and 45-degree rails. Reply to this email directly or view it on GitHubĪlright, I have isolated the issue into two different parts of code. Source code and as such me fixing it would require a lot of extra time to I tried unsuccessfully to solve the issue, I'm really unfamiliar with the Here is a YouTube video containing evidence of the second issue, it's very Going forward, backward, forward, backward oscillating within the Repeatedly switch directions of force This causes the entire train to start The direction calculation method fails, causing the furnace cart to Simultaneously facing two opposite directions at the same time As a result, Letter U) is shorter than the train (let's say 3 blocks), the train is No difference) makes a U-turn where the short section (the bottom of the Powered using a furnace-minecart (either from the front, back, or middle, The most important result of this bug (or maybe an isolated, more severeīug), however, is as follows: when a long train (let's say 10 carts) Visual glitch, especially when it comes to storage minecarts The handleįaces forward, then backward, then forward again, repeatedly every second This does not affect the motion of the entire train, but is a very ugly Matter the speed) sometimes they start flipping back and forward randomly ![]() The problem is as follows: when the carts of a train are travelling (no The plugin very much and appreciate your work, I have a small problem with 2015 17:42 schreef Cem Gökmen am using the TrainCarts plugin on a Spigot 188 server, and while I enjoy I tried unsuccessfully to solve the issue, I'm really unfamiliar with the source code and as such me fixing it would require a lot of extra time to identify the source of the problem. Here is a YouTube video containing evidence of the second issue, it's very easy to reproduce: This causes the entire train to start going forward, backward, forward, backward oscillating within the U-corner, never getting out. As a result, the direction calculation method fails, causing the furnace cart to repeatedly switch directions of force. The most important result of this bug (or maybe an isolated, more severe bug), however, is as follows: when a long train (let's say 10 carts) powered using a furnace-minecart (either from the front, back, or middle, no difference) makes a U-turn where the short section (the bottom of the letter U) is shorter than the train (let's say 3 blocks), the train is simultaneously facing two opposite directions at the same time. The handle faces forward, then backward, then forward again, repeatedly every second. This does not affect the motion of the entire train, but is a very ugly visual glitch, especially when it comes to storage minecarts. The problem is as follows: when the carts of a train are travelling (no matter the speed) sometimes they start flipping back and forward randomly. I am using the TrainCarts plugin on a Spigot 1.8.8 server, and while I enjoy the plugin very much and appreciate your work, I have a small problem with it that I would like to solve. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |