Skip to content

Commit

Permalink
Amber Fluid Source Coolsdown Slower
Browse files Browse the repository at this point in the history
  • Loading branch information
KekeCreations committed Aug 8, 2024
1 parent 32cccca commit 523b466
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ public Item getBucket() {
public void tick(Level pLevel, BlockPos pPos, FluidState pState) {
super.tick(pLevel, pPos, pState);
RandomSource random = pLevel.getRandom();
if (random.nextInt(5) == 0) {
int k = 5;
if (pState.isSource()) {
k = 15;
}
if (random.nextInt(k) == 0) {
boolean cooldown = true;
if (pLevel.dimension() == Level.NETHER) {
cooldown = false;
Expand Down

0 comments on commit 523b466

Please sign in to comment.