public class BlockEndPortalFrame extends Block
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey
Modifier and Type | Field and Description |
---|---|
protected static VoxelShape |
BASE_SHAPE |
protected static VoxelShape |
BASE_WITH_EYE_SHAPE |
static BooleanProperty |
EYE |
protected static VoxelShape |
EYE_SHAPE |
static DirectionProperty |
FACING |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainer
delegate
Constructor and Description |
---|
BlockEndPortalFrame(Block.Properties builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMovement(IBlockState state,
IBlockReader worldIn,
BlockPos pos,
PathType type) |
protected void |
fillStateContainer(StateContainer.Builder<Block,IBlockState> builder) |
BlockFaceShape |
getBlockFaceShape(IBlockReader worldIn,
IBlockState state,
BlockPos pos,
EnumFacing face) |
int |
getComparatorInputOverride(IBlockState blockState,
World worldIn,
BlockPos pos) |
IItemProvider |
getItemDropped(IBlockState state,
World worldIn,
BlockPos pos,
int fortune) |
static BlockPattern |
getOrCreatePortalShape() |
VoxelShape |
getShape(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
IBlockState |
getStateForPlacement(BlockItemUseContext context) |
boolean |
hasComparatorInputOverride(IBlockState state) |
boolean |
isFullCube(IBlockState state) |
IBlockState |
mirror(IBlockState state,
Mirror mirrorIn) |
IBlockState |
rotate(IBlockState state,
Rotation rot) |
addInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacement, useNeighborBrightness
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, 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, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower
public static final DirectionProperty FACING
public static final BooleanProperty EYE
protected static final VoxelShape BASE_SHAPE
protected static final VoxelShape EYE_SHAPE
protected static final VoxelShape BASE_WITH_EYE_SHAPE
public BlockEndPortalFrame(Block.Properties builder)
public VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
public IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
getItemDropped
in class Block
public IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement
in class Block
public boolean hasComparatorInputOverride(IBlockState state)
hasComparatorInputOverride
in class Block
public int getComparatorInputOverride(IBlockState blockState, World worldIn, BlockPos pos)
getComparatorInputOverride
in class Block
public IBlockState rotate(IBlockState state, Rotation rot)
public IBlockState mirror(IBlockState state, Mirror mirrorIn)
protected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer
in class Block
public boolean isFullCube(IBlockState state)
isFullCube
in class Block
public static BlockPattern getOrCreatePortalShape()
public BlockFaceShape getBlockFaceShape(IBlockReader worldIn, IBlockState state, BlockPos pos, EnumFacing face)
getBlockFaceShape
in class Block
public boolean allowsMovement(IBlockState state, IBlockReader worldIn, BlockPos pos, PathType type)
allowsMovement
in class Block