public abstract class BlockForestrySlab<T extends java.lang.Enum<T> & IWoodType> extends net.minecraft.block.BlockSlab implements IWoodTyped, IItemModelRegister, IStateMapperRegister
net.minecraft.block.BlockSlab.EnumBlockHalf| Modifier and Type | Field and Description |
|---|---|
protected static int |
VARIANTS_PER_BLOCK |
BLOCK_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| Modifier | Constructor and Description |
|---|---|
protected |
BlockForestrySlab(boolean fireproof,
int blockNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
int |
damageDropped(net.minecraft.block.state.IBlockState state) |
float |
getBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
WoodBlockKind |
getBlockKind() |
int |
getBlockNumber() |
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) |
net.minecraft.item.ItemStack |
getItem(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
java.lang.String |
getTranslationKey(int meta) |
java.lang.Comparable<?> |
getTypeForItem(net.minecraft.item.ItemStack stack) |
abstract PropertyWoodType<T> |
getVariant() |
net.minecraft.block.properties.IProperty |
getVariantProperty() |
abstract T |
getWoodType(int meta) |
java.util.Collection<T> |
getWoodTypes() |
boolean |
isFireproof() |
void |
registerModel(net.minecraft.item.Item item,
IModelManager manager) |
void |
registerStateMapper() |
canSilkHarvest, doesSideBlockRendering, getBlockFaceShape, getBoundingBox, getStateForPlacement, isDouble, isFullCube, isHalfSlab, isOpaqueCube, isTopSolid, quantityDropped, shouldSideBeRenderedaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, disableStats, doesSideBlockChestOpening, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockLiquidHeight, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getPushReaction, getRenderLayer, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationprotected static final int VARIANTS_PER_BLOCK
protected BlockForestrySlab(boolean fireproof,
int blockNumber)
public boolean isFireproof()
isFireproof in interface IWoodTypedpublic abstract PropertyWoodType<T> getVariant()
public int getBlockNumber()
protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta in class net.minecraft.block.Blockpublic abstract T getWoodType(int meta)
getWoodType in interface IWoodTypedpublic int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Blockpublic int damageDropped(net.minecraft.block.state.IBlockState state)
damageDropped in class net.minecraft.block.Blockpublic net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune)
getItemDropped in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getItem(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
getItem in class net.minecraft.block.Blockpublic void registerModel(net.minecraft.item.Item item,
IModelManager manager)
registerModel in interface IItemModelRegisterpublic java.lang.String getTranslationKey(int meta)
getTranslationKey in class net.minecraft.block.BlockSlabpublic void getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Blockpublic 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.Blockpublic WoodBlockKind getBlockKind()
getBlockKind in interface IWoodTypedpublic net.minecraft.block.properties.IProperty getVariantProperty()
getVariantProperty in class net.minecraft.block.BlockSlabpublic java.lang.Comparable<?> getTypeForItem(net.minecraft.item.ItemStack stack)
getTypeForItem in class net.minecraft.block.BlockSlabpublic java.util.Collection<T> getWoodTypes()
getWoodTypes in interface IWoodTypedpublic void registerStateMapper()
registerStateMapper in interface IStateMapperRegister