-
Notifications
You must be signed in to change notification settings - Fork 0
7. API
Dexuby edited this page May 29, 2021
·
2 revisions
Events:
- DrugConsumeEvent(Player, Drug)
- DrugPlantBreakEvent(Player, Plant, Block)
- DrugPlantFertilizerUseEvent(Player, Plant, Fertilizer)
- DrugPlantGrowEvent(Plant, GrowingStage)
- DrugPlantInteractEvent(Player, Plant)
- DrugPlantPlantEvent(Player, Drug, Block, GrowingStage, Direction, UUID, SpaceReport)
- DrugPlantPrePlantEvent(Player, Drug, Block)
- DrugPlantReplantEvent(Player, Plant)
- DrugPlantSendStatusEvent(Player, Plant)
- VanillaDropDropEvent(VanillaDrop, Location, Collection, Object[])
Methods:
- UltimateDrugsAPI#getInstance(): UltimateDrugsAPI
- #isPlayerOnDrugs(Player): boolean
- #getDrugManager(): DrugManager