are rideable underwater entities possible?

Started by conao on

Topic category: Help with modding (Java Edition)

Last seen on 21:44, 20. Feb 2022
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?

Last seen on 18:55, 17. Sep 2024
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

 

Last seen on 21:44, 20. Feb 2022
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?

Last seen on 18:55, 17. Sep 2024
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

 

Last seen on 21:44, 20. Feb 2022
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: 

Last seen on 21:44, 20. Feb 2022
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;
}
Last seen on 14:14, 9. Sep 2024
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?

Last seen on 19:28, 19. Sep 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In newer versions it has…
Mon, 11/14/2022 - 15:30

In newer versions it has changed to:

 

 @Override 
public boolean rideableUnderWater() {
return true;
}
Last seen on 01:01, 26. Apr 2023
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;
}