public abstract class BlockTileGuiTank extends org.cyclops.cyclopscore.block.BlockTileGui implements org.cyclops.cyclopscore.item.IInformationProvider, IBlockTank
net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.PropertiesBLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer| Constructor and Description |
|---|
BlockTileGuiTank(net.minecraft.block.AbstractBlock.Properties properties,
java.util.function.Supplier<org.cyclops.cyclopscore.tileentity.CyclopsTileEntity> tileEntitySupplier) |
| Modifier and Type | Method and Description |
|---|---|
int |
getComparatorInputOverride(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
net.minecraft.util.text.IFormattableTextComponent |
getInfo(net.minecraft.item.ItemStack itemStack) |
boolean |
hasComparatorInputOverride(net.minecraft.block.BlockState blockState) |
boolean |
isActivatable() |
boolean |
isActivated(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
If the given item is activated.
|
net.minecraft.util.ActionResultType |
onBlockActivated(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult rayTraceResult) |
void |
onReplaced(net.minecraft.block.BlockState oldState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState newState,
boolean isMoving) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag iTooltipFlag) |
net.minecraft.item.ItemStack |
toggleActivation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player)
Toggle the activation of the item.
|
createNewTileEntity, getDroppedItemStack, getDroppedItemStackNbt, getPickBlock, getRenderType, isPersistNbt, onBlockHarvestedaddInformation, animateTick, asItem, canDropFromExplosion, cannotAttach, canSpawnInBlock, canSustainPlant, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillStateContainer, fillWithRain, getBlockFromItem, getDefaultState, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getSelf, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateForPlacement, getStateId, getTags, getTranslatedName, getTranslationKey, getValidBlockForPosition, harvestBlock, hasEnoughSolidSide, hasSolidSideOnTop, isIn, isOpaque, isVariableOpacity, makeCuboidShape, matchesBlock, nudgeEntitiesWithNewState, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, replaceBlock, replaceBlockState, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toStringallowsMovement, canProvidePower, getAmbientOcclusionLightValue, getCollisionShape, getCollisionShape, getDrops, getFluidState, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderShape, getShape, getStrongPower, getWeakPower, isAir, isReplaceable, isReplaceable, isSideInvisible, isTileEntityProvider, isTransparent, isValidPosition, mirror, neighborChanged, onBlockAdded, onBlockClicked, onEntityCollision, onProjectileCollision, randomTick, rotate, spawnAdditionalDrops, tick, updateDiagonalNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultCapacitygetOpenStat, onBlockActivatedHook, writeExtraGuiDataaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic BlockTileGuiTank(net.minecraft.block.AbstractBlock.Properties properties,
java.util.function.Supplier<org.cyclops.cyclopscore.tileentity.CyclopsTileEntity> tileEntitySupplier)
public boolean hasComparatorInputOverride(net.minecraft.block.BlockState blockState)
hasComparatorInputOverride in class net.minecraft.block.AbstractBlockpublic int getComparatorInputOverride(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
getComparatorInputOverride in class net.minecraft.block.AbstractBlockpublic net.minecraft.util.ActionResultType onBlockActivated(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult rayTraceResult)
onBlockActivated in class org.cyclops.cyclopscore.block.BlockTileGuipublic net.minecraft.util.text.IFormattableTextComponent getInfo(net.minecraft.item.ItemStack itemStack)
getInfo in interface org.cyclops.cyclopscore.item.IInformationProviderpublic void provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag iTooltipFlag)
provideInformation in interface org.cyclops.cyclopscore.item.IInformationProviderpublic boolean isActivatable()
isActivatable in interface IBlockTankpublic net.minecraft.item.ItemStack toggleActivation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player)
IBlockTanktoggleActivation in interface IBlockTankitemStack - The item.world - The world.player - The player holding the item.public boolean isActivated(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
IBlockTankisActivated in interface IBlockTankitemStack - The item.world - The world.public void onReplaced(net.minecraft.block.BlockState oldState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState newState,
boolean isMoving)
onReplaced in class net.minecraft.block.AbstractBlock