|
EvenBetterArcheology unspecified
|


Public Member Functions | |
| ArcheologyTableBlockEntity (BlockPos pos, BlockState state) | |
| Text | getDisplayName () |
| ScreenHandler | createMenu (int syncId, PlayerInventory playerInventory, PlayerEntity player) |
| void | readNbt (NbtCompound nbt) |
| boolean | canExtract (int slot, ItemStack stack, Direction side) |
| Returns true if the stack can be extracted from the slot at the side. More... | |
| boolean | canInsert (int slot, ItemStack stack, @Nullable Direction side) |
| Returns true if the stack can be inserted in the slot at the side. More... | |
Public Member Functions inherited from de.sakurajin.evenbetterarcheology.api.block.entity.BlockEntityWithInventory | |
| BlockEntityWithInventory (BlockEntityType<?> type, BlockPos pos, BlockState state, DefaultedList< ItemStack > inventory) | |
| DefaultedList< ItemStack > | getItems () |
| Gets the item list of this inventory. More... | |
| int[] | getAvailableSlots (Direction side) |
| Gets the available slots to automation on the side. More... | |
| boolean | canInsert (int slot, ItemStack stack, @Nullable Direction side) |
| Returns true if the stack can be inserted in the slot at the side. More... | |
| boolean | canExtract (int slot, ItemStack stack, Direction side) |
| Returns true if the stack can be extracted from the slot at the side. More... | |
| int | size () |
| Returns the inventory size. More... | |
| boolean | isEmpty () |
| ItemStack | getStack (int slot) |
| Gets the item in the slot. More... | |
| ItemStack | removeStack (int slot, int count) |
| Takes a stack of the size from the slot. More... | |
| ItemStack | removeStack (int slot) |
Removes the current stack in the slot and returns it. More... | |
| void | setStack (int slot, ItemStack stack) |
Replaces the current stack in the slot with the provided stack. More... | |
| List< ItemStack > | getInventoryContents () |
| void | setInventory (DefaultedList< ItemStack > inventory) |
| void | clear () |
| Clears the item list}. More... | |
| void | markDirty () |
| boolean | canPlayerUse (PlayerEntity player) |
| void | transferDataToClients () |
| void | transferDataToClients (PlayerEntity player) |
| void | requestDataTransfer () |
Static Public Member Functions | |
| static void | tick (World world, BlockPos blockPos, BlockState blockState, ArcheologyTableBlockEntity entity) |
Static Public Attributes | |
| static final int | PROPERTY_DELEGATES = 2 |
Protected Member Functions | |
| void | writeNbt (NbtCompound nbt) |
Protected Attributes | |
| final PropertyDelegate | propertyDelegate |
Protected Attributes inherited from de.sakurajin.evenbetterarcheology.api.block.entity.BlockEntityWithInventory | |
| final DefaultedList< ItemStack > | inventory |
| de.sakurajin.evenbetterarcheology.block.entity.ArcheologyTableBlockEntity.ArcheologyTableBlockEntity | ( | BlockPos | pos, |
| BlockState | state | ||
| ) |
| boolean de.sakurajin.evenbetterarcheology.block.entity.ArcheologyTableBlockEntity.canExtract | ( | int | slot, |
| ItemStack | stack, | ||
| Direction | side | ||
| ) |
Returns true if the stack can be extracted from the slot at the side.
The default implementation returns true.
| slot | the slot |
| stack | the stack |
| side | the side |
Reimplemented from de.sakurajin.evenbetterarcheology.api.block.entity.BlockEntityWithInventory.
| boolean de.sakurajin.evenbetterarcheology.block.entity.ArcheologyTableBlockEntity.canInsert | ( | int | slot, |
| ItemStack | stack, | ||
| @Nullable Direction | side | ||
| ) |
Returns true if the stack can be inserted in the slot at the side.
The default implementation returns true.
| slot | the slot |
| stack | the stack |
| side | the side |
Reimplemented from de.sakurajin.evenbetterarcheology.api.block.entity.BlockEntityWithInventory.
| ScreenHandler de.sakurajin.evenbetterarcheology.block.entity.ArcheologyTableBlockEntity.createMenu | ( | int | syncId, |
| PlayerInventory | playerInventory, | ||
| PlayerEntity | player | ||
| ) |
| Text de.sakurajin.evenbetterarcheology.block.entity.ArcheologyTableBlockEntity.getDisplayName | ( | ) |
| void de.sakurajin.evenbetterarcheology.block.entity.ArcheologyTableBlockEntity.readNbt | ( | NbtCompound | nbt | ) |
|
static |
|
protected |
|
static |
|
protected |