Package nl.mtvehicles.core.listeners
Class JerryCanClickListener
java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVListener
nl.mtvehicles.core.listeners.JerryCanClickListener
- All Implemented Interfaces:
org.bukkit.event.Listener
On right click with a jerry can - its refuelling (the gas stations feature)
-
Field Summary
Fields inherited from class nl.mtvehicles.core.infrastructure.models.MTVListener
event, player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onJerryCanClick(org.bukkit.event.player.PlayerInteractEvent event)
Methods inherited from class nl.mtvehicles.core.infrastructure.models.MTVListener
callAPI, callAPI, getAPI, isCancelled, setAPI
-
Constructor Details
-
JerryCanClickListener
public JerryCanClickListener()
-
-
Method Details
-
onJerryCanClick
public void onJerryCanClick(org.bukkit.event.player.PlayerInteractEvent event)
-