Skip to content

Commit 89497f6

Browse files
authored
[CI Skip] I am sorry art comment moove (#105)
* Moved comments 1 * Move comments 2 * Moved comments 3 * Moved comments 4 * Moved comments 5 * Moved comments 6 * Moved comments 7 * Moved comments 8 * Moved comments 9 * Moved comments 10 * Moved comments 11 * Moved comments 12 * Moved comments 13 * Moved comments 14 * Moved comments 15 * Moved comments 16 * Moved comments 16
1 parent dbcee02 commit 89497f6

17 files changed

Lines changed: 61 additions & 31 deletions

File tree

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/items/AbstractProcessingMachine.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@
2424
public abstract class AbstractProcessingMachine extends BaseSTBMachine {
2525

2626
private static final long PROGRESS_INTERVAL = 10;
27-
private double progress; // ticks remaining till this work cycle is done
27+
// ticks remaining till this work cycle is done
28+
private double progress;
2829
private int progressMeterId;
2930
private ItemStack processing;
30-
private int ejectionInterval = 1; // try to eject every tick by default
31-
31+
// try to eject every tick by default
32+
private int ejectionInterval = 1;
33+
3234
protected AbstractProcessingMachine() {
3335
super();
3436
}

src/main/java/io/github/thebusybiscuit/sensibletoolbox/api/items/BaseSTBMachine.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ public abstract class BaseSTBMachine extends BaseSTBBlock implements ChargeableB
6262

6363
private double charge;
6464
private ChargeDirection chargeDirection;
65-
private boolean jammed; // true if no space in output slots for processing result
65+
// true if no space in output slots for processing result
66+
private boolean jammed;
6667
private EnergyCell installedCell;
6768
private double speedMultiplier;
6869
private double powerMultiplier;
@@ -76,7 +77,8 @@ public abstract class BaseSTBMachine extends BaseSTBBlock implements ChargeableB
7677
private int regulatorAmount;
7778
private int thoroughnessAmount;
7879
private String chargeLabel;
79-
private int charge8; // a 0..7 value representing charge boundaries
80+
// a 0..7 value representing charge boundaries
81+
private int charge8;
8082

8183
protected BaseSTBMachine() {
8284
super();

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/AngelicBlock.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ public void onBlockDamage(BlockDamageEvent event) {
113113

114114
@Override
115115
public boolean onEntityExplode(EntityExplodeEvent event) {
116-
return false; // immune to explosions
116+
// immune to explosions
117+
return false;
117118
}
118119

119120
@Override

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/AutoBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ public boolean onSlotClick(HumanEntity player, int slot, ClickType click, ItemSt
488488
setStatus(setupWorkArea());
489489
}
490490

491-
return false; // we just put a copy of the land marker into the builder
491+
// we just put a copy of the land marker into the builder
492+
return false;
492493
} else {
493494
return super.onSlotClick(player, slot, click, inSlot, onCursor);
494495
}
@@ -509,7 +510,8 @@ public int onShiftClickInsert(HumanEntity player, int slot, ItemStack toInsert)
509510
} else {
510511
STBUtil.complain((Player) player, "Land Marker doesn't have a location set!");
511512
}
512-
return 0; // we just put a copy of the land marker into the builder
513+
// we just put a copy of the land marker into the builder
514+
return 0;
513515
} else {
514516
return super.onShiftClickInsert(player, slot, toInsert);
515517
}

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/BigStorageUnit.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,8 @@ public void onBlockUnregistered(Location location) {
341341
if (getProcessing() != null && dropsItemsOnBreak()) {
342342
// dump contents on floor (could make a big mess)
343343
Location current = getLocation();
344-
storageAmount = Math.min(4096, storageAmount); // max 64 stacks will be dropped
344+
// max 64 stacks will be dropped
345+
storageAmount = Math.min(4096, storageAmount);
345346

346347
while (storageAmount > 0) {
347348
ItemStack stack = stored.clone();

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/FishingNet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
public class FishingNet extends AbstractProcessingMachine {
2020

21-
private static final int FISHING_TIME = 600; // 600 ticks (30 Seconds) to catch a Fish
21+
// 600 ticks (30 Seconds) to catch a Fish
22+
private static final int FISHING_TIME = 600;
2223

2324
private static final ItemStack[] fish = { new ItemStack(Material.COD), new ItemStack(Material.SALMON), new ItemStack(Material.PUFFERFISH), new ItemStack(Material.TROPICAL_FISH) }; // Catchable
2425
// Fish

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/HeatEngine.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ public int[] getInputSlots() {
7676

7777
@Override
7878
public int[] getOutputSlots() {
79-
return new int[0]; // no output slot
79+
// no output slot
80+
return new int[0];
8081
}
8182

8283
@Override

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/HyperStorageUnit.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ public int getChargeMeterSlot() {
7777

7878
@Override
7979
public int getStackCapacity() {
80-
return 33554431; // 2^31 items for a 64-item stack
80+
// 2^31 items for a 64-item stack
81+
return 33554431;
8182
}
8283

8384
@Override

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/Pump.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222

2323
public class Pump extends AbstractProcessingMachine {
2424

25-
private static final int PUMP_FILL_TIME = 40; // 40 ticks to fill a bucket
26-
private BlockFace pumpFace = BlockFace.DOWN; // will be configurable later
25+
// 40 ticks to fill a bucket
26+
private static final int PUMP_FILL_TIME = 40;
27+
// will be configurable later
28+
private BlockFace pumpFace = BlockFace.DOWN;
2729

2830
public Pump() {
2931
super();

src/main/java/io/github/thebusybiscuit/sensibletoolbox/blocks/machines/Smelter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public class Smelter extends AbstractIOMachine {
2525

2626
private static int getProcessingTime(ItemStack stack) {
2727
if (stack.getType().isEdible()) {
28-
return 40; // food cooks a lot quicker than ores etc.
28+
// food cooks a lot quicker than ores etc.
29+
return 40;
2930
}
3031

3132
return 120;

0 commit comments

Comments
 (0)