-
Notifications
You must be signed in to change notification settings - Fork 9
[Question] Popcorn Implementation #4
Comments
It was intended to be a creative-mode, no-real-use prop for the cinema |
Would there be any objection to making it an obtainable item by means of adding a new crop? |
Could be neat! What do you have in mind? |
My idea was to port over exactly what I did for Bagel's Baking, and introduce a two block tall corn crop. It's analogous to wheat in that it drops a corn item, and then the corn seeds. The corn item can also be crafted down into 4 corn seeds. The popcorn would be created by smelting the seeds, "popping" the kernels in a fictonal, minecrafty sense. It is usually found on village farmland, in loot chests, and dropped by zombies. Its seeds are also dropped by the same grass blocks that drop seeds. I think since the terrain is already generated, and villages have already been established, it would be pointless to implement it being found in villages, but the rest of the ways to find it I think are worth doing. Adding a crop block isn't the easiest thing to do, since there's a lot of little things that need to be done to bring it to parity with vanilla crop blocks, to name all of them:
There are a couple places in the original implementation that I'm not too proud of, but I'd have to rewrite it in Kotlin anyways, so I don't think much of the scuff will be ported over. A lot of these things we could very easily do away with, for example the second and third list items, being that they're the most complicated and out of scope of popcorn. Additionally, all of this was done without the knowledge that there might be fabric APIs to handle the implementation. Let me know what you think! If you don't mind all of this being brought over I'd be more than happy to get a PR started. |
Sounds awesome to me.
Yeah, we're avoiding expanding the world for now, but I wouldn't be opposed to adding generator in the event that we ever do (or if we retrogen). This is also the reason sakura saplings etc. are only dungeon/trade loot at the moment - the world was generated long before they were implemented!
Totally fine. Composting is trivial (the saplings do it) but the rest we can live without, I think most players will farm them by hand or with CC in our use case!
Off the top of my head Fabric has Overall it sounds fantastic, and if you would put together a PR that would be amazing! |
Maybe popcorn (or a different item) could also be added into the fishing loot tables. |
I'd like to propose design changes/additions to the suggestion:
|
I have an idea for how I would implement the popcorn item, but would like to have a bit of a discussion on what the maintainers ideas for it were before I jumped into porting a two block tall crop block, and 2-3 additional items.
The text was updated successfully, but these errors were encountered: