Skip to content

Train controls can't be taken without holding an item capable of interacting directly with the block #33

@Kolterdyx

Description

@Kolterdyx

This issue occurs when only Valkyrien Skies and addons are installed and no other mods

  • I have tested this issue and it occurs when no other mods are installed

Minecraft Version

1.20​

Mod Loader

Forge

Issue description

It seems that only interactions with a secondary action (like placing blocks, spawning mobs, etc.) are able to cause the player to take the train controls. Without this action, the interaction happens twice, and the controls are immediately released

Examples (checkmark means the player takes control of the train)

  • Building block (Can place on face)
  • Flint and steel (Can light on fire)
  • Spawn egg: (Can spawn on block face)
  • Axe (Can't peel or remove wax from train controls)
  • Lead (Can't lead train controls)
  • Empty hand

When any of the checked interactions are performed, the player both does the action (placing a block, spawning a mob, lighting a fire) and takes the train controls.

Bug showcase on YouTube

The interaction should go through with any item in hand, and cancel any secondary actions that the held item might perform on the block face (like spawning mobs or placing blocks)

Issue reproduction

Create an interactive train and right click the train controls with any item. Only those items that can interact against the train controls as a static block will cause the player to take control of the train.

Logs

The debug.log file grows rapidly, so these aren't exactly the same logs as in the demo video. These logs represent starting the game, running through some of the valid and invalid interactions with an existing train, and closing the game, in about 15 seconds.

latest.log

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions