public class BlockSanguinaryPedestal extends org.cyclops.cyclopscore.block.BlockTile implements IBlockRarityProvider, IBlockTank
| Constructor and Description |
|---|
BlockSanguinaryPedestal(net.minecraft.block.Block.Properties properties,
int tier) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultCapacity()
Get the default capacity possible for this item/blockState type.
|
net.minecraft.item.Rarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
int |
getTier() |
boolean |
isActivatable() |
boolean |
isActivated(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
If the given item is activated.
|
boolean |
isNormalCube(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.ActionResultType |
onBlockActivated(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn,
net.minecraft.util.math.BlockRayTraceResult p_225533_6_) |
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, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillStateContainer, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getShape, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isOpaque, isOpaqueCube, isReplaceable, isReplaceable, isSideInvisible, isSolid, isTransparent, isValidPosition, isVariableOpacity, isViewBlocking, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic BlockSanguinaryPedestal(net.minecraft.block.Block.Properties properties,
int tier)
public int getTier()
public boolean isNormalCube(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos)
isNormalCube in class net.minecraft.block.Blockpublic net.minecraft.item.Rarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in interface IBlockRarityProvideritemStack - The itemstack with this blockState.public net.minecraft.util.ActionResultType onBlockActivated(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn,
net.minecraft.util.math.BlockRayTraceResult p_225533_6_)
onBlockActivated in class net.minecraft.block.Blockpublic int getDefaultCapacity()
IBlockTankgetDefaultCapacity in interface IBlockTankpublic 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.