Get Target Block

Discussion in 'Plugin Development' started by kmccmk9, Jun 9, 2011.

  1. Offline

    kmccmk9

    My BukkitDev Profile
    My Plugins (4)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello, can someone explain to me how to do this? I know the function but what is a hashbyte and what is the second int argument supposed to be/represent?
     
  2. Offline

    Shamebot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  3. Offline

    kmccmk9

    My BukkitDev Profile
    My Plugins (4)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fair point, I searched there but I think the reason I got no results was because I searched monster, mob etc. Everything but, entity. When I searched player in also got no results
     
  4. Offline

    Mr. X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi
    How can i get the player.getTarget Block(arg0, arg1) which args i must use?
     
  5. Offline

    Shamebot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    E.g., player.getTargetBlock(null,50);
     
  6. Offline

    Mr. X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What is the use of 50 I use null,0 and it works.
     
  7. Offline

    Baummann

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The JavaDocs aren't there for nothing.

     

Share This Page