rwtema / Extra-Utilities-2-Source

Sourcecode for Extra Utilities
Other
109 stars 75 forks source link

Boomerang Redstone Limitations #432

Open iBELLinc opened 3 years ago

iBELLinc commented 3 years ago

When using the boomerang you are able to activate levers, wooden buttons, and stone buttons from the vanilla game. However, this is the absolute extent of redstone interaction possible even when other mods add extra buttons, self-resetting levers etc.

In your code on like 272 of EntityBoomerang.java you directly reference these three block types which limit the boomerang's potential:

`if (block == Blocks.STONE_BUTTON || block == Blocks.WOODEN_BUTTON || block == Blocks.LEVER)`

I would suggest altering this line to allow interaction of a more general umbrella of "redstone components" rather than specific blocks. I am not familiar with the Minecraft source so forgive me if this is just not possible.

Thank you for your consideration.