Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • How do I see if the player is riding an entity?
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
bruzzthehuzz

How do I see if the player is riding an entity?

By bruzzthehuzz, November 28, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

bruzzthehuzz    0

bruzzthehuzz

bruzzthehuzz    0

  • Tree Puncher
  • bruzzthehuzz
  • Members
  • 0
  • 2 posts
Posted November 28, 2020

How do I see if the player is riding an entity? I've tried player.ridingEntity, but it returns as 'ridingEntity' has private access in 'net.minecraft.entity.Entity'. I don't quite know how to fix this, can anyone help?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7597

diesieben07

diesieben07    7597

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7597
  • 55122 posts
Posted November 28, 2020

How about you use the getter?

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • poopoodice
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By poopoodice · Posted 14 minutes ago

      It's for animation only. Btw what version are you using?
    • TheDonkey_King
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By TheDonkey_King · Posted 32 minutes ago

      What file?
    • BIGDog8808
      HELP! WORLD WONT WORK

      By BIGDog8808 · Posted 34 minutes ago

      so is there anyway that i can copy the world and use it with forge  
    • mightymoy
      Cant craft items in modded server

      By mightymoy · Posted 41 minutes ago

      we arent using Opti fine anymore and no specific reason we had just picked 1.16.1 
    • DaemonUmbra
      Cant craft items in modded server

      By DaemonUmbra · Posted 45 minutes ago

      Well first of all you have Optifine on a server, which is pointless and only adds a possible point of failure. Second, why are you using 1.16.1?
  • Topics

    • Gubipe
      1
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By Gubipe
      Started 2 hours ago

    • TheDonkey_King
      4
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By TheDonkey_King
      Started 6 hours ago

    • BIGDog8808
      10
      HELP! WORLD WONT WORK

      By BIGDog8808
      Started 7 hours ago

    • mightymoy
      8
      Cant craft items in modded server

      By mightymoy
      Started Yesterday at 03:00 AM

    • tinyborisYT
      2
      [1.12.2] Crash at Launch, No clue why

      By tinyborisYT
      Started 2 hours ago

  • Who's Online (See full list)

    • mightymoy
    • Caffeinated Pinkie
    • RafaMv
    • Choonster
    • Dispaly Name
    • AntiRix
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • How do I see if the player is riding an entity?
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community