Skip to content

Commit

Permalink
数值调整
Browse files Browse the repository at this point in the history
  • Loading branch information
wdfaESfaef committed Dec 19, 2024
1 parent 9a9c860 commit 495581f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@
import net.minecraft.world.level.block.state.BlockState;

import org.jetbrains.annotations.NotNull;
import org.spongepowered.asm.mixin.Unique;

import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class PistonMoveBlockListener {

@Unique
private static final Map<Block, Double> CHARGE_NUMS = new HashMap<>();

static {
CHARGE_NUMS.put(Blocks.COPPER_BLOCK, 1d / 8);
CHARGE_NUMS.put(Blocks.EXPOSED_COPPER, 1d / 16);
CHARGE_NUMS.put(Blocks.WEATHERED_COPPER, 1d / 32);
CHARGE_NUMS.put(Blocks.COPPER_BLOCK, 1d / 4);
CHARGE_NUMS.put(Blocks.EXPOSED_COPPER, 1d / 8);
CHARGE_NUMS.put(Blocks.WEATHERED_COPPER, 1d / 16);
}

/**
Expand Down

0 comments on commit 495581f

Please sign in to comment.