Class PhysicsUtil

java.lang.Object
org.reprogle.honeypot.common.utils.PhysicsUtil

public class PhysicsUtil extends Object
  • Method Details

    • getSidePhysics

      public static List<org.bukkit.Material> getSidePhysics()
      Get the list of blocks that have physics which can be placed on the sides of blocks (Trapdoors, as an example)
      Returns:
      Blocks that break when the block they're on break, but can be placed on the side
    • getUpPhysics

      public static List<org.bukkit.Material> getUpPhysics()
      Get the list of blocks that have physics but can only be placed on top of blocks (Flowers, as an example)
      Returns:
      Blocks that break when the block they're on break, but only can be placed on top