Working in part placement
This commit is contained in:
@@ -189,7 +189,7 @@ public class DriveBlockEntity extends AENetworkInvBlockEntity implements IChestO
|
||||
if (idx > 0) {
|
||||
--idx;
|
||||
String itemId = uniqueStrs[idx];
|
||||
item = ForgeRegistries.ITEMS.getValue(new Identifier(itemId));
|
||||
item = Registry.ITEM.get(new Identifier(itemId));
|
||||
}
|
||||
if (cellItems[i] != item) {
|
||||
changed = true;
|
||||
|
||||
@@ -153,7 +153,7 @@ public class IOPortBlockEntity extends AENetworkInvBlockEntity
|
||||
}
|
||||
|
||||
public void updateRedstoneState() {
|
||||
final YesNo currentState = this.world.getRedstonePowerFromNeighbors(this.pos) != 0 ? YesNo.YES : YesNo.NO;
|
||||
final YesNo currentState = this.world.getReceivedRedstonePower(this.pos) != 0 ? YesNo.YES : YesNo.NO;
|
||||
if (this.lastRedstoneState != currentState) {
|
||||
this.lastRedstoneState = currentState;
|
||||
this.updateTask();
|
||||
|
||||
Reference in New Issue
Block a user