2 players ride 1 entity

Started by TheSkruffy on

Topic category: Help with modding (Java Edition)

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2 players ride 1 entity

Trying to make a flying mount that can support 2 players on its back, i already made it mountable and usable but the probelm is that i want two players to be able to ride it at one time

Last seen on 11:34, 2. Aug 2024
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could do this the same…
Sun, 07/26/2020 - 23:37

You could do this the same way Minecraft handles parrots: a new entity is summoned at the position of the player's shoulder, and the parrot becomes its mount. That way the parrot seams to be riding on the player's shoulder. You could summon another entity at the position you want the second player to sit, and them make it ridable as well. If you want, you could make a procedure that happens when the player right clicks the flying mount and checks if the mount is already being ridden. If it is, then make the player sit on the second summoned entity. That's all.

Last seen on 01:23, 26. Sep 2024
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you help me ? I dont…
Mon, 07/27/2020 - 20:41

Can you help me ? I dont know how to summon another entity on the main mount :c

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Damn thats really smart, tnx
Wed, 07/29/2020 - 00:02

Damn thats really smart, tnx

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Only 1 probem, how do i…
Wed, 07/29/2020 - 00:06

Only 1 probem, how do i force sit player onto the entity, also this can be easily glitched if 2 mounts are near eachother and you lets say teleport to the other one near it?

Last seen on 01:23, 26. Sep 2024
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You did it ? Can you help me…
Wed, 07/29/2020 - 05:17

You did it ? Can you help me ?

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still can't do it, i think…
Wed, 07/29/2020 - 08:01

Still can't do it, i think Argus doesn't know that a parrot on a shoulder doesn't count as an living entity ,its an player tag. I will try to do something but i can't gurantee that ill find out how

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think i got it, its quiet…
Wed, 07/29/2020 - 08:53

I think i got it, its quiet complicated, actually really complicated. First you need to make a ridable entity with an invisible model, using a command /execute at @e[type=ess:whaletest] run teleport @e[type=ess:ridable,limit=1] ^ ^ ^-1 (also whaletest is the entity that will have 2 seats and ridable is the entity that is next to it) the player can simply click on either one, also make sure they are far apart just about enough to so that their hitboxes dont collide too much cause it will be alot more difficult, also this is for "Entity tick" 

Function:

/team add NO
/team modify NO collisionRule never
/team join NO @e[type=ess:whaletest]
/team join NO @e[type=minecraft:player]
/team join NO @e[type=minecraft:ridable]

This makes it so the ridable doesnt push around the real entity, also makes the player thats on the custom seat not collide with the hitbox. IM gonna try it out and imma update it if it works

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
one probelm, making the…
Wed, 07/29/2020 - 08:57

one probelm, making the ridable is hard, maybe make it so you have to add two saddles or something, that can be a good atempt

 

Last seen on 01:23, 26. Sep 2024
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have to put the Entity…
Wed, 07/29/2020 - 19:46

I have to put the Entity tick procedure on the entity that has 2 munts or in the invisible entity?

Last seen on 06:40, 26. Aug 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes, also it doesnt work the…
Thu, 07/30/2020 - 14:04

yes, also it doesnt work the best, sometimes the invisible entity thats behind it dies for some oreason or despawns, also ^-1 ^ ^ makes it so its behind the entity

Last seen on 06:38, 4. Jan 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
actually 2 people like a…
Mon, 08/29/2022 - 06:33

actually 2 people like a boat if we know how to do it. 'Cause I don't understand anything here