Package btw.block.blocks
Class UnfiredPotteryBlock
java.lang.Object
net.minecraft.src.Block
btw.block.blocks.UnfiredPotteryBlock
-
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 intstatic final intstatic final intstatic final intstatic final intstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatFields 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 TypeMethodDescriptionbooleancanBePistonShoveled(World world, int i, int j, int k) booleancanGroundCoverRestOnBlock(World world, int i, int j, int k) booleancanPlaceBlockAt(World world, int i, int j, int k) Checks to see if its valid to put this block at the specified coordinates.booleancanRotateOnTurntable(IBlockAccess blockAccess, int i, int j, int k) collisionRayTrace(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) intdamageDropped(int iMetadata) Determines the damage on the item the block drops.getBlockBoundsFromPoolBasedOnState(IBlockAccess blockAccess, int i, int j, int k) getIcon(int iSide, int iMetadata) From the specified side and block metadata retrieves the blocks texture.voidgetSubBlocks(int iBlockID, CreativeTabs creativeTabs, List list) returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)floatgroundCoverRestingOnVisualOffset(IBlockAccess blockAccess, int i, int j, int k) 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---boolean// +++START EDIT+++ // ---END EDIT--- Is this block (a) opaque and (b) a full 1m cube?voidonBlockAdded(World world, int i, int j, int k) Called whenever the block is added into the world.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.voidonBlockPlacedBy(World world, int i, int j, int k, EntityLivingBase placingEntity, ItemStack stack) Called when the block is placed in the world. // +++START EDIT+++ FCNOTE: Called AFTER the block is placed, unlike onBlockPlaced() // ---END EDIT---voidonNeighborBlockChange(World world, int i, int j, int k, int iBlockID) 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 renderBlocks, int i, int j, int k) voidrenderBlockAsItem(RenderBlocks renderBlocks, int iItemDamage, float fBrightness) voidrenderBlockSecondPass(RenderBlocks renderBlocks, int i, int j, int k, boolean bFirstPassResult) If the block has a second pass, like a kiln cooking overlay texture, it should Override this method.static booleanrenderUncookedCookies(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, boolean bIAligned) static voidrenderUnfiredCookiesInvBlock(RenderBlocks renderBlocks, Block block) static booleanrenderUnfiredCrucible(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, Icon texture) static voidrenderUnfiredCrucibleInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage, Icon texture) static booleanrenderUnfiredUrn(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, Icon texture, float fVerticalOffset) static voidrenderUnfiredUrnInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage, Icon texture) introtateMetadataAroundYAxis(int iMetadata, boolean bReverse) booleanshouldSideBeRendered(IBlockAccess blockAccess, int iNeighborI, int iNeighborJ, int iNeighborK, int iSide) voidupdateTick(World world, int i, int j, int k, Random rand) Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---Methods inherited from class net.minecraft.src.Block
addCollisionBoxesToList, adjustMetadataForPistonMove, adjustPathWeightOnNotBlocked, areAxesEffectiveOn, arechiselseffectiveon, arechiselseffectiveon, areHoesEffectiveOn, arePicksEffectiveOn, areShovelsEffectiveOn, attachToFacing, attemptToAffectBlockWithSoul, attemptToApplyFertilizerTo, attemptToCombineWithFallingEntity, blocksEndermanPickup, breakBlock, canBeConvertedByMobSpawner, canBeCrushedByFallingEntity, canBeGrazedOn, canBlockBePulledByPiston, canBlockBePushedByPiston, canBlocksBePlacedAgainstThisBlock, canBlockStay, canBlockStayDuringGenerate, canBlockSuffocateEntity, canCactusGrowOnBlock, canChiselsHarvest, canCollideCheck, canContainPistonPackingToFacing, canConvertBlock, canDomesticatedCropsGrowOnBlock, canDropFromExplosion, canEndermenPickUpBlock, canFallIntoBlockAtPos, canLeashKnotOnBlock, canMobsSpawnOn, canNetherWartGrowOnBlock, canPathThroughBlock, canPlaceBlockOnSide, canPlaceBlockOnSide, canProvidePower, canRedstoneConnectToSide, canReedsGrowOnBlock, canRotateAroundBlockOnTurntableToFacing, canSaplingsGrowOnBlock, canSilkHarvest, canSilkHarvest, canSpitWebReplaceBlock, canSupportFallingBlocks, canSupportLeaves, canToolsStickInBlock, canToolStickInBlockSpecialCase, canTransmitRotationHorizontallyOnTurntable, canTransmitRotationVerticallyOnTurntable, 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, 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, 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, getWeightOnPathBlocked, harvestBlock, hasCenterHardPointToFacing, hasCenterHardPointToFacing, hasComparatorInputOverride, hasComparatorInputOverride, hasContactPointToFullFace, hasContactPointToSlabSideFace, hasContactPointToStairNarrowVerticalFace, hasContactPointToStairShapedFace, hasFallingBlockRestingOn, hasLargeCenterHardPointToFacing, hasLargeCenterHardPointToFacing, hasMortar, hasNeighborWithMortarInContact, hasSmallCenterHardPointToFacing, 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, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByMiningCharge, onBlockDestroyedByPlayer, onBlockDestroyedLandingFromFall, onBlockDestroyedWithImproperTool, onBlockEventReceived, onBlockHarvested, 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, 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, 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, velocityToAddToEntity
-
Field Details
-
NUM_SUBTYPES
public static final int NUM_SUBTYPES- See Also:
-
NUM_SPUN_POTTERY_TYPES
public static final int NUM_SPUN_POTTERY_TYPES- See Also:
-
SUBTYPE_CRUCIBLE
public static final int SUBTYPE_CRUCIBLE- See Also:
-
SUBTYPE_PLANTER
public static final int SUBTYPE_PLANTER- See Also:
-
SUBTYPE_VASE
public static final int SUBTYPE_VASE- See Also:
-
SUBTYPE_URN
public static final int SUBTYPE_URN- See Also:
-
SUBTYPE_MOULD
public static final int SUBTYPE_MOULD- See Also:
-
SUBTYPE_CLAY_BRICK
public static final int SUBTYPE_CLAY_BRICK- See Also:
-
SUBTYPE_CLAY_BRICK_X_ALIGNED
public static final int SUBTYPE_CLAY_BRICK_X_ALIGNED- See Also:
-
SUBTYPE_NETHER_BRICK
public static final int SUBTYPE_NETHER_BRICK- See Also:
-
SUBTYPE_NETHER_BRICK_X_ALIGNED
public static final int SUBTYPE_NETHER_BRICK_X_ALIGNED- See Also:
-
SUBTYPE_UNCOOKED_CAKE
public static final int SUBTYPE_UNCOOKED_CAKE- See Also:
-
SUBTYPE_UNCOOKED_COOKIES
public static final int SUBTYPE_UNCOOKED_COOKIES- See Also:
-
SUBTYPE_UNCOOKED_COOKIES_I_ALIGNED
public static final int SUBTYPE_UNCOOKED_COOKIES_I_ALIGNED- See Also:
-
SUBTYPE_UNCOOKED_PUMPKIN_PIE
public static final int SUBTYPE_UNCOOKED_PUMPKIN_PIE- See Also:
-
SUBTYPE_UNCOOKED_BREAD
public static final int SUBTYPE_UNCOOKED_BREAD- See Also:
-
SUBTYPE_UNCOOKED_BREAD_I_ALIGNED
public static final int SUBTYPE_UNCOOKED_BREAD_I_ALIGNED- See Also:
-
ROTATIONS_ON_TURNTABLE_TO_CHANG_STATE
public static final int ROTATIONS_ON_TURNTABLE_TO_CHANG_STATE- See Also:
-
UNFIRED_POTTERY_URN_BASE_WIDTH
public static final float UNFIRED_POTTERY_URN_BASE_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_BASE_HALF_WIDTH
public static final float UNFIRED_POTTERY_URN_BASE_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_BASE_HEIGHT
public static final float UNFIRED_POTTERY_URN_BASE_HEIGHT- See Also:
-
UNFIRED_POTTERY_URN_BODY_WIDTH
public static final float UNFIRED_POTTERY_URN_BODY_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_BODY_HALF_WIDTH
public static final float UNFIRED_POTTERY_URN_BODY_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_BODY_HEIGHT
public static final float UNFIRED_POTTERY_URN_BODY_HEIGHT- See Also:
-
UNFIRED_POTTERY_URN_NECK_WIDTH
public static final float UNFIRED_POTTERY_URN_NECK_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_NECK_HALF_WIDTH
public static final float UNFIRED_POTTERY_URN_NECK_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_NECK_HEIGHT
public static final float UNFIRED_POTTERY_URN_NECK_HEIGHT- See Also:
-
UNFIRED_POTTERY_URN_TOP_WIDTH
public static final float UNFIRED_POTTERY_URN_TOP_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_TOP_HALF_WIDTH
public static final float UNFIRED_POTTERY_URN_TOP_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_TOP_HEIGHT
public static final float UNFIRED_POTTERY_URN_TOP_HEIGHT- See Also:
-
UNFIRED_POTTERY_URN_LID_WIDTH
public static final float UNFIRED_POTTERY_URN_LID_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_LID_HALF_WIDTH
public static final float UNFIRED_POTTERY_URN_LID_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_URN_LID_HEIGHT
public static final float UNFIRED_POTTERY_URN_LID_HEIGHT- See Also:
-
UNFIRED_POTTERY_URN_HEIGHT
public static final float UNFIRED_POTTERY_URN_HEIGHT- See Also:
-
UNFIRED_POTTERY_MOULD_HEIGHT
public static final float UNFIRED_POTTERY_MOULD_HEIGHT- See Also:
-
UNFIRED_POTTERY_MOULD_WIDTH
public static final float UNFIRED_POTTERY_MOULD_WIDTH- See Also:
-
UNFIRED_POTTERY_MOULD_HALF_WIDTH
public static final float UNFIRED_POTTERY_MOULD_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_BRICK_HEIGHT
public static final float UNFIRED_POTTERY_BRICK_HEIGHT- See Also:
-
UNFIRED_POTTERY_BRICK_WIDTH
public static final float UNFIRED_POTTERY_BRICK_WIDTH- See Also:
-
UNFIRED_POTTERY_BRICK_HALF_WIDTH
public static final float UNFIRED_POTTERY_BRICK_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_BRICK_LENGTH
public static final float UNFIRED_POTTERY_BRICK_LENGTH- See Also:
-
UNFIRED_POTTERY_BRICK_HALF_LENGTH
public static final float UNFIRED_POTTERY_BRICK_HALF_LENGTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_CAKE_HEIGHT
public static final float UNFIRED_POTTERY_UNCOOKED_CAKE_HEIGHT- See Also:
-
UNFIRED_POTTERY_UNCOOKED_CAKE_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_CAKE_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_CAKE_HALF_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_CAKE_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_CAKE_LENGTH
public static final float UNFIRED_POTTERY_UNCOOKED_CAKE_LENGTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_CAKE_HALF_LENGTH
public static final float UNFIRED_POTTERY_UNCOOKED_CAKE_HALF_LENGTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_HEIGHT
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_HEIGHT- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_HALF_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_LENGTH
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_LENGTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_HALF_LENGTH
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_HALF_LENGTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_INDIVIDUAL_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_INDIVIDUAL_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_COOKIES_INDIVIDUAL_HALF_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_COOKIES_INDIVIDUAL_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_HEIGHT
public static final float UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_HEIGHT- See Also:
-
UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_HALF_WIDTH
public static final float UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_HALF_WIDTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_LENGTH
public static final float UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_LENGTH- See Also:
-
UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_HALF_LENGTH
public static final float UNFIRED_POTTERY_UNCOOKED_PUMPKIN_PIE_HALF_LENGTH- See Also:
-
-
Constructor Details
-
UnfiredPotteryBlock
public UnfiredPotteryBlock(int iBlockID)
-
-
Method Details
-
onBlockAdded
Description copied from class:BlockCalled whenever the block is added into the world. Args: world, x, y, z // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---- Overrides:
onBlockAddedin 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 classBlock
-
onBlockPlacedBy
public void onBlockPlacedBy(World world, int i, int j, int k, EntityLivingBase placingEntity, ItemStack stack) Description copied from class:BlockCalled when the block is placed in the world. // +++START EDIT+++ FCNOTE: Called AFTER the block is placed, unlike onBlockPlaced() // ---END EDIT---- Overrides:
onBlockPlacedByin classBlock
-
idDropped
Description copied from class:BlockReturns the ID of the items to drop on destruction. -
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 classBlock
-
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
-
getBlockBoundsFromPoolBasedOnState
public AxisAlignedBB getBlockBoundsFromPoolBasedOnState(IBlockAccess blockAccess, int i, int j, int k) - Overrides:
getBlockBoundsFromPoolBasedOnStatein classBlock
-
canPlaceBlockAt
Description copied from class:BlockChecks to see if its valid to put this block at the specified coordinates. Args: world, x, y, z- Overrides:
canPlaceBlockAtin classBlock
-
updateTick
Description copied from class:BlockTicks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---- Overrides:
updateTickin 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
-
collisionRayTrace
public MovingObjectPosition collisionRayTrace(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay) - Overrides:
collisionRayTracein classBlock
-
canRotateOnTurntable
- Overrides:
canRotateOnTurntablein classBlock
-
rotateMetadataAroundYAxis
@Environment(CLIENT) public int rotateMetadataAroundYAxis(int iMetadata, boolean bReverse) - Overrides:
rotateMetadataAroundYAxisin classBlock
-
canBePistonShoveled
- Overrides:
canBePistonShoveledin classBlock
-
canGroundCoverRestOnBlock
- Overrides:
canGroundCoverRestOnBlockin classBlock
-
groundCoverRestingOnVisualOffset
- Overrides:
groundCoverRestingOnVisualOffsetin classBlock
-
shouldSideBeRendered
@Environment(CLIENT) public boolean shouldSideBeRendered(IBlockAccess blockAccess, int iNeighborI, int iNeighborJ, int iNeighborK, int iSide) - Overrides:
shouldSideBeRenderedin classBlock
-
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 -
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
-
renderBlockSecondPass
@Environment(CLIENT) public void renderBlockSecondPass(RenderBlocks renderBlocks, int i, int j, int k, boolean bFirstPassResult) Description copied from class:BlockIf the block has a second pass, like a kiln cooking overlay texture, it should Override this method. This method does not call the overlay by default to cut down on rendering time, since this function is called by every single loaded block. Note that this function is necessary to prevent potential recursion within RenderBlock, if it were to call its own overlays directly, and then potentially get called with a texture overlay itself through RenderBlockWithTexture.- Overrides:
renderBlockSecondPassin classBlock
-
renderUnfiredUrn
@Environment(CLIENT) public static boolean renderUnfiredUrn(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, Icon texture, float fVerticalOffset) -
renderUnfiredCrucible
@Environment(CLIENT) public static boolean renderUnfiredCrucible(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, Icon texture) -
renderUncookedCookies
@Environment(CLIENT) public static boolean renderUncookedCookies(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block, boolean bIAligned) -
renderBlockAsItem
@Environment(CLIENT) public void renderBlockAsItem(RenderBlocks renderBlocks, int iItemDamage, float fBrightness) - Overrides:
renderBlockAsItemin classBlock
-
renderUnfiredUrnInvBlock
@Environment(CLIENT) public static void renderUnfiredUrnInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage, Icon texture) -
renderUnfiredCrucibleInvBlock
@Environment(CLIENT) public static void renderUnfiredCrucibleInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage, Icon texture) -
renderUnfiredCookiesInvBlock
@Environment(CLIENT) public static void renderUnfiredCookiesInvBlock(RenderBlocks renderBlocks, Block block)
-