Skip to content

Commit

Permalink
Expose some Black Hole Capabilities, closes #1201
Browse files Browse the repository at this point in the history
  • Loading branch information
Buuz135 committed Nov 14, 2021
1 parent c9da953 commit 984f9ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ public ActionResultType onActivated(PlayerEntity playerIn, Hand hand, Direction
return ActionResultType.SUCCESS;
}

public InventoryComponent<BlackHoleControllerTile> getUnitsStorage() {
return units_storage;
}

private class BlackHoleControllerInventory implements IItemHandler{

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public ItemStack getStack(){
return ItemStack.EMPTY;
}

private boolean getVoid(){
public boolean getVoid(){
CompoundNBT tag = getTag();
if (tag != null && tag.contains("voidItems")){
return tag.getBoolean("voidItems");
Expand Down

0 comments on commit 984f9ec

Please sign in to comment.