Package btw.block.blocks
Class AestheticNonOpaqueBlock
java.lang.Object
net.minecraft.src.Block
btw.block.blocks.AestheticNonOpaqueBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields 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, textureName, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, tripWire, tripWireSource, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, woodDoubleSlab, woodenButton, woodSingleSlab, workbench -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollisionBoxesToList(World world, int i, int j, int k, AxisAlignedBB intersectingBox, List list, Entity entity) Adds all intersecting collision boxes to a list.booleancanGroundCoverRestOnBlock(World world, int i, int j, int k) static booleancanLightningRodStay(World world, int i, int j, int k) booleancanToolsStickInBlock(IBlockAccess blockAccess, int i, int j, int k) intdamageDropped(int metadata) Determines the damage on the item the block drops.booleandoesBlockBreakSaw(World world, int i, int j, int k) getBlockBoundsFromPoolBasedOnState(IBlockAccess blockAccess, int i, int j, int k) getBlockBoundsFromPoolForPane(IBlockAccess blockAccess, int i, int j, int k, int subType) getIcon(int side, int metadata) From the specified side and block metadata retrieves the blocks texture.floatgetMovementModifier(World world, int i, int j, int k) protected StepSoundgetStepSoundInternal(World world, int meta) voidgetSubBlocks(int blockID, CreativeTabs creativeTabs, List list) returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)intgetSubtype(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 facing, boolean ignoreTransparency) 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 facing, boolean ignoreTransparency) large attachment points that can support a full block widthbooleanhasSmallCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int facing, boolean ignoreTransparency) small attachment surfaces, like those required for the bottom of a torch (approx 1/8 block width)intReturns the ID of the items to drop on destruction.intonly called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative) // +++START EDIT+++ FCNOTE: Client only // ---END EDIT---booleanisBlockTable(IBlockAccess blockAccess, int i, int j, int k) boolean// +++START EDIT+++ // ---END EDIT--- Is this block (a) opaque and (b) a full 1m cube?booleanisTableOnCorner(IBlockAccess blockAccess, int i, int j, int k) intonBlockPlaced(World world, int i, int j, int k, int facing, float clickX, float clickY, float clickZ, int metadata) Called when a block is placed using its ItemBlock.voidonNeighborBlockChange(World world, int i, int j, int k, int changedBlockID) Lets the block know when one of its neighbor changes.voidregisterIcons(IconRegister register) When this method is called, your block should register all the icons it needs with the given IconRegister.booleanIf this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)booleanrenderBlock(RenderBlocks renderer, int i, int j, int k) voidrenderBlockAsItem(RenderBlocks renderBlocks, int itemDamage, float brightness) booleanrenderLightningRod(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) voidrenderLightningRodInvBlock(RenderBlocks renderBlocks, Block block) booleanrenderPane(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, int subType) booleanrenderPedestalDown(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) voidrenderPedestalDownInvBlock(RenderBlocks renderBlocks, Block block) booleanrenderPedestalUp(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) voidrenderPedestalUpInvBlock(RenderBlocks renderBlocks, Block block) booleanrenderTable(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) voidrenderTableInvBlock(RenderBlocks renderBlocks, Block block) voidsetSubtype(World world, int i, int j, int k, int subtype) booleanshouldSideBeRendered(IBlockAccess blockAccess, int neighborI, int neighborJ, int neighborK, int side) Methods 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, canLeashKnotOnBlock, canMobsSpawnOn, canNetherWartGrowOnBlock, canPathThroughBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceBlockOnSide, canProvidePower, canRedstoneConnectToSide, canReedsGrowOnBlock, canRotateAroundBlockOnTurntableToFacing, canRotateOnTurntable, canSaplingsGrowOnBlock, canSilkHarvest, canSilkHarvest, canSpitWebReplaceBlock, canSupportFallingBlocks, canSupportLeaves, canToolStickInBlockSpecialCase, canTransmitRotationHorizontallyOnTurntable, canTransmitRotationVerticallyOnTurntable, canWeedsGrowInBlock, canWildVegetationGrowOnBlock, canWitherDestroyBlock, checkForFall, checkForUnstableGround, clientBlockAdded, clientBreakBlock, clientNotificationOfMetadataChange, collisionRayTrace, collisionRayTraceVsBlockBounds, colorMultiplier, convertBlock, convertBlockFromMobSpawner, convertFacingToBottomTextureRotation, convertFacingToTopTextureRotation, createStackedBlock, cycleFacing, disableStats, doEndermenIgnoreNeighbors, 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, getBlocksMovement, 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, getFacing, getFixedBlockBoundsFromPool, getFullBlockBoundingBoxFromPool, getFurnaceBurnTime, getHarvestToolLevel, getHerbivoreItemFoodValue, getHopperFilterIcon, getIconByIndex, getIsBlockWarm, getIsFertilizedForPlantGrowth, getIsProblemToRemove, getItemIconName, getLightValue, getLightValueForBlock, getLocalizedName, getMapColor, getMechanicalPowerLevelProvidedToAxleAtFacing, getMetadataConversionForStrataLevel, getMixedBrightnessForBlock, getMobilityFlag, getModId, getNewMetadataRotatedAroundBlockOnTurntableToFacing, getOppositeFacing, getOutputsWhenCookedByKiln, getPigItemFoodValue, getPistonShovelEjectDirection, getPlaceSoundName, getPlaceSoundName, getPlantGrowthOnMultiplier, getPlayerRelativeBlockHardness, getPreventsFluidFlow, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSelectedBoundingBoxFromPool, getStackRetrievedByBlockDispenser, getStepSound, getStepSound, getStepSoundName, getStepSoundName, getTextureName, getTickRandomly, getUnlocalizedName, getUnlocalizedName2, getWeedsGrowthLevel, getWeightOnPathBlocked, harvestBlock, hasCenterHardPointToFacing, hasComparatorInputOverride, hasComparatorInputOverride, hasContactPointToFullFace, hasContactPointToSlabSideFace, hasContactPointToStairNarrowVerticalFace, hasContactPointToStairShapedFace, hasFallingBlockRestingOn, hasLargeCenterHardPointToFacing, hasMortar, hasNeighborWithMortarInContact, hasSmallCenterHardPointToFacing, hasStickySnowNeighborInContact, hasStrata, hasTileEntity, hasWaterToSidesOrTop, hideFromEMI, hideFromEMI, infestBlock, initBlockBounds, initBlockBounds, initializeBlock, installationIntegrityTest, isAirBlock, isAssociatedBlockID, isAssociatedBlockID, isBenchOrTable, isBlockAttachedToFacing, isBlockClimbable, isBlockDestroyedByBlockDispenser, isBlockHydratedForPlantGrowthOn, isBlockInfestable, isBlockInfestedBy, isBlockRestingOnThatBelow, isBlockSolid, isBreakableBarricade, isBreakableBarricadeOpen, isCollidable, isConsideredNeighbouringWaterForReedGrowthOn, isFallingBlock, isFence, isFlowerPot, isGroundCover, isIncineratedInCrucible, isLeafBlock, isLog, isNaturalStone, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isRedstoneConductor, isReplaceableVegetation, isSnowCoveringTopSurface, isStairBlock, isStickyToSnow, isWall, mobSpawnOnVerticalOffset, mouseOverRayTrace, notifyNearbyAnimalsFinishedFalling, notifyNeighborDirtDugWithImproperTool, notifyNeighborsBlockDisrupted, notifyOfFullStagePlantGrowthOn, notifyOfPlantAboveRemoved, onArrowCollide, onArrowImpact, onBlockActivated, 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, 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, rotateMetadataAroundYAxis, rotateOnTurntable, scheduleCheckForFall, setAlwaysStartlesAnimals, setAxesEffectiveOn, setAxesEffectiveOn, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockMaterial, setBlockUnbreakable, setBuoyancy, setBuoyant, setChickenItemFoodValue, setChiselsCanHarvest, setChiselsCanHarvest, setChiselsEffectiveOn, setChiselsEffectiveOn, setCreativeTab, setFacing, 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, shouldWallFormPostBelowThisBlock, spreadGrassToBlock, spreadMyceliumToBlock, startlesAnimalsWhenPlaced, tickRate, toggleFacing, triggersBuddy, turntableCraftingRotation, updateTick, velocityToAddToEntity
-
Field Details
-
SUBTYPE_URN
public static final int SUBTYPE_URN- See Also:
-
SUBTYPE_COLUMN
public static final int SUBTYPE_COLUMN- See Also:
-
SUBTYPE_PEDESTAL_UP
public static final int SUBTYPE_PEDESTAL_UP- See Also:
-
SUBTYPE_PEDESTAL_DOWN
public static final int SUBTYPE_PEDESTAL_DOWN- See Also:
-
SUBTYPE_TABLE
public static final int SUBTYPE_TABLE- See Also:
-
SUBTYPE_WICKER_SLAB
public static final int SUBTYPE_WICKER_SLAB- See Also:
-
SUBTYPE_GRATE
public static final int SUBTYPE_GRATE- See Also:
-
SUBTYPE_WICKER
public static final int SUBTYPE_WICKER- See Also:
-
SUBTYPE_SLATS
public static final int SUBTYPE_SLATS- See Also:
-
SUBTYPE_WICKER_SLAB_UPSIDE_DOWN
public static final int SUBTYPE_WICKER_SLAB_UPSIDE_DOWN- See Also:
-
SUBTYPE_WHITE_COBBLE_SLAB
public static final int SUBTYPE_WHITE_COBBLE_SLAB- See Also:
-
SUBTYPE_WHITE_COBBLE_SLAB_UPSIDE_DOWN
public static final int SUBTYPE_WHITE_COBBLE_SLAB_UPSIDE_DOWN- See Also:
-
SUBTYPE_LIGHTNING_ROD
public static final int SUBTYPE_LIGHTNING_ROD- See Also:
-
NUM_SUBTYPES
public static final int NUM_SUBTYPES- See Also:
-
iconTableWoodOakTop
-
iconTableWoodOakLeg
-
-
Constructor Details
-
AestheticNonOpaqueBlock
public AestheticNonOpaqueBlock(int blockID)
-
-
Method Details
-
isOpaqueCube
public boolean isOpaqueCube()Description copied from class:Block// +++START EDIT+++ // ---END EDIT--- Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.- Overrides:
isOpaqueCubein classBlock
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Description copied from class:BlockIf this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)- Overrides:
renderAsNormalBlockin classBlock
-
idDropped
Description copied from class:BlockReturns the ID of the items to drop on destruction. -
damageDropped
public int damageDropped(int metadata) Description copied from class:BlockDetermines the damage on the item the block drops. Used in cloth and wood.- Overrides:
damageDroppedin classBlock
-
onBlockPlaced
public int onBlockPlaced(World world, int i, int j, int k, int facing, float clickX, float clickY, float clickZ, int metadata) 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 classBlock
-
getBlockBoundsFromPoolBasedOnState
public AxisAlignedBB getBlockBoundsFromPoolBasedOnState(IBlockAccess blockAccess, int i, int j, int k) - Overrides:
getBlockBoundsFromPoolBasedOnStatein classBlock
-
addCollisionBoxesToList
public void addCollisionBoxesToList(World world, int i, int j, int k, AxisAlignedBB intersectingBox, 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
-
onNeighborBlockChange
Description copied from class:BlockLets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, neighbor blockID // +++START EDIT+++ FCNOTE: Only called on server // ---END EDIT---- Overrides:
onNeighborBlockChangein classBlock
-
hasCenterHardPointToFacing
public boolean hasCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int facing, boolean ignoreTransparency) 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 facing, boolean ignoreTransparency) Description copied from class:Blocklarge attachment points that can support a full block width- Overrides:
hasLargeCenterHardPointToFacingin classBlock
-
hasSmallCenterHardPointToFacing
public boolean hasSmallCenterHardPointToFacing(IBlockAccess blockAccess, int i, int j, int k, int facing, boolean ignoreTransparency) Description copied from class:Blocksmall attachment surfaces, like those required for the bottom of a torch (approx 1/8 block width)- Overrides:
hasSmallCenterHardPointToFacingin classBlock
-
doesBlockBreakSaw
- Overrides:
doesBlockBreakSawin classBlock
-
getMovementModifier
- Overrides:
getMovementModifierin classBlock
-
canGroundCoverRestOnBlock
- Overrides:
canGroundCoverRestOnBlockin classBlock
-
groundCoverRestingOnVisualOffset
- Overrides:
groundCoverRestingOnVisualOffsetin classBlock
-
canToolsStickInBlock
- Overrides:
canToolsStickInBlockin classBlock
-
getStepSoundInternal
- Overrides:
getStepSoundInternalin classBlock
-
getSubtype
-
setSubtype
-
isBlockTable
-
isTableOnCorner
-
getBlockBoundsFromPoolForPane
public AxisAlignedBB getBlockBoundsFromPoolForPane(IBlockAccess blockAccess, int i, int j, int k, int subType) -
canLightningRodStay
-
registerIcons
Description copied from class:BlockWhen this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.- Overrides:
registerIconsin classBlock
-
getIcon
Description copied from class:BlockFrom the specified side and block metadata retrieves the blocks texture. Args: side, metadata -
shouldSideBeRendered
@Environment(CLIENT) public boolean shouldSideBeRendered(IBlockAccess blockAccess, int neighborI, int neighborJ, int neighborK, int side) - Overrides:
shouldSideBeRenderedin classBlock
-
getSubBlocks
Description copied from class:Blockreturns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)- Overrides:
getSubBlocksin classBlock
-
idPicked
Description copied from class:Blockonly called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative) // +++START EDIT+++ FCNOTE: Client only // ---END EDIT--- -
renderBlock
- Overrides:
renderBlockin classBlock
-
renderBlockAsItem
@Environment(CLIENT) public void renderBlockAsItem(RenderBlocks renderBlocks, int itemDamage, float brightness) - Overrides:
renderBlockAsItemin classBlock
-
renderPedestalUp
@Environment(CLIENT) public boolean renderPedestalUp(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) -
renderPedestalUpInvBlock
-
renderPedestalDown
@Environment(CLIENT) public boolean renderPedestalDown(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) -
renderPedestalDownInvBlock
-
renderTable
@Environment(CLIENT) public boolean renderTable(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) -
renderTableInvBlock
-
renderPane
@Environment(CLIENT) public boolean renderPane(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, int subType) -
renderLightningRod
@Environment(CLIENT) public boolean renderLightningRod(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) -
renderLightningRodInvBlock
-