@@ -114,7 +114,7 @@ public abstract class MachineBlockEntity extends BlockEntity implements Extended
114
114
*/
115
115
private final MachineType <? extends MachineBlockEntity , ? extends MachineMenu <? extends MachineBlockEntity >> type ;
116
116
117
- private final IoConfig configuration ;
117
+ private final IOConfig configuration ;
118
118
private final SecuritySettings security ;
119
119
private @ NotNull RedstoneMode redstone = RedstoneMode .IGNORE ;
120
120
@@ -214,11 +214,11 @@ protected MachineBlockEntity(@NotNull MachineType<? extends MachineBlockEntity,
214
214
this .type = type ;
215
215
this .name = name ;
216
216
217
- IoFace [] faces = new IoFace [6 ];
217
+ IOFace [] faces = new IOFace [6 ];
218
218
for (int i = 0 ; i < faces .length ; i ++) {
219
- faces [i ] = new InternalIoFace (i );
219
+ faces [i ] = new InternalIOFace (i );
220
220
}
221
- this .configuration = new IoConfig (faces );
221
+ this .configuration = new IOConfig (faces );
222
222
this .security = new InternalSecuritySettings ();
223
223
224
224
this .state = new InternalMachineState ();
@@ -347,7 +347,7 @@ public void setRedstoneMode(@NotNull RedstoneMode redstone) {
347
347
* {@return the IO configuration of this machine}
348
348
*/
349
349
@ Contract (pure = true )
350
- public final @ NotNull IoConfig getIoConfig () {
350
+ public final @ NotNull IOConfig getIOConfig () {
351
351
return this .configuration ;
352
352
}
353
353
@@ -499,7 +499,7 @@ public boolean isActive() {
499
499
@ ApiStatus .Internal
500
500
private @ Nullable EnergyStorage getExposedEnergyStorage (@ Nullable BlockFace face ) {
501
501
if (face == null ) return this .energyStorage ;
502
- return this .getIoConfig ().get (face ).getExposedEnergyStorage (this .energyStorage );
502
+ return this .getIOConfig ().get (face ).getExposedEnergyStorage (this .energyStorage );
503
503
}
504
504
505
505
/**
@@ -533,7 +533,7 @@ public boolean isActive() {
533
533
@ ApiStatus .Internal
534
534
private @ Nullable ExposedStorage <Item , ItemVariant > getExposedItemStorage (@ Nullable BlockFace face ) {
535
535
if (face == null ) return this .createExposedItemStorage (ResourceFlow .BOTH );
536
- return this .getIoConfig ().get (face ).getExposedItemStorage (this ::createExposedItemStorage );
536
+ return this .getIOConfig ().get (face ).getExposedItemStorage (this ::createExposedItemStorage );
537
537
}
538
538
539
539
/**
@@ -576,7 +576,7 @@ protected ExposedStorage<Item, ItemVariant> createExposedItemStorage(ResourceFlo
576
576
@ ApiStatus .Internal
577
577
private @ Nullable ExposedStorage <Fluid , FluidVariant > getExposedFluidStorage (@ Nullable BlockFace face ) {
578
578
if (face == null ) return this .createExposedFluidStorage (ResourceFlow .BOTH );
579
- return this .getIoConfig ().get (face ).getExposedFluidStorage (this ::createExposedFluidStorage );
579
+ return this .getIOConfig ().get (face ).getExposedFluidStorage (this ::createExposedFluidStorage );
580
580
}
581
581
582
582
/**
@@ -884,13 +884,13 @@ public void setAccessLevel(@NotNull AccessLevel accessLevel) {
884
884
/**
885
885
* Subclass that tracks modifications to save and re-render the block entity.
886
886
*/
887
- private class InternalIoFace extends IoFace {
887
+ private class InternalIOFace extends IOFace {
888
888
private final BlockFace face ;
889
889
private @ Nullable ExposedStorage <Item , ItemVariant > cachedItemStorage = null ;
890
890
private @ Nullable ExposedStorage <Fluid , FluidVariant > cachedFluidStorage = null ;
891
891
private @ Nullable EnergyStorage cachedEnergyStorage = null ;
892
892
893
- public InternalIoFace (int i ) {
893
+ public InternalIOFace (int i ) {
894
894
super (ResourceType .NONE , ResourceFlow .BOTH );
895
895
this .face = BlockFace .values ()[i ];
896
896
}
0 commit comments