Getting block hardness/strength

Discussion in 'Plugin Development' started by beastman3226, Dec 29, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    beastman3226

    I am trying to get the float/double value of a specified block. When I researched it I found a lot of changing values. I don't want this. I am also not familiar with Java Reflection so if someone could help me that would be much appreciated.
     
  2. Offline

    BillyGalbreath

    Hardness/strength is a client side value.
     
  3. Offline

    beastman3226

    BillyGalbreath
    If I am not mistaken you could get the type of block from the NMS code of CB and get the value that way. I'm just trying to figure how to do that and not having to hardcode every value into my plugin.

    Bump

    Yet Another bump​

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
Thread Status:
Not open for further replies.

Share This Page