1. If someone hits the ground with a weapon/tool, is there a way to get what material of ground is hit?
     
  2. A plugin could be made as such....take a look at Fishing for an example.
     
  3. The fishing plugin uses waterlayer height and groundlayer height to determine if water is hit, it actually doesn't look at the material of the ground layer.
     
  4. Calytic

    Calytic Community Admin Community Mod

    hitinfo.HitMaterial
     
  5. Thanks! Is there a list of materials as the hitmaterial is a number value?
     
  6. Calytic

    Calytic Community Admin Community Mod

    Nope, not that I am aware of. Easy enough to test by printing to console.
     
  7. Yeah, just wanted to work on a plugin without having to open a test server.
    Thanks for your help :)