Package net.glowstone.dispenser
Class DispenseBehaviorRegistry
java.lang.Object
net.glowstone.dispenser.DispenseBehaviorRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBehavior(org.bukkit.Material material) Returns the dispense behavior for the given item type.voidputBehavior(org.bukkit.Material material, DispenseBehavior behavior) voidresetBehavior(org.bukkit.Material material)
-
Constructor Details
-
DispenseBehaviorRegistry
public DispenseBehaviorRegistry()
-
-
Method Details
-
putBehavior
-
resetBehavior
public void resetBehavior(org.bukkit.Material material) -
getBehavior
Returns the dispense behavior for the given item type.- Parameters:
material- the item type to look up- Returns:
- the dispense behavior
-