Closed LatvianModder closed 7 years ago
What benefit does Collection have over List?
I only just realised the field is public and there isn't any getter. I guess I'm still living in the past where that was an okay thing to do for Forge events.
Blocks are meant to be picked up by more than just players, so EntityLivingBase is more preferred, really.
I need to revise this event, really. It's meant to be more a BlockToEntityEvent rather than a BlockPickupEvent. Will do so for my next update mid-Jan
Also I was hoping to put in the current item stack as well in a field if you're gonna include the player/entity
Made BlockPickupEvent Forge-styled with getters, added EntityPlayer, changed few Lists to Collections HashSet should be used for block positions rather than ArrayList, but now that there is a Collection, it doesn't matter anymore