public class BlockForestryStairs<T extends java.lang.Enum<T> & IWoodType> extends net.minecraft.block.BlockStairs implements IWoodTyped, IItemModelRegister, IStateMapperRegister
net.minecraft.block.BlockStairs.EnumHalf, net.minecraft.block.BlockStairs.EnumShapeAABB_OCT_BOT_NE, AABB_OCT_BOT_NW, AABB_OCT_BOT_SE, AABB_OCT_BOT_SW, AABB_OCT_TOP_NE, AABB_OCT_TOP_NW, AABB_OCT_TOP_SE, AABB_OCT_TOP_SW, AABB_QTR_BOT_EAST, AABB_QTR_BOT_NORTH, AABB_QTR_BOT_SOUTH, AABB_QTR_BOT_WEST, AABB_QTR_TOP_EAST, AABB_QTR_TOP_NORTH, AABB_QTR_TOP_SOUTH, AABB_QTR_TOP_WEST, AABB_SLAB_BOTTOM, AABB_SLAB_TOP, FACING, HALF, SHAPEBLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
BlockForestryStairs(boolean fireproof,
net.minecraft.block.state.IBlockState modelState,
T woodType) |
| Modifier and Type | Method and Description |
|---|---|
float |
getBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
WoodBlockKind |
getBlockKind() |
int |
getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
int |
getFlammability(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
T |
getWoodType(int meta) |
java.util.Collection<T> |
getWoodTypes() |
boolean |
isFireproof() |
void |
registerModel(net.minecraft.item.Item item,
IModelManager manager) |
void |
registerStateMapper() |
addCollisionBoxToList, breakBlock, canCollideCheck, canPlaceBlockAt, collisionRayTrace, createBlockState, doesSideBlockRendering, getActualState, getBlockFaceShape, getExplosionResistance, getMapColor, getMetaFromState, getPackedLightmapCoords, getRenderLayer, getSelectedBoundingBox, getStateForPlacement, getStateFromMeta, isBlockStairs, isCollidable, isFullCube, isOpaqueCube, isTopSolid, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onEntityWalk, onExplosionDestroy, onPlayerDestroy, randomDisplayTick, tickRate, updateTick, withMirror, withRotationaddCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockLiquidHeight, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMaterial, getOffset, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getPushReaction, getRenderType, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTranslucent, isWood, neighborChanged, observedNeighborChange, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toStringpublic BlockForestryStairs(boolean fireproof,
net.minecraft.block.state.IBlockState modelState,
T woodType)
public void registerModel(net.minecraft.item.Item item,
IModelManager manager)
registerModel in interface IItemModelRegisterpublic void registerStateMapper()
registerStateMapper in interface IStateMapperRegisterpublic boolean isFireproof()
isFireproof in interface IWoodTypedpublic WoodBlockKind getBlockKind()
getBlockKind in interface IWoodTypedpublic T getWoodType(int meta)
getWoodType in interface IWoodTypedpublic java.util.Collection<T> getWoodTypes()
getWoodTypes in interface IWoodTypedpublic float getBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
getBlockHardness in class net.minecraft.block.Blockpublic int getFlammability(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
getFlammability in class net.minecraft.block.Blockpublic int getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
getFireSpreadSpeed in class net.minecraft.block.Block