public class LecternBlock extends ContainerBlock
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static DirectionProperty |
FACING |
static VoxelShape |
field_220159_d |
static VoxelShape |
field_220160_e |
static VoxelShape |
field_220161_f |
static VoxelShape |
field_220162_g |
static VoxelShape |
field_220163_w |
static VoxelShape |
field_220164_h |
static VoxelShape |
field_220165_i |
static VoxelShape |
field_220166_j |
static VoxelShape |
field_220167_k |
static BooleanProperty |
HAS_BOOK |
static BooleanProperty |
POWERED |
BLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomlydelegate| Modifier | Constructor and Description |
|---|---|
protected |
LecternBlock(Block.Properties properties) |
eventReceivedaddInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, func_220055_a, func_220064_c, func_220080_a, getBlockFromItem, getBlockHardness, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getTags, getTranslationKey, getValidBlockForPosition, harvestBlock, hasCustomBreakingProgress, hasSolidSide, hasTileEntity, isAir, isDirt, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, propagatesSkylightDown, randomTick, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, spawnDrops, 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, canRenderInLayer, catchFire, collisionExtendsVertically, createTileEntity, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final DirectionProperty FACING
public static final BooleanProperty POWERED
public static final BooleanProperty HAS_BOOK
public static final VoxelShape field_220159_d
public static final VoxelShape field_220160_e
public static final VoxelShape field_220161_f
public static final VoxelShape field_220162_g
public static final VoxelShape field_220164_h
public static final VoxelShape field_220165_i
public static final VoxelShape field_220166_j
public static final VoxelShape field_220167_k
public static final VoxelShape field_220163_w
protected LecternBlock(Block.Properties properties)
public BlockRenderType getRenderType(BlockState state)
getRenderType in class ContainerBlockpublic VoxelShape getRenderShape(BlockState state, IBlockReader worldIn, BlockPos pos)
getRenderShape in class Blockpublic boolean func_220074_n(BlockState state)
func_220074_n in class Blockpublic BlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class Blockpublic VoxelShape getCollisionShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
getCollisionShape in class Blockpublic VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
public BlockState rotate(BlockState state, Rotation rot)
public BlockState mirror(BlockState state, Mirror mirrorIn)
protected void fillStateContainer(StateContainer.Builder<Block,BlockState> builder)
fillStateContainer in class Block@Nullable public TileEntity createNewTileEntity(IBlockReader worldIn)
public static boolean tryPlaceBook(World worldIn, BlockPos pos, BlockState state, ItemStack stack)
public static void setHasBook(World worldIn, BlockPos pos, BlockState state, boolean hasBook)
public static void pulse(World worldIn, BlockPos pos, BlockState state)
public void tick(BlockState state, World worldIn, BlockPos pos, java.util.Random random)
public void onReplaced(BlockState state, World worldIn, BlockPos pos, BlockState newState, boolean isMoving)
onReplaced in class Blockpublic boolean canProvidePower(BlockState state)
canProvidePower in class Blockpublic int getWeakPower(BlockState blockState, IBlockReader blockAccess, BlockPos pos, Direction side)
getWeakPower in class Blockpublic int getStrongPower(BlockState blockState, IBlockReader blockAccess, BlockPos pos, Direction side)
getStrongPower in class Blockpublic boolean hasComparatorInputOverride(BlockState state)
hasComparatorInputOverride in class Blockpublic int getComparatorInputOverride(BlockState blockState, World worldIn, BlockPos pos)
getComparatorInputOverride in class Blockpublic boolean onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit)
onBlockActivated in class Block@Nullable public INamedContainerProvider getContainer(BlockState state, World worldIn, BlockPos pos)
getContainer in class ContainerBlockpublic boolean allowsMovement(BlockState state, IBlockReader worldIn, BlockPos pos, PathType type)
allowsMovement in class Block