public abstract class MachineTile<T extends MachineTile<T>> extends PoweredTile<T> implements IMachine
| Constructor and Description |
|---|
MachineTile(BasicTileBlock<T> basicTileBlock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAcceptAugment(net.minecraft.item.ItemStack augment) |
IFactory<? extends IScreenAddon> |
getAugmentBackground() |
IFactory<InventoryComponent<T>> |
getAugmentFactory() |
java.util.List<net.minecraft.item.ItemStack> |
getInstalledAugments() |
java.util.List<net.minecraft.item.ItemStack> |
getInstalledAugments(IAugmentType filter) |
boolean |
hasAugmentInstalled(IAugmentType augmentType) |
boolean |
isActive() |
boolean |
isPaused() |
net.minecraft.util.ActionResultType |
onActivated(net.minecraft.entity.player.PlayerEntity playerIn,
net.minecraft.util.Hand hand,
net.minecraft.util.Direction facing,
double hitX,
double hitY,
double hitZ) |
createEnergyStorage, getCapability, getContainerAddons, getEnergyStorage, getScreenAddons, getValidEnergyFaces, invalidateCaps, setShowEnergyaddBundle, addButton, addContainerAddonFactory, addFilter, addGuiAddonFactory, addInventory, addProgressBar, addTank, canInteract, createMenu, getAssetProvider, getComponentWorld, getDisplayName, getFacingDirection, getFacingHandlerWorkAmount, getFacingHandlerWorkTime, getHandlerFromName, getMultiButtonComponent, getMultiInventoryComponent, getSelf, getWorldPosCallable, handleButtonMessage, markComponentDirty, markComponentForUpdate, onNeighborChanged, openGui, tickgetBasicTileBlock, getUpdatePacket, getUpdateTag, handleSyncObject, isClient, isServer, markForUpdate, onDataPacket, read, syncObject, updateNeigh, writeaddInfoToCrashReport, getBlockState, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onChunkUnloaded, onlyOpsCanSetNbt, readTileEntity, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MachineTile(BasicTileBlock<T> basicTileBlock)
public boolean canAcceptAugment(net.minecraft.item.ItemStack augment)
canAcceptAugment in interface IMachinepublic java.util.List<net.minecraft.item.ItemStack> getInstalledAugments()
getInstalledAugments in interface IMachinepublic java.util.List<net.minecraft.item.ItemStack> getInstalledAugments(IAugmentType filter)
getInstalledAugments in interface IMachinepublic boolean hasAugmentInstalled(IAugmentType augmentType)
hasAugmentInstalled in interface IMachinepublic IFactory<InventoryComponent<T>> getAugmentFactory()
public IFactory<? extends IScreenAddon> getAugmentBackground()
public net.minecraft.util.ActionResultType onActivated(net.minecraft.entity.player.PlayerEntity playerIn,
net.minecraft.util.Hand hand,
net.minecraft.util.Direction facing,
double hitX,
double hitY,
double hitZ)
onActivated in class ActiveTile<T extends MachineTile<T>>