Stargate Rewritten

Stargate Rewritten

241 Downloads

Weird TNT-Minecart Behaviour [TMS 222 195]

Pheotis opened this issue · 1 comments

commented

For some reason, on the most recent version of spigot, tnt minecarts teleporting through an A gate get sent to Narnia.

This is particularly weird as:

  • I can't figure out where they are going.
    • They don't end up in the nether and their entity id seems to become "unloaded".
  • All other minecart types work fine.

Tested on the most recent version of spigot.
image

This only repros at the portal at 44.5 -60 18.5 on vault 8.
The tnt minecart's supposed teleportation shows up on FINE debug, but is completely blank on FINEST

[20:05:03] [Async Chat Thread - #0/INFO]: <Pheotis> normal minecart
[20:05:06] [Server thread/INFO]: [Stargate] Trying to teleport entity, initial velocity: 0.0,-0.0625,0.3872405757786339
[20:05:06] [Server thread/INFO]: [Stargate] Formatted TranslatableMessage 'TELEPORT' to 'Teleported!'
[20:05:06] [Server thread/INFO]: [Stargate] Checking permissions for entity CraftMinecartRideable
[20:05:06] [Server thread/INFO]: [Stargate] Checking teleport permissions
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.type.a'. returned true
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.world.world'. returned true
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.network.custom.Test12'. returned true
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.design.nether'. returned true
[20:05:06] [Server thread/INFO]: [Stargate] isOpenForUUID = null
[20:05:06] [Server thread/INFO]: [Stargate] Adding action net.TheDgtl.Stargate.action.SupplierAction@5a019176
[20:05:06] [Server thread/INFO]: [Stargate] Trying to teleport surrounding leashed entities
[20:05:06] [Server thread/INFO]: [Stargate] Sending player teleport messageºa[Stargate] ºfTeleported!
[20:05:06] [Server thread/INFO]: [Stargate] Trying to teleport entity, initial velocity: 0.0,-0.0625,-0.3999999999999986
[20:05:06] [Server thread/INFO]: [Stargate] Formatted TranslatableMessage 'TELEPORT' to 'Teleported!'
[20:05:06] [Server thread/INFO]: [Stargate] Checking permissions for entity CraftMinecartRideable
[20:05:06] [Server thread/INFO]: [Stargate] Checking teleport permissions
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.type.a'. returned true
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.world.world'. returned true
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.network.custom.Test12'. returned true
[20:05:06] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.design.nether'. returned true
[20:05:06] [Server thread/INFO]: [Stargate] isOpenForUUID = null
[20:05:06] [Server thread/INFO]: [Stargate] Adding action net.TheDgtl.Stargate.action.SupplierAction@2f94a9c
[20:05:07] [Server thread/INFO]: [Stargate] Trying to teleport surrounding leashed entities
[20:05:07] [Server thread/INFO]: [Stargate] Sending player teleport messageºa[Stargate] ºfTeleported!
[20:05:07] [Server thread/INFO]: [Stargate] Trying to teleport entity, initial velocity: 0.0,-0.0625,0.38331814975397904
[20:05:07] [Server thread/INFO]: [Stargate] Formatted TranslatableMessage 'TELEPORT' to 'Teleported!'
[20:05:07] [Server thread/INFO]: [Stargate] Checking permissions for entity CraftMinecartRideable
[20:05:07] [Server thread/INFO]: [Stargate] Checking teleport permissions
[20:05:07] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.type.a'. returned true
[20:05:07] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.world.world'. returned true
[20:05:07] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.network.custom.Test12'. returned true
[20:05:07] [Server thread/INFO]: [Stargate]  Checking permission 'sg.use.design.nether'. returned true
[20:05:07] [Server thread/INFO]: [Stargate] isOpenForUUID = null
[20:05:07] [Server thread/INFO]: [Stargate] Adding action net.TheDgtl.Stargate.action.SupplierAction@1ab9ebdf
[20:05:07] [Server thread/INFO]: [Stargate] Trying to teleport surrounding leashed entities
[20:05:07] [Server thread/INFO]: [Stargate] Sending player teleport messageºa[Stargate] ºfTeleported!
[20:05:14] [Async Chat Thread - #0/INFO]: <Pheotis> sending tnt minecart
[20:05:19] [Async Chat Thread - #0/INFO]: <Pheotis> the stargate has now eaten it.
commented

This seems to only occur if an entity is blocking a specific location for example this:
image
Where the player is positioned where the blue arrow is pointing in such a way, to block the minecart, and minecarts follow the red direction

(replicated on a spigot-1.15 and paper-1.19 instance)

Update: In this specific configuration it was because the tnt minecart exploded. And as destroyOnExplosion = false, it appeared as if the minecart simply dissapeared.

Update nr 2: Same thing occur on the initial setup that @Pheotis gave