Package api.block.blocks
Class SidingAndCornerAndDecorativeBlock
java.lang.Object
net.minecraft.src.Block
api.block.blocks.SidingAndCornerBlock
api.block.blocks.SidingAndCornerAndDecorativeBlock
- Direct Known Subclasses:
SidingAndCornerAndDecorativeWallBlock,WoodSidingAndCornerAndDecorativeBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final floatprotected static final floatprotected static final floatprotected static final floatstatic final intstatic final intstatic final intstatic final intFields inherited from class api.block.blocks.SidingAndCornerBlock
CORNER_WIDTH, CORNER_WIDTH_OFFSET, SIDING_HEIGHTFields inherited from class net.minecraft.src.Block
anvil, beacon, bed, bedrock, blockClay, blockConstructorCalled, blockDiamond, blockEmerald, blockGold, blockHardness, blockIcon, blockID, blockIron, blockLapis, blockMaterial, blockNetherQuartz, blockParticleGravity, blockRedstone, blockReplaced, blockReplacedBy, blockResistance, blocksList, blockSnow, bookShelf, brewingStand, brick, cactus, cake, canBlockGrass, carpet, carrot, cauldron, chest, chestTrapped, cloth, coalBlock, cobblestone, cobblestoneMossy, cobblestoneWall, cocoaPlant, commandBlock, crops, currentBlockRenderer, daylightSensor, deadBush, dirt, dispenser, doorIron, doorWood, dragonEgg, dropper, enableStats, enchantmentTable, enderChest, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, flowerPot, furnaceBurning, furnaceIdle, glass, glowStone, grass, gravel, hardenedClay, hasKilnRecipe, hay, hopperBlock, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, melon, melonStem, minX, minY, minZ, mobSpawner, modID, modIDSetter, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, needsRandomTick, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreEmerald, oreGold, oreIron, oreLapis, oreNetherQuartz, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, potato, pressurePlateGold, pressurePlateIron, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railActivator, railDetector, railPowered, redstoneComparatorActive, redstoneComparatorIdle, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, sand, sandStone, sapling, signPost, signWall, silverfish, skull, slipperiness, slowSand, snow, soundAnvilFootstep, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundLadderFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundSnowFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stainedClay, stairsBrick, stairsCobblestone, stairsNetherBrick, stairsNetherQuartz, stairsSandStone, stairsStoneBrick, stairsWoodBirch, stairsWoodJungle, stairsWoodOak, stairsWoodSpruce, stepSound, stone, stoneBrick, stoneButton, stoneDoubleSlab, stoneSingleSlab, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, tripWire, tripWireSource, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, woodDoubleSlab, woodenButton, woodSingleSlab, workbench -
Constructor Summary
ConstructorsConstructorDescriptionSidingAndCornerAndDecorativeBlock(int iBlockID, Material material, String sTextureName, float fHardness, float fResistance, StepSound stepSound, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollisionBoxesToList(World world, int i, int j, int k, AxisAlignedBB axisalignedbb, List list, Entity entity) Adds all intersecting collision boxes to a list.voidaddCollisionBoxesToListForFence(World world, int i, int j, int k, AxisAlignedBB intersectingBox, List list, Entity entity) booleancanGroundCoverRestOnBlock(World world, int i, int j, int k) booleancanLeashKnotOnBlock(World world, int x, int y, int z) booleancanRotateOnTurntable(IBlockAccess blockAccess, int i, int j, int k) booleancanTransmitRotationVerticallyOnTurntable(IBlockAccess blockAccess, int i, int j, int k) collisionRayTrace(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) collisionRayTraceBenchWithLeg(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) collisionRayTraceFence(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) intdamageDropped(int iMetadata) Determines the damage on the item the block drops.booleandoesBenchHaveLeg(IBlockAccess blockAccess, int i, int j, int k) getBlockBoundsFromPoolBasedOnState(IBlockAccess blockAccess, int i, int j, int k) getBlockBoundsFromPoolForBench(IBlockAccess blockAccess, int i, int j, int k) getBlockBoundsFromPoolForFence(IBlockAccess blockAccess, int i, int j, int k) booleangetBlocksMovement(IBlockAccess blockAccess, int i, int j, int k) FCNOTE: This is misnamed and returns true if the block *doesn't* block movementintgetFacing(int iMetadata) voidgetSubBlocks(int iBlockID, CreativeTabs creativeTabs, List list) returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)intgetWeightOnPathBlocked(IBlockAccess blockAccess, int i, int j, int k) floatgroundCoverRestingOnVisualOffset(IBlockAccess blockAccess, int i, int j, int k) booleanhasCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing, boolean bIgnoreTransparency) medium sized attachment points like the top of fence posts (approx 1/4 block width)booleanhasLargeCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing, boolean bIgnoreTransparency) large attachment points that can support a full block widthbooleanisBenchOrTable(int metadata) booleanisBlockBench(IBlockAccess blockAccess, int i, int j, int k) booleanisDecorative(IBlockAccess blockAccess, int i, int j, int k) static booleanisDecorativeFromMetadata(int iMetadata) booleanisFence(int metadata) floatmobSpawnOnVerticalOffset(World world, int i, int j, int k) booleanonBlockActivated(World world, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) Called upon block activation (right click on the block.)intonBlockPlaced(World world, int i, int j, int k, int iFacing, float fClickX, float fClickY, float fClickZ, int iMetadata) Called when a block is placed using its ItemBlock.booleanrenderBench(RenderBlocks renderBlocks, int i, int j, int k) voidrenderBenchInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) booleanrenderBlock(RenderBlocks renderBlocks, int i, int j, int k) voidrenderBlockAsItem(RenderBlocks renderBlocks, int iItemDamage, float fBrightness) booleanrenderFence(RenderBlocks renderBlocks, int i, int j, int k) voidrenderFenceInvBlock(RenderBlocks renderBlocks, Block block, int itemDamage) introtateMetadataAroundYAxis(int iMetadata, boolean bReverse) intsetFacing(int iMetadata, int iFacing) booleanshouldSideBeRendered(IBlockAccess blockAccess, int iNeighborI, int iNeighborJ, int iNeighborK, int iSide) booleanshouldWallFormPostBelowThisBlock(IBlockAccess blockAccess, int x, int y, int z) booleantoggleFacing(World world, int i, int j, int k, boolean bReverse) Cycle through all the possible facings for a block returns true if the facing has actually changed as a result of this callMethods inherited from class api.block.blocks.SidingAndCornerBlock
getCornerAlignmentOffsetAlongAxis, getIsCorner, getIsCorner, idPicked, isCornerFacingXOffset, isCornerFacingYOffset, isCornerFacingZOffset, isOpaqueCube, registerIcons, renderAsNormalBlock, setCornerFacing, setCornerFacingInMetadataMethods inherited from class net.minecraft.src.Block
adjustMetadataForPistonMove, adjustPathWeightOnNotBlocked, areAxesEffectiveOn, arechiselseffectiveon, arechiselseffectiveon, areHoesEffectiveOn, arePicksEffectiveOn, areShovelsEffectiveOn, attachToFacing, attemptToAffectBlockWithSoul, attemptToApplyFertilizerTo, attemptToCombineWithFallingEntity, blocksEndermanPickup, breakBlock, canBeConvertedByMobSpawner, canBeCrushedByFallingEntity, canBeGrazedOn, canBePistonShoveled, canBlockBePulledByPiston, canBlockBePushedByPiston, canBlocksBePlacedAgainstThisBlock, canBlockStay, canBlockStayDuringGenerate, canBlockSuffocateEntity, canCactusGrowOnBlock, canChiselsHarvest, canCollideCheck, canContainPistonPackingToFacing, canConvertBlock, canDomesticatedCropsGrowOnBlock, canDropFromExplosion, canEndermenPickUpBlock, canFallIntoBlockAtPos, canMobsSpawnOn, canNetherWartGrowOnBlock, canPathThroughBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceBlockOnSide, canProvidePower, canRedstoneConnectToSide, canReedsGrowOnBlock, canRotateAroundBlockOnTurntableToFacing, canSaplingsGrowOnBlock, canSilkHarvest, canSilkHarvest, canSpitWebReplaceBlock, canSupportFallingBlocks, canSupportLeaves, canToolsStickInBlock, canToolStickInBlockSpecialCase, canTransmitRotationHorizontallyOnTurntable, canWeedsGrowInBlock, canWildVegetationGrowOnBlock, canWitherDestroyBlock, checkForFall, checkForUnstableGround, clientBlockAdded, clientBreakBlock, clientNotificationOfMetadataChange, collisionRayTraceVsBlockBounds, colorMultiplier, convertBlock, convertBlockFromMobSpawner, convertFacingToBottomTextureRotation, convertFacingToTopTextureRotation, createStackedBlock, cycleFacing, disableStats, doEndermenIgnoreNeighbors, doesBlockBreakSaw, doesBlockDropAsItemOnSaw, doesBlockHopperEject, doesBlockHopperInsert, doesExtinguishFireAbove, doesInfiniteBurnToFacing, doesItemRenderAsBlock, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, dropComponentItemsOnBadBreak, dropItemsIndividually, dropItemsOnDestroyedByExplosion, dropItemsOnDestroyedByMiningCharge, dropXpOnBlockBreak, fillWithRain, func_82506_l, getAmbientOcclusionLightValue, getAsPistonMovingBoundingBox, getBlockBoundsFromPoolForItemRender, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockBrightness, getBlockColor, getBlockHardness, getBlockIDOnInfest, getBlockTexture, getBlockTextureFromSide, getBreakSoundName, getBreakSoundName, getBuoyancy, getCanBeCookedByKiLn, getCanBeSetOnFireDirectly, getCanBeSetOnFireDirectlyByItem, getCanBlightSpreadToBlock, getCanBlockBeIncinerated, getCanBlockBeReplacedByFire, getCanBlockLightItemOnFire, getCanGrassGrowUnderBlock, getCanGrassSpreadToBlock, getCanMyceliumSpreadToBlock, getChanceOfFireSpreadingDirectlyTo, getChickenItemFoodValue, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getConvertsLegacySoil, getCookTimeMultiplierInKiLn, getCreativeTabToDisplayOn, getDamageValue, getDoesFireDamageToEntities, getDoesFireDamageToEntities, getDoesStumpRemoverWorkOnBlock, getEfficientToolLevel, getEnableStats, getExplosionResistance, getExplosionResistance, getFacing, getFixedBlockBoundsFromPool, getFullBlockBoundingBoxFromPool, getFurnaceBurnTime, getHarvestToolLevel, getHerbivoreItemFoodValue, getHopperFilterIcon, getIcon, getIconByIndex, getIsBlockWarm, getIsFertilizedForPlantGrowth, getIsProblemToRemove, getItemIconName, getLightValue, getLightValueForBlock, getLocalizedName, getMapColor, getMechanicalPowerLevelProvidedToAxleAtFacing, getMetadataConversionForStrataLevel, getMixedBrightnessForBlock, getMobilityFlag, getModId, getMovementModifier, getNewMetadataRotatedAroundBlockOnTurntableToFacing, getOppositeFacing, getOutputsWhenCookedByKiln, getPigItemFoodValue, getPistonShovelEjectDirection, getPlaceSoundName, getPlaceSoundName, getPlantGrowthOnMultiplier, getPlayerRelativeBlockHardness, getPreventsFluidFlow, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSelectedBoundingBoxFromPool, getStackRetrievedByBlockDispenser, getStepSound, getStepSound, getStepSoundInternal, getStepSoundName, getStepSoundName, getTextureName, getTickRandomly, getUnlocalizedName, getUnlocalizedName2, getWeedsGrowthLevel, harvestBlock, hasCenterHardPointToFacing, hasComparatorInputOverride, hasComparatorInputOverride, hasContactPointToFullFace, hasContactPointToSlabSideFace, hasContactPointToStairNarrowVerticalFace, hasContactPointToStairShapedFace, hasFallingBlockRestingOn, hasLargeCenterHardPointToFacing, hasMortar, hasNeighborWithMortarInContact, hasSmallCenterHardPointToFacing, hasSmallCenterHardPointToFacing, hasStickySnowNeighborInContact, hasStrata, hasTileEntity, hasWaterToSidesOrTop, hideFromEMI, hideFromEMI, idDropped, infestBlock, initBlockBounds, initBlockBounds, initializeBlock, installationIntegrityTest, isAirBlock, isAssociatedBlockID, isAssociatedBlockID, isBlockAttachedToFacing, isBlockClimbable, isBlockDestroyedByBlockDispenser, isBlockHydratedForPlantGrowthOn, isBlockInfestable, isBlockInfestedBy, isBlockRestingOnThatBelow, isBlockSolid, isBreakableBarricade, isBreakableBarricadeOpen, isCollidable, isConsideredNeighbouringWaterForReedGrowthOn, isFallingBlock, isFlowerPot, isGroundCover, isIncineratedInCrucible, isLeafBlock, isLog, isNaturalStone, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isRedstoneConductor, isReplaceableVegetation, isSnowCoveringTopSurface, isStairBlock, isStickyToSnow, isWall, mouseOverRayTrace, notifyNearbyAnimalsFinishedFalling, notifyNeighborDirtDugWithImproperTool, notifyNeighborsBlockDisrupted, notifyOfFullStagePlantGrowthOn, notifyOfPlantAboveRemoved, onArrowCollide, onArrowImpact, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByMiningCharge, onBlockDestroyedByPlayer, onBlockDestroyedLandingFromFall, onBlockDestroyedWithImproperTool, onBlockEventReceived, onBlockHarvested, onBlockPlacedBy, onBlockPreDestroy, onBlockSawed, onBlockSawed, onBrokenByPistonPush, onCookedByKiLn, onCraftedOnTurntable, onCreativeBonemealApplied, onCrushedByFallingEntity, onDestroyedByFire, onDirtDugWithImproperTool, onDirtSlabDugWithImproperTool, onEntityCollidedWithBlock, onEntityStepsIn, onEntityWalking, onFallenUpon, onFallingUpdate, onFinishedFalling, onFinishFalling, onFluidFlowIntoBlock, onGrazed, onInfested, onMortarApplied, onNeighborBlockChange, onNeighborDirtDugWithImproperTool, onNeighborDisrupted, onPlayerWalksOnBlock, onPostBlockPlaced, onPreBlockPlacedByPiston, onRemovedByBlockDispenser, onRotatedAroundBlockOnTurntableToFacing, onRotatedOnTurntable, onStartFalling, onStruckByLightning, onVegetationAboveGrazed, postBlockDestroyedByExplosion, postBlockDestroyedByMiningCharge, preBlockPlacedBy, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomUpdateTick, removeWeeds, renderBlockMovedByPiston, renderBlockSecondPass, renderBlockWithTexture, renderCookingByKiLnOverlay, renderCrossHatch, renderFallingBlock, rotateAroundJAxis, rotateFacingAroundY, rotateOnTurntable, scheduleCheckForFall, setAlwaysStartlesAnimals, setAxesEffectiveOn, setAxesEffectiveOn, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockMaterial, setBlockUnbreakable, setBuoyancy, setBuoyant, setChickenItemFoodValue, setChiselsCanHarvest, setChiselsCanHarvest, setChiselsEffectiveOn, setChiselsEffectiveOn, setCreativeTab, setFacing, setFireProperties, setFireProperties, setFurnaceBurnTime, setFurnaceBurnTime, setHardness, setHerbivoreItemFoodValue, setHoesEffectiveOn, setHoesEffectiveOn, setLightOpacity, setLightValue, setMapColorsForMetadata, setModID, setNeutralBuoyant, setNonBuoyant, setOnFireDirectly, setPicksEffectiveOn, setPicksEffectiveOn, setPigItemFoodValue, setResistance, setShovelsEffectiveOn, setShovelsEffectiveOn, setStepSound, setTextureName, setTickRandomly, setUnlocalizedName, shouldDeleteTileEntityOnBlockChange, shouldFenceConnectToThisBlockToFacing, shouldOffsetPositionIfPathingOutOf, shouldPaneConnectToThisBlockToFacing, shouldPlayStandardConvertSound, shouldRenderNeighborFullFaceSide, shouldRenderNeighborHalfSlabSide, shouldRenderWhileFalling, shouldSideBeRenderedOnFallingBlock, shouldWallConnectToThisBlockToFacing, spreadGrassToBlock, spreadMyceliumToBlock, startlesAnimalsWhenPlaced, tickRate, triggersBuddy, turntableCraftingRotation, updateTick, velocityToAddToEntity
-
Field Details
-
SUBTYPE_BENCH
public static final int SUBTYPE_BENCH- See Also:
-
SUBTYPE_FENCE
public static final int SUBTYPE_FENCE- See Also:
-
BENCH_TOP_HEIGHT
protected static final float BENCH_TOP_HEIGHT- See Also:
-
BENCH_LEG_HEIGHT
protected static final float BENCH_LEG_HEIGHT- See Also:
-
BENCH_LEG_WIDTH
protected static final float BENCH_LEG_WIDTH- See Also:
-
BENCH_LEG_HALF_WIDTH
protected static final float BENCH_LEG_HALF_WIDTH- See Also:
-
OAK_BENCH_TOP_TEXTURE_ID
public static final int OAK_BENCH_TOP_TEXTURE_ID- See Also:
-
OAK_BENCH_LEG_TEXTURE_ID
public static final int OAK_BENCH_LEG_TEXTURE_ID- See Also:
-
-
Constructor Details
-
SidingAndCornerAndDecorativeBlock
-
-
Method Details
-
addCollisionBoxesToList
public void addCollisionBoxesToList(World world, int i, int j, int k, AxisAlignedBB axisalignedbb, List list, Entity entity) Description copied from class:BlockAdds all intersecting collision boxes to a list. (Be sure to only add boxes to the list if they intersect the mask.) Parameters: World, X, Y, Z, mask, list, colliding entity // +++START EDIT+++ FCNOTE: The "mask" referred to above is just the bounding box to check for intersection with // ---END EDIT---- Overrides:
addCollisionBoxesToListin classBlock
-
getBlockBoundsFromPoolBasedOnState
public AxisAlignedBB getBlockBoundsFromPoolBasedOnState(IBlockAccess blockAccess, int i, int j, int k) - Overrides:
getBlockBoundsFromPoolBasedOnStatein classSidingAndCornerBlock
-
collisionRayTrace
public MovingObjectPosition collisionRayTrace(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) - Overrides:
collisionRayTracein classBlock
-
onBlockPlaced
public int onBlockPlaced(World world, int i, int j, int k, int iFacing, float fClickX, float fClickY, float fClickZ, int iMetadata) Description copied from class:BlockCalled when a block is placed using its ItemBlock. Args: World, X, Y, Z, side, hitX, hitY, hitZ, block metadata- Overrides:
onBlockPlacedin classSidingAndCornerBlock
-
hasCenterHardPointToFacing
public boolean hasCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing, boolean bIgnoreTransparency) Description copied from class:Blockmedium sized attachment points like the top of fence posts (approx 1/4 block width)- Overrides:
hasCenterHardPointToFacingin classBlock
-
hasLargeCenterHardPointToFacing
public boolean hasLargeCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing, boolean bIgnoreTransparency) Description copied from class:Blocklarge attachment points that can support a full block width- Overrides:
hasLargeCenterHardPointToFacingin classSidingAndCornerBlock
-
damageDropped
public int damageDropped(int iMetadata) Description copied from class:BlockDetermines the damage on the item the block drops. Used in cloth and wood.- Overrides:
damageDroppedin classSidingAndCornerBlock
-
getBlocksMovement
Description copied from class:BlockFCNOTE: This is misnamed and returns true if the block *doesn't* block movement- Overrides:
getBlocksMovementin classBlock
-
canGroundCoverRestOnBlock
- Overrides:
canGroundCoverRestOnBlockin classSidingAndCornerBlock
-
groundCoverRestingOnVisualOffset
- Overrides:
groundCoverRestingOnVisualOffsetin classSidingAndCornerBlock
-
getWeightOnPathBlocked
- Overrides:
getWeightOnPathBlockedin classBlock
-
getFacing
public int getFacing(int iMetadata) - Overrides:
getFacingin classSidingAndCornerBlock
-
setFacing
public int setFacing(int iMetadata, int iFacing) - Overrides:
setFacingin classSidingAndCornerBlock
-
canRotateOnTurntable
- Overrides:
canRotateOnTurntablein classSidingAndCornerBlock
-
canTransmitRotationVerticallyOnTurntable
public boolean canTransmitRotationVerticallyOnTurntable(IBlockAccess blockAccess, int i, int j, int k) - Overrides:
canTransmitRotationVerticallyOnTurntablein classSidingAndCornerBlock
-
rotateMetadataAroundYAxis
public int rotateMetadataAroundYAxis(int iMetadata, boolean bReverse) - Overrides:
rotateMetadataAroundYAxisin classSidingAndCornerBlock
-
toggleFacing
Description copied from class:BlockCycle through all the possible facings for a block returns true if the facing has actually changed as a result of this call- Overrides:
toggleFacingin classSidingAndCornerBlock
-
mobSpawnOnVerticalOffset
- Overrides:
mobSpawnOnVerticalOffsetin classSidingAndCornerBlock
-
isFence
public boolean isFence(int metadata) -
isBenchOrTable
public boolean isBenchOrTable(int metadata) - Overrides:
isBenchOrTablein classBlock
-
shouldWallFormPostBelowThisBlock
- Overrides:
shouldWallFormPostBelowThisBlockin classBlock
-
onBlockActivated
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) Description copied from class:BlockCalled upon block activation (right click on the block.)- Overrides:
onBlockActivatedin classBlock
-
canLeashKnotOnBlock
- Overrides:
canLeashKnotOnBlockin classBlock
-
isDecorative
-
isDecorativeFromMetadata
public static boolean isDecorativeFromMetadata(int iMetadata) -
getBlockBoundsFromPoolForBench
-
getBlockBoundsFromPoolForFence
-
addCollisionBoxesToListForFence
public void addCollisionBoxesToListForFence(World world, int i, int j, int k, AxisAlignedBB intersectingBox, List list, Entity entity) -
doesBenchHaveLeg
-
isBlockBench
-
collisionRayTraceBenchWithLeg
public MovingObjectPosition collisionRayTraceBenchWithLeg(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) -
collisionRayTraceFence
public MovingObjectPosition collisionRayTraceFence(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) -
getSubBlocks
Description copied from class:Blockreturns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)- Overrides:
getSubBlocksin classSidingAndCornerBlock
-
shouldSideBeRendered
@Environment(CLIENT) public boolean shouldSideBeRendered(IBlockAccess blockAccess, int iNeighborI, int iNeighborJ, int iNeighborK, int iSide) - Overrides:
shouldSideBeRenderedin classSidingAndCornerBlock
-
renderBlock
- Overrides:
renderBlockin classBlock
-
renderBlockAsItem
@Environment(CLIENT) public void renderBlockAsItem(RenderBlocks renderBlocks, int iItemDamage, float fBrightness) - Overrides:
renderBlockAsItemin classSidingAndCornerBlock
-
renderBench
-
renderBenchInvBlock
@Environment(CLIENT) public void renderBenchInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) -
renderFence
-
renderFenceInvBlock
@Environment(CLIENT) public void renderFenceInvBlock(RenderBlocks renderBlocks, Block block, int itemDamage)
-