Trying to create underwater mount (how can I make it not dismount me?)

Started by Brade1210 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to create underwater mount (how can I make it not dismount me?)

I made a creature I wanted to be an underwater mount. Is there anyway to make it not dismount me when it goes underwater? (using Mcreator 2021.1)

I set it to be a water entity and water attribute creature, and only way I managed to simi accomplish my goal was to make it forcefully make the player mount the creature on collision. But this came with a whole lot of issues as it is constantly dismounting and then mounting. 

 

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you manage to figure…
Sun, 11/21/2021 - 00:16

Did you manage to figure this out?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can't at the moment
Sun, 11/21/2021 - 08:05

you can't at the moment

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
open the code of the entity…
Sun, 11/21/2021 - 17:27

open the code of the entity and at the bottom of the code put 

@Override
		public boolean canBeRiddenInWater() {
			return true;


		}