Conversation
Seggan
commented
Mar 8, 2026
- Updated smeltery recipes
- Removed Smeltery Caster and made it a separate block called the Casting Unit that requires the fluid piped in
- Smeltery Input and Output Hatches now require the correct temperature
- Added casts, for casting liquid metals to nuggets, ingots, blocks, sheets, and pipes (pipes use the crafting ratio, so pipe bender is still more efficient)
# Conflicts: # src/main/resources/lang/en.yml # src/main/resources/recipes/minecraft/crafting_shaped.yml
# Conflicts: # src/main/java/io/github/pylonmc/pylon/content/machines/smelting/SmelteryOutputHatch.java
Intybyte
left a comment
There was a problem hiding this comment.
Reviewed, works ingame, also are we sure we should drop the documenation of said recipes? I mean they are easy to understand even without it
src/main/java/io/github/pylonmc/pylon/content/machines/smelting/CastingUnit.java
Show resolved
Hide resolved
src/main/java/io/github/pylonmc/pylon/content/machines/smelting/CastingUnit.java
Show resolved
Hide resolved
src/main/java/io/github/pylonmc/pylon/content/machines/smelting/SmelteryHopper.java
Show resolved
Hide resolved
| import org.bukkit.inventory.ItemStack; | ||
| import org.jetbrains.annotations.NotNull; | ||
| import org.jetbrains.annotations.Nullable; | ||
| import org.jspecify.annotations.NonNull; |
| maven("https://repo.codemc.io/repository/maven-releases/") { | ||
| name = "CodeMC" | ||
| } |
There was a problem hiding this comment.
Entitylib was made from implementation to api in another PR, forgot to change it back
|
|
||
| for (Entity entity : getBlock().getWorld().getNearbyEntities(box)) { | ||
| if (!(entity instanceof LivingEntity livingEntity)) continue; | ||
| livingEntity.damage(damage, DamageSource.builder(DamageType.LAVA).build()); |
There was a problem hiding this comment.
Just save the DamageSource in a static attribute
There was a problem hiding this comment.
is it really necessary? this seems fine
|
Just want to ask, if controller/burner (also diesel burner) switches to lit=true state when active, because currently (stable version, not PR) it does not |
The docs were wrong even at that point |
Oh yeah I can fix that |
LordIdra
left a comment
There was a problem hiding this comment.
The molding recipes won't work because a clay ball cannot be used with the manual brick mold. May I suggest that instead of the molding recipes, we just do it how tinker's and similar mods do it, and require you to pour liquid gold or similar over a block, ingot, pipe, etc?
Apologies this took me so long to get to
There was a problem hiding this comment.
Would it perhaps be better behaviour here to make this a PylonFluidTank and just accept any (castable) fluid? I was very confused at first when nothing happened after I piped liquid copper into the casting unit, and it feels unintuitive from a UX perspective as it's inconsistent with what every other fluid block does
There was a problem hiding this comment.
I initially had it like that but the problem is I'd need a dynamic tank size
There was a problem hiding this comment.
you can do that with PylonFluidTank - the capacity can be set after creation. But I think also you could just set a static size of like 2,000 or something like that. or you could do something like the fluid hatch which would be cool, where you have to build a fluid tank casing on top which holds the fluid
There was a problem hiding this comment.
Yeah but if I set it to static
- idk what's the biggest cast that's ever gonna be used
- It can take more fluid than I wanted, so now I have a whole caster of fluid I don't wanna cast
There was a problem hiding this comment.
true. tbf someone could just add an 'advanced caster' or something if they need to do that, it's a fairly niche thing, and the fluid hatch approach would allow a lot of fluid to be stored since the later tanks have a lot of capacity. for the second thing - it does encourage the use of the accumulator or a redstone setup which is nice but idk if that's overcomplicating it. I'm conflicted, it would be really nice to be able to see fluid available but I see why maybe this is better, I'm fine with it as-is then I think. though I'd suggest maybe the barrier should change to something else in the GUI since it's always going to be a barrier, which to me indicates something is wrong
|
|
||
| for (Entity entity : getBlock().getWorld().getNearbyEntities(box)) { | ||
| if (!(entity instanceof LivingEntity livingEntity)) continue; | ||
| livingEntity.damage(damage, DamageSource.builder(DamageType.LAVA).build()); |
There was a problem hiding this comment.
is it really necessary? this seems fine
There was a problem hiding this comment.
I think bronze smelting should probably be prioritised over these in the guide
That's intentional, you need a diesel one for it |
gotcha - still, current recipes feel rather strange to me |