CommandHelper

CommandHelper

46.5k Downloads

Get attachables function

LadyCailinBot opened this issue ยท 0 comments

commented

CMDHELPER-3038 - Reported by PseudoKnight

It would be useful in several cases to have a fast and well maintained function that returned an array of block locations and materials that attach to the specified block. This would most often be used in a block_break event script. Bukkit has an attachables class, but it doesn't keep floor blocks like pressure plates and rails in it. So a separate list would need to be maintained for that as well.