Soaryn / XyCraftTracker

Public issue tracker
4 stars 0 forks source link

[Suggestion]: Have Accelerated Planter Block Support all "Growable Plants" #20

Open Soaryn opened 1 year ago

Soaryn commented 1 year ago

XyCraft Module

Machines

Describe the Suggestion

Right now, the planter block only really supports a few vanilla blocks, and then anything that validates isRandomlyTicking and is IPlantable. This isn't exactly useful to us, so there is some discussions of an IGrowableBlock interface to utilize. For most of the vanilla crops, this will be a hardcoded solution, but works as expects.

However, this does not allow for you to place Chorus Flowers on it, due to how vanilla checks the block instead of a block tag. Cocoa Beans just check for block tag and not the side, same with mushrooms.

Screenshots and Videos

No response

Additional Context

I've tried using a mixin for chorus flower but... this wound up being too much effort due to how extensively Mojang calls is(Blocks.END_STONE)