BentoBoxWorld / AOneBlock

A OneBlock Minecraft Game for BentoBox
https://docs.bentobox.world
Eclipse Public License 2.0
77 stars 29 forks source link

A small option for editing where the items from the regenerating block in AOneBlock drop. #38

Closed MagmaBro123 closed 4 years ago

MagmaBro123 commented 4 years ago

Description

Is your feature request related to a problem?

Title says all.

Describe the solution you'd like us to implement.

Allow us to set where the dropped items from the broken AOneBlock block drop at.

Describe alternatives you've considered.

N/A?

Additional context

None.

Poslovitch commented 4 years ago

Moving to the AOneBlock repo

MagmaBro123 commented 4 years ago

Sorry lol

maxlehot1234 commented 4 years ago

Why not make the magic bloc drops appear at the top of it like the original OneBlock map?

It would be MUCH BETTER than drop it in a random direction around it and make it drop in the void 85% of the time... Its not a hardcore oneblock plugin

maxlehot1234 commented 4 years ago

Anything on this? This thing should be implemented or allow us with a true/false option or a "flag" per island to give the island owner the choice for this.

Thanks again

tastybento commented 4 years ago

I spent a while looking at this can I cannot actually see how to do it and keep all the handling of tools. I'm stuck. Does anyone have any ideas? @Poslovitch ?

Poslovitch commented 4 years ago

By using Block#getDrops(ItemStack) you might be able to get the actual drops... And maybe you could drop them on top of the block? Or at the player's feet?