Reformatted, and ported back some enhancements from the Forge version.

This commit is contained in:
Sebastian Hartte
2020-08-15 02:51:03 +02:00
parent 0a2f03aa92
commit 6c544f2211
358 changed files with 1124 additions and 1831 deletions
@@ -19,13 +19,7 @@
package appeng.tile.storage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.EnumSet;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
import javax.annotation.Nullable;
@@ -93,19 +87,16 @@ public class DriveBlockEntity extends AENetworkInvBlockEntity implements IChestO
/**
* The state of all cells inside a drive as bitset, using the following format.
*
* <p>
* - Bit 31: power state. 0 = off, 1 = on.
*
* <p>
* - Bit 30: reserved
*
* <p>
* - Bit 29-0: 3 bits for the state of each cell
*
* <p>
* Cell states:
*
* <p>
* - Bit 2-0: {@link CellState} ordinal
*
*
*
*/
private int state = 0;
@@ -34,13 +34,7 @@ import net.minecraft.world.World;
import alexiil.mc.lib.attributes.Simulation;
import alexiil.mc.lib.attributes.item.FixedItemInv;
import appeng.api.config.Actionable;
import appeng.api.config.FullnessMode;
import appeng.api.config.OperationMode;
import appeng.api.config.RedstoneMode;
import appeng.api.config.Settings;
import appeng.api.config.Upgrades;
import appeng.api.config.YesNo;
import appeng.api.config.*;
import appeng.api.implementations.IUpgradeableHost;
import appeng.api.networking.GridFlags;
import appeng.api.networking.IGridNode;