Skip to content

Conversation

@Intybyte
Copy link
Member

Fixes #299

@Seggan
Copy link
Member

Seggan commented Nov 14, 2025

The linked issue should be accomplished by allowing melting rocks into a smeltery imo

@Seggan
Copy link
Member

Seggan commented Nov 14, 2025

Instead of adding a whole new machine

@Intybyte
Copy link
Member Author

The linked issue should be accomplished by allowing melting rocks into a smeltery imo

That feels like shooting ducks with a cannon tho

@Seggan
Copy link
Member

Seggan commented Nov 15, 2025

That feels like shooting ducks with a cannon tho

Ain't no one gonna stop me

Copy link
Contributor

@LordIdra LordIdra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is almost identical to the mixing pot as it stands.

I would suggest instead to do what 'modded' crucibles do, where items that get thrown in are consumed (one by one) and then slowly melted. So you throw cobblestone in, and over 25 seconds, 4 mb of lava are added per second. Then, it's ready to consume the next cobblestone you throw in. (And also produces smoke gradually as it goes).

This makes balancing much easier and differentiates this enough to make it worth having alongside the mixing pot

@Intybyte Intybyte marked this pull request as draft November 19, 2025 19:55
@Intybyte Intybyte marked this pull request as ready for review November 20, 2025 16:40
@Intybyte
Copy link
Member Author

This is almost identical to the mixing pot as it stands.

I would suggest instead to do what 'modded' crucibles do, where items that get thrown in are consumed (one by one) and then slowly melted. So you throw cobblestone in, and over 25 seconds, 4 mb of lava are added per second. Then, it's ready to consume the next cobblestone you throw in. (And also produces smoke gradually as it goes).

This makes balancing much easier and differentiates this enough to make it worth having alongside the mixing pot

Ok did something very similar to modded, instead of having it tick every second and add it gradually (which with many crucibles it might be unnecessarily performance intensive), I made it melt a block every X ticks, just like modded crucibles depending on the heat source below, it will change the melting speed

@LordIdra
Copy link
Contributor

Not building with latest core (do I need to use a specific branch?)
image

@Intybyte
Copy link
Member Author

Not building with latest core (do I need to use a specific branch?) image

Didn't push to core, mb

@Intybyte
Copy link
Member Author

Intybyte commented Nov 26, 2025

Requires pylonmc/pylon-core#512

@Intybyte Intybyte marked this pull request as draft November 27, 2025 17:30
@Seggan Seggan changed the title Crucible [ref:vaan/feature/crucible] Crucible Dec 5, 2025
@Seggan
Copy link
Member

Seggan commented Dec 5, 2025

(changed name so itll compile)

@Intybyte
Copy link
Member Author

Intybyte commented Dec 5, 2025

I think it is done?

@Intybyte Intybyte marked this pull request as ready for review December 5, 2025 20:24
@Intybyte
Copy link
Member Author

Requires pylonmc/pylon-core#521

Copy link
Contributor

@LordIdra LordIdra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple more small things I noticed.

Another thing, the ticking rate seems to have gone up a LOT, like it chomps up cobblestone like crazy now. Assuming this isn't intended?

@Intybyte
Copy link
Member Author

Just a couple more small things I noticed.

Another thing, the ticking rate seems to have gone up a LOT, like it chomps up cobblestone like crazy now. Assuming this isn't intended?

yes, it depends on the block below, if you use lava it is supposed to be a LOT faster, if you use a torch, it should have same behaviour as before (minimum speed)

Copy link
Member

@Seggan Seggan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Played around with it ingame, ngl I would prefer you throwing in items instead of right clicking the crucible. Barring that, at least a way to get the items out pls?

Copy link
Contributor

@LordIdra LordIdra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to put in items when it's not heated. Right now you can't. I think making this not a multiblock will fix that.

animate(display, 0, duration, matrix);
}

public static @NotNull ItemStack makeItem(@NotNull NamespacedKey key) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like I might have mentioned this already, but this seems like a common enough thing that it should be a core util. In fact, don't we already do something similar when deserializing recipe inputs? Presumably the logic from there could just be extracted

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ItemTypeWrapper is indeed similar, however there is no fallback behaviour like in this case, do you still want me to extract it to a core util?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be a good idea yes - this seems like a relatively common thing that addons might want to do

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe in the future, this already depends on the Dynamic Tick Interval, so we can make and fix the issue after this is merged, or yo want Dynamic Tick Interval to handle this too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhhh up to you. I think adding it to the dynamic tick interval PR is fine.

Copy link
Contributor

@LordIdra LordIdra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The particles still look really awkward IMO but I think this will be easier when/if we change the mixing pot and crucible to display the liquid inside of it better so I am happy to leave it for now

Nice work on this. Just a few small things but I will leave it be and merge after that. Hope the reviews haven't been too much lol

# Conflicts:
#	src/main/java/io/github/pylonmc/pylon/base/BaseItems.java
#	src/main/java/io/github/pylonmc/pylon/base/BaseRecipes.java
#	src/main/resources/lang/en.yml
#	src/main/resources/recipes/minecraft/crafting_shaped.yml
@Intybyte Intybyte changed the title [ref:vaan/feature/crucible] Crucible [ref:vaan/fix/dynamic-tick-interval] Crucible Dec 30, 2025
@Intybyte Intybyte changed the title [ref:vaan/fix/dynamic-tick-interval] Crucible [ref:vaan/feature/crucible] Crucible Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to obtain lava more sustainably

4 participants