Package org.bukkit.block.data.type
Interface Hopper
-
- All Superinterfaces:
BlockData,Cloneable,Directional
public interface Hopper extends Directional
Similar toPowerable, 'enabled' indicates whether or not the hopper is currently activated.
Unlike most other blocks, a hopper is only enabled when it is not receiving any power.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled()Gets the value of the 'enabled' property.voidsetEnabled(boolean enabled)Sets the value of the 'enabled' property.-
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, matches, merge
-
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
-
-