Force Spectating of an entity when riding

Started by xolotel on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Force Spectating of an entity when riding

I am making a mech-based mod for Minecraft, and I need to figure out how to make it so I can see through the solid front of the mech's cockpit. I think I could accomplish this by having the player first-person spectate the mech upon mounting it, but I have no clue how to do this without Java code (Which I don't know how to use in the slightest). Any help would be appreciated!