Home Creators Posts Import Register Favorites Logout

Content

I've added a new BlockBehavior called "BehaviorSubmergible".
This behavior checks to see if you're placing the designated block into a liquid block by designating its firstcodepart in your json file. (For instance: water, lava).

If it is being placed in the given medium, it will place a *different* block.

In my current example:
Bark can be formed into a barkbundle.  Bark bundles start as "Dry Bark Bundles", and can be placed in water. If you place them in water they shift to 'Soaking Bark bundle".  Since I've assigned soaking bark bundles the transient entity class, they will convert to soaked bark bundles after 24 hours.

I've also assigned dry & soaking bark bundles to drop dry bark, and soaking bark bundles to drop soaked bark.

You can theoretically assign it to any liquid block, and I may alter it to accept multiple liquids, and add the ability to add a different output for each material type.

It's quite crude, but it does the job I need it to.  Further development may be forthcoming.

Comments

No comments found for this post.