Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
public class FurnatorBlock extends PowahBaseGeneratorBlock<FurnatorBlock> implements SimpleWaterloggedBlock {
public FurnatorBlock(Properties properties, Tier tier) {
super(properties, Powah.config().generators.furnators, tier);
setDefaultState();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public EnergyHopperBlock(Properties properties, Tier tier) {
var config = Powah.config().devices.hoppers;
super(properties, tier, () -> config.getCapacity(tier), () -> config.getTransfer(tier));
chargingRateSupplier = () -> config.getChargingRate(tier);
setDefaultState();
this.shapes.put(Direction.UP, box(0, 0, 0, 16, 12, 16));
this.shapes.put(Direction.DOWN, box(0, 4, 0, 16, 16, 16));
this.shapes.put(Direction.NORTH, box(0, 0, 4, 16, 16, 16));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
public class MagmatorBlock extends PowahBaseGeneratorBlock<MagmatorBlock> {
public MagmatorBlock(Properties properties, Tier tier) {
super(properties, Powah.config().generators.magmators, tier);
setDefaultState();
}

@Override
Expand Down
1 change: 1 addition & 0 deletions src/main/java/owmii/powah/lib/block/PowahBaseBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public PowahBaseBlock(Properties properties) {
this.shapes.put(Direction.SOUTH, Shapes.block());
this.shapes.put(Direction.EAST, Shapes.block());
this.shapes.put(Direction.WEST, Shapes.block());
setDefaultState();
}

public static VoxelShape box(double x1, double y1, double z1, double x2, double y2, double z2) {
Expand Down
Loading