Skip to content

Conversation

@Spicierspace153
Copy link
Collaborator

Drums w/ buckets now work as intended in every single way

Copy link
Member

@chrombread chrombread left a comment

Choose a reason for hiding this comment

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

quick suggestion

@danyadev
Copy link
Member

danyadev commented Nov 8, 2025

Love the IFluidContainerItem support, but... I tried to fill a drum while holding a stack of Certus Quartz Tanks with 16000L water and they all just gone

tank.-.drum.mp4

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2025

#56

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2025

#57

@github-actions
Copy link
Contributor

#99

Copy link
Contributor

@SuperSoupr SuperSoupr left a comment

Choose a reason for hiding this comment

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

Mostly nits but some fixes needed as well, otherwise LGTM 👍

@github-actions
Copy link
Contributor

#102

FourIsTheNumber pushed a commit that referenced this pull request Dec 15, 2025
Co-authored-by: GitHub GTNH Actions <>
Comment on lines 8 to 15
public class DrumConfig {

@Config.DefaultBoolean(true)
@Config.Comment("Change it to MB vs L's")
public static boolean unitToDisplay;

}
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I didn't think of this before but can you add a config for the size of the regular and bedrockium drums?

@github-actions
Copy link
Contributor

#103

Comment on lines +74 to +78
player.addChatComponentMessage(
new ChatComponentTranslation(
"%s %s",
NumberFormat.DEFAULT.format(drumTank.getFluidAmount()),
DrumConfig.unitToDisplay ? "mB" : "L"));
Copy link
Contributor

Choose a reason for hiding this comment

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

Why ChatComponentTranslation? you aren't giving it a translation key...
either make it a translation key or replace with ChatComponentText

also the formatter puts a q after the number if it's 0 for some reaons
Image

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know how to fix this, but there is a desync between the client and server here. The client doesn't get told how full the drum is when it's loaded. Not sure of how impactful this is but the onBlockActivated logic is wrong on the client because of it

@GTNewHorizons GTNewHorizons deleted a comment from SuperSoupr Dec 15, 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.

5 participants