are rideable underwater entities possible?

Started by conao on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
are rideable underwater entities possible?

A quick question, but is it possible (within mcreator) to make entities rideable underwater?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, must just change a…
Tue, 02/15/2022 - 07:53

Yes, must just change a couple of lines on entity code

 

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do I add specifically?
Wed, 02/16/2022 - 03:30

What do I add specifically?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is written on forum…
Wed, 02/16/2022 - 11:12

is written on forum somewhere, I have found it few days agoJust search for some key words

 

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks for the suggestion. I…
Sun, 02/20/2022 - 01:31

thanks for the suggestion. I forgot to reply, but I ended up just doing this: 

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Override public boolean…
Sun, 02/20/2022 - 01:31
@Override
public boolean canBeRiddenInWater() {
    return true;
}
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, this seems like a great…
Fri, 07/29/2022 - 23:07

Hey, this seems like a great idea.
Is this still working for you? adding this line on code gives me a build error in Version 2022.1.
Did you change something about the main entity class beforehand or is there some additional step?

In newer versions it has…
Mon, 11/14/2022 - 15:30

In newer versions it has changed to:

 

 @Override 
public boolean rideableUnderWater() {
return true;
}
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can someone tell me if the…
Thu, 04/20/2023 - 18:31

Can someone tell me if the use of this code in version 2023.1 is correct to make the entity mountable under water?

public boolean canBeRiddenUnderFluidType(WaterFluid Player){
return true;
}