Class PhysicsUtil
java.lang.Object
org.reprogle.honeypot.common.utils.PhysicsUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.bukkit.Material>Get the list of blocks that have physics which can be placed on the sides of blocks (Trapdoors, as an example)static List<org.bukkit.Material>Get the list of blocks that have physics but can only be placed on top of blocks (Flowers, as an example)
-
Method Details
-
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
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
-