Stargate Rewritten

Stargate Rewritten

241 Downloads

No drops from generated blocks

Thorinwasher opened this issue ยท 0 comments

commented

Use Case

Most notably, an underwater portal can generate dead coral wall fans as buttons. This allows for a non vanilla way to get dead coral wall fans, which is an utility block (as far as I know).

More notably, generating gates in stargate mechanics becomes an exploit-ish situation. For example an easy to make obsidian generator (assuming the default gate, nether.gate will be used).

Proposed Solution

Whenever a persistent block is generated (for example a button, which does not dissapear when the gate is destroyed), the block should also have metadata stored in it, which says it's been generated.

Whenever such tagged block will be broken and subsequently drop an item (BlockDropItemEvent), the event should be cancelled

Additional Context

No response