SayWhatSayMon / VeganDelight

An extension to farmers delight.
2 stars 7 forks source link

Adds applesauce as a fluid [refs #12] #13

Closed ladenedge closed 7 months ago

ladenedge commented 7 months ago

After much difficulty figuring out how stupid fluids work -- they seem a little overly complicated?!? -- I believe I have a pretty clean implementation for applesauce.

First of all, the fluid is only really available when the Create and Create Central Kitchen mods are present, for two reasons:

  1. All of the recipes require Create tools (such as mixing, emptying, etc).
  2. I've removed the fluid from JEI similar to Create's Melon Juice, Apple Cider, etc. In other words, it's a "recipe-only fluid" that doesn't have a bucket or a block.

Here's a shot of JEI looking for "applesauce":

image

Only the food item is present. Moreover, only the standard cooking recipe is available:

image

However, if you uncomment these lines in build.gradle, you can see the fluid in action:

// These are helpful when testing Create interoperability.
// runtimeOnly fg.deobf("curse.maven:create-328085:4835191")
// runtimeOnly fg.deobf("curse.maven:create-central-kitchen-820977:5132704")

Now we have a new way to create applesauce bowls:

image

And we have ways of creating the fluid from the bowl:

image

As well as a few recipes that can be made directly with the fluid:

image

Here's a shot of the fluid traveling through a pipe after being emptied:

image

And here it is in a big vat:

image

(It's hard to see there, but it is slightly translucent.)

Let me know what you think -- here or on Discord -- and please don't hesitate to suggest even the smallest changes!

SayWhatSayMon commented 7 months ago

@ladenedge I love your detailed documentation! Good job.