public class BlockBanner extends BlockAbstractBanner
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static IntegerProperty |
ROTATION |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Constructor and Description |
|---|
BlockBanner(EnumDyeColor p_i48448_1_,
Block.Properties builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillStateContainer(StateContainer.Builder<Block,IBlockState> builder) |
static Block |
forColor(EnumDyeColor p_196287_0_) |
VoxelShape |
getShape(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
IBlockState |
getStateForPlacement(BlockItemUseContext context) |
boolean |
isValidPosition(IBlockState state,
IWorldReaderBase worldIn,
BlockPos pos) |
IBlockState |
mirror(IBlockState state,
Mirror mirrorIn) |
IBlockState |
rotate(IBlockState state,
Rotation rot) |
IBlockState |
updatePostPlacement(IBlockState stateIn,
EnumFacing facing,
IBlockState facingState,
IWorld worldIn,
BlockPos currentPos,
BlockPos facingPos) |
canSpawnInBlock, createNewTileEntity, dropBlockAsItemWithChance, getBlockFaceShape, getColor, getDrops, getItem, getItemDropped, harvestBlock, isFullCube, onBlockPlacedByeventReceived, getRenderType, onReplacedaddInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, 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, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final IntegerProperty ROTATION
public BlockBanner(EnumDyeColor p_i48448_1_, Block.Properties builder)
public boolean isValidPosition(IBlockState state, IWorldReaderBase worldIn, BlockPos pos)
isValidPosition in class Blockpublic VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
public IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class Blockpublic IBlockState updatePostPlacement(IBlockState stateIn, EnumFacing facing, IBlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement in class Blockpublic IBlockState rotate(IBlockState state, Rotation rot)
public IBlockState mirror(IBlockState state, Mirror mirrorIn)
protected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer in class Blockpublic static Block forColor(EnumDyeColor p_196287_0_)