1
0
cuberite-2a/src/BlockEntities
KrystilizeNevaDies 23bca00831
Implement Dropspenser Hook (#4903)
* Implement Dropspenser Hook

Implemented a hook for dropspensing.
HOOK_DROPSPENSE

When plugin callback returns true then dropspense is cancelled

* Update src/Bindings/PluginManager.h

Co-authored-by: peterbell10 <peterbell10@live.co.uk>

* Create OnDropSpense.lua

* Fix indent

* Forgot include

Forgot to include the plugin manager. Although now im confused why it was working on my end without including the plugin manager

* Update plugins.lua with dropspense

* fix typos

* haha notepad++ go brr

Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2020-09-21 15:31:45 +00:00
..
BeaconEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
BeaconEntity.h Using Super. 2020-04-16 20:07:48 +00:00
BedEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
BedEntity.h Using Super. 2020-04-16 20:07:48 +00:00
BlockEntity.cpp Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
BlockEntity.h Precompile unordered_map/set 2020-07-19 19:58:53 +01:00
BlockEntityWithItems.cpp Remove redundant DoWithChunkAt in chests 2020-08-28 21:43:12 +01:00
BlockEntityWithItems.h Using Super. 2020-04-16 20:07:48 +00:00
BrewingstandEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
BrewingstandEntity.h Using Super. 2020-04-16 20:07:48 +00:00
ChestEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
ChestEntity.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
CMakeLists.txt Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
CommandBlockEntity.cpp Streamline startup sequence 2020-09-05 13:16:52 +01:00
CommandBlockEntity.h Using Super. 2020-04-16 20:07:48 +00:00
DispenserEntity.cpp Update DispenserEntity.cpp 2020-04-25 12:27:39 +01:00
DispenserEntity.h Using Super. 2020-04-16 20:07:48 +00:00
DropperEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
DropperEntity.h Using Super. 2020-04-16 20:07:48 +00:00
DropSpenserEntity.cpp Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
DropSpenserEntity.h Using Super. 2020-04-16 20:07:48 +00:00
EnchantingTableEntity.cpp Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
EnchantingTableEntity.h Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
EnderChestEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
EnderChestEntity.h Using Super. 2020-04-16 20:07:48 +00:00
EndPortalEntity.cpp Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
EndPortalEntity.h Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
FlowerPotEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
FlowerPotEntity.h Using Super. 2020-04-16 20:07:48 +00:00
FurnaceEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
FurnaceEntity.h Using Super. 2020-04-16 20:07:48 +00:00
HopperEntity.cpp Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
HopperEntity.h Using Super. 2020-04-16 20:07:48 +00:00
JukeboxEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
JukeboxEntity.h Using Super. 2020-04-16 20:07:48 +00:00
MobHeadEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
MobHeadEntity.h Using Super. 2020-04-16 20:07:48 +00:00
MobSpawnerEntity.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
MobSpawnerEntity.h Using Super. 2020-04-16 20:07:48 +00:00
NoteEntity.cpp Add more statistic tracking (#4837) 2020-09-05 16:13:44 +01:00
NoteEntity.h Use pitch lookup in noteblock block entity (#4826) 2020-09-05 16:07:01 +01:00
SignEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
SignEntity.h Using Super. 2020-04-16 20:07:48 +00:00