Package btw.block.blocks
Class DetectorLogicBlock
java.lang.Object
net.minecraft.src.Block
btw.block.blocks.DetectorLogicBlock
- Direct Known Subclasses:
GlowingDetectorLogicBlock
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidbreakBlock(World world, int i, int j, int k, int iBlockID, int iMetadata) Called on server worlds only when the block has been replaced by a different block ID, or the same block with a different metadata value, but before the new metadata value is set.booleancanCollideCheck(int i, boolean flag) Returns whether this block is collideable based on the arguments passed in \n@param par1 block metaData \n@param par2 whether the player right-clicked while holding a boatvoidchangeStateToClearEntityCollision(World world, int i, int j, int k) voidchangeStateToRegisterEntityCollision(World world, int i, int j, int k) intcountValidLensSources(World world, int i, int j, int k) intcountValidLensSourcesIgnoreFacing(World world, int i, int j, int k, int iIgnoreFacing) voidcreateLensBeamFromBlock(World world, int i, int j, int k, int iFacing, int iMaxRange) voidfullyValidateBlock(World world, int i, int j, int k) getCollisionBoundingBoxFromPool(World world, int i, int j, int k) intReturns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons // +++START EDIT+++ FCMOD: 3 = can be piston shoveled, but free otherwise // ---END EDIT---intgetRangeToValidLensSourceToFacing(World world, int i, int j, int k, int iFacing) intgetRangeToValidLitLensSourceToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing) booleanhasMultipleValidLensSources(World world, int i, int j, int k) booleanhasMultipleValidLensSourcesIgnoreFacing(World world, int i, int j, int k, int iIgnoreFacing) booleanhasValidLensSource(World world, int i, int j, int k) booleanhasValidLensSourceIgnoreFacing(World world, int i, int j, int k, int iIgnoreFacing) booleanhasValidLensSourceToFacing(World world, int i, int j, int k, int iFacing) booleanhasValidLitLensSourceToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing) intReturns the ID of the items to drop on destruction.booleanbooleanisBlockGlowing(World world, int i, int j, int k) booleanisDetectorLogicFlagOn(IBlockAccess iBlockAccess, int i, int j, int k) booleanisEntityCollidingFlagOn(IBlockAccess iBlockAccess, int i, int j, int k) booleanisIntersectionPointFlagOn(IBlockAccess iBlockAccess, int i, int j, int k) booleanisLitFlagOn(IBlockAccess iBlockAccess, int i, int j, int k) boolean// +++START EDIT+++ // ---END EDIT--- Is this block (a) opaque and (b) a full 1m cube?voidlightBlock(World world, int i, int j, int k) voidnotifyNeighboringDetectorBlocksOfChange(World world, int i, int j, int k) voidonBlockAdded(World world, int i, int j, int k) Called whenever the block is added into the world.voidonEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity) Triggered whenever an entity collides with this block (enters into the block).voidonNeighborBlockChange(World world, int i, int j, int k, int iNeighborBlockID) Lets the block know when one of its neighbor changes.intquantityDropped(Random random) Returns the quantity of items to drop on block destruction.voidregisterIcons(IconRegister register) When this method is called, your block should register all the icons it needs with the given IconRegister.voidremoveLensBeamFromBlock(World world, int i, int j, int k, int iFacing, int iMaxRange) protected voidremoveSelf(World world, int i, int j, int k) 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) booleanrenderDetectorLogicDebug(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) voidrenderDetectorLogicDebugInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage, int iRenderType) voidsetBlockAsGlowing(World world, int i, int j, int k) voidsetBlockAsNotGlowing(World world, int i, int j, int k) voidsetEntityCollidingFlag(World world, int i, int j, int k, boolean bEntityColliding) voidsetIsDetectorLogicFlag(World world, int i, int j, int k, boolean bIsDetectorLogic) voidsetIsIntersectionPointFlag(World world, int i, int j, int k, boolean bIsIntersectionPoint) voidsetIsLitFlag(World world, int i, int j, int k, boolean bIsLitByLens) protected booleanshouldBeGlowingToFacing(World world, int i, int j, int k, int iFacing) protected booleanshouldBeProjectingToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing) intHow many world ticks before tickingbooleanWhether or not the block sets off Buddy Blocks.voidturnBeamOffFromBlock(World world, int i, int j, int k, int iFacing, int iMaxRange) voidturnBeamOnFromBlock(World world, int i, int j, int k, int iFacing, int iMaxRange) voidunlightBlock(World world, int i, int j, int k) voidupdateTick(World world, int i, int j, int k, Random random) Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---booleanverifyLitByLens(World world, int i, int j, int k) booleanverifyLitByLensIgnoreFacing(World world, int i, int j, int k, int iIgnoreFacing) Methods inherited from class net.minecraft.src.Block
addCollisionBoxesToList, adjustMetadataForPistonMove, adjustPathWeightOnNotBlocked, areAxesEffectiveOn, arechiselseffectiveon, arechiselseffectiveon, areHoesEffectiveOn, arePicksEffectiveOn, areShovelsEffectiveOn, attachToFacing, attemptToAffectBlockWithSoul, attemptToApplyFertilizerTo, attemptToCombineWithFallingEntity, blocksEndermanPickup, canBeConvertedByMobSpawner, canBeCrushedByFallingEntity, canBeGrazedOn, canBePistonShoveled, canBlockBePulledByPiston, canBlockBePushedByPiston, canBlocksBePlacedAgainstThisBlock, canBlockStay, canBlockStayDuringGenerate, canBlockSuffocateEntity, canCactusGrowOnBlock, canChiselsHarvest, canContainPistonPackingToFacing, canConvertBlock, canDomesticatedCropsGrowOnBlock, canDropFromExplosion, canEndermenPickUpBlock, canFallIntoBlockAtPos, canGroundCoverRestOnBlock, canLeashKnotOnBlock, canMobsSpawnOn, canNetherWartGrowOnBlock, canPathThroughBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceBlockOnSide, canProvidePower, canRedstoneConnectToSide, canReedsGrowOnBlock, canRotateAroundBlockOnTurntableToFacing, canRotateOnTurntable, canSaplingsGrowOnBlock, canSilkHarvest, canSilkHarvest, canSpitWebReplaceBlock, canSupportFallingBlocks, canSupportLeaves, canToolsStickInBlock, canToolStickInBlockSpecialCase, canTransmitRotationHorizontallyOnTurntable, canTransmitRotationVerticallyOnTurntable, canWeedsGrowInBlock, canWildVegetationGrowOnBlock, canWitherDestroyBlock, checkForFall, checkForUnstableGround, clientBlockAdded, clientBreakBlock, clientNotificationOfMetadataChange, collisionRayTrace, collisionRayTraceVsBlockBounds, colorMultiplier, convertBlock, convertBlockFromMobSpawner, convertFacingToBottomTextureRotation, convertFacingToTopTextureRotation, createStackedBlock, cycleFacing, damageDropped, disableStats, doEndermenIgnoreNeighbors, doesBlockBreakSaw, doesBlockDropAsItemOnSaw, doesBlockHopperEject, doesBlockHopperInsert, doesExtinguishFireAbove, doesInfiniteBurnToFacing, doesItemRenderAsBlock, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, dropComponentItemsOnBadBreak, dropItemsIndividually, dropItemsOnDestroyedByExplosion, dropItemsOnDestroyedByMiningCharge, dropXpOnBlockBreak, fillWithRain, func_82506_l, getAmbientOcclusionLightValue, getAsPistonMovingBoundingBox, getBlockBoundsFromPoolBasedOnState, 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, getComparatorInputOverride, getConvertsLegacySoil, getCookTimeMultiplierInKiLn, getCreativeTabToDisplayOn, getDamageValue, getDoesFireDamageToEntities, getDoesFireDamageToEntities, getDoesStumpRemoverWorkOnBlock, getEfficientToolLevel, getEnableStats, getExplosionResistance, getExplosionResistance, getFacing, getFacing, getFixedBlockBoundsFromPool, getFullBlockBoundingBoxFromPool, getFurnaceBurnTime, getHarvestToolLevel, getHerbivoreItemFoodValue, getHopperFilterIcon, getIcon, getIconByIndex, getIsBlockWarm, getIsFertilizedForPlantGrowth, getIsProblemToRemove, getItemIconName, getLightValue, getLightValueForBlock, getLocalizedName, getMapColor, getMechanicalPowerLevelProvidedToAxleAtFacing, getMetadataConversionForStrataLevel, getMixedBrightnessForBlock, getModId, getMovementModifier, getNewMetadataRotatedAroundBlockOnTurntableToFacing, getOppositeFacing, getOutputsWhenCookedByKiln, getPigItemFoodValue, getPistonShovelEjectDirection, getPlaceSoundName, getPlaceSoundName, getPlantGrowthOnMultiplier, getPlayerRelativeBlockHardness, getPreventsFluidFlow, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSelectedBoundingBoxFromPool, getStackRetrievedByBlockDispenser, getStepSound, getStepSound, getStepSoundInternal, getStepSoundName, getStepSoundName, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUnlocalizedName2, getWeedsGrowthLevel, getWeightOnPathBlocked, groundCoverRestingOnVisualOffset, harvestBlock, hasCenterHardPointToFacing, hasCenterHardPointToFacing, hasComparatorInputOverride, hasComparatorInputOverride, hasContactPointToFullFace, hasContactPointToSlabSideFace, hasContactPointToStairNarrowVerticalFace, hasContactPointToStairShapedFace, hasFallingBlockRestingOn, hasLargeCenterHardPointToFacing, hasLargeCenterHardPointToFacing, hasMortar, hasNeighborWithMortarInContact, hasSmallCenterHardPointToFacing, hasSmallCenterHardPointToFacing, hasStickySnowNeighborInContact, hasStrata, hasTileEntity, hasWaterToSidesOrTop, hideFromEMI, hideFromEMI, idPicked, infestBlock, initBlockBounds, initBlockBounds, initializeBlock, installationIntegrityTest, 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, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onBlockSawed, onBlockSawed, onBrokenByPistonPush, onCookedByKiLn, onCraftedOnTurntable, onCreativeBonemealApplied, onCrushedByFallingEntity, onDestroyedByFire, onDirtDugWithImproperTool, onDirtSlabDugWithImproperTool, onEntityStepsIn, onEntityWalking, onFallenUpon, onFallingUpdate, onFinishedFalling, onFinishFalling, onFluidFlowIntoBlock, onGrazed, onInfested, onMortarApplied, onNeighborDirtDugWithImproperTool, onNeighborDisrupted, onPlayerWalksOnBlock, onPostBlockPlaced, onPreBlockPlacedByPiston, onRemovedByBlockDispenser, onRotatedAroundBlockOnTurntableToFacing, onRotatedOnTurntable, onStartFalling, onStruckByLightning, onVegetationAboveGrazed, postBlockDestroyedByExplosion, postBlockDestroyedByMiningCharge, preBlockPlacedBy, quantityDroppedWithBonus, randomDisplayTick, randomUpdateTick, removeWeeds, renderBlockAsItem, 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, shouldSideBeRendered, shouldSideBeRenderedOnFallingBlock, shouldWallConnectToThisBlockToFacing, shouldWallFormPostBelowThisBlock, spreadGrassToBlock, spreadMyceliumToBlock, startlesAnimalsWhenPlaced, toggleFacing, turntableCraftingRotation, velocityToAddToEntity
-
Field Details
-
LOGIC_DEBUG_DISPLAY
public static final boolean LOGIC_DEBUG_DISPLAY- See Also:
-
-
Constructor Details
-
DetectorLogicBlock
public DetectorLogicBlock(int iBlockID)
-
-
Method Details
-
tickRate
Description copied from class:BlockHow many world ticks before ticking -
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
-
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
-
getMobilityFlag
public int getMobilityFlag()Description copied from class:BlockReturns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons // +++START EDIT+++ FCMOD: 3 = can be piston shoveled, but free otherwise // ---END EDIT---- Overrides:
getMobilityFlagin classBlock
-
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
-
breakBlock
Description copied from class:BlockCalled on server worlds only when the block has been replaced by a different block ID, or the same block with a different metadata value, but before the new metadata value is set. Args: World, x, y, z, old block ID, old metadata ??ejects contained items into the world, and notifies neighbours of an update, as appropriate?? // +++START EDIT+++ FCNOTE: Called on server only. Called AFTER block is set, so it is no longer valid at pos. // ---END EDIT---- Overrides:
breakBlockin classBlock
-
idDropped
Description copied from class:BlockReturns the ID of the items to drop on destruction. -
canCollideCheck
public boolean canCollideCheck(int i, boolean flag) Description copied from class:BlockReturns whether this block is collideable based on the arguments passed in \n@param par1 block metaData \n@param par2 whether the player right-clicked while holding a boat- Overrides:
canCollideCheckin classBlock
-
quantityDropped
Description copied from class:BlockReturns the quantity of items to drop on block destruction.- Overrides:
quantityDroppedin classBlock
-
getCollisionBoundingBoxFromPool
- Overrides:
getCollisionBoundingBoxFromPoolin 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
-
onEntityCollidedWithBlock
Description copied from class:BlockTriggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity- Overrides:
onEntityCollidedWithBlockin 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
-
isAirBlock
public boolean isAirBlock()- Overrides:
isAirBlockin classBlock
-
triggersBuddy
public boolean triggersBuddy()Description copied from class:BlockWhether or not the block sets off Buddy Blocks. Set to false for stuff like redstone blocks that can cause feedback loops.- Overrides:
triggersBuddyin classBlock
-
removeSelf
-
isEntityCollidingFlagOn
-
setEntityCollidingFlag
-
isDetectorLogicFlagOn
-
setIsDetectorLogicFlag
-
isIntersectionPointFlagOn
-
setIsIntersectionPointFlag
public void setIsIntersectionPointFlag(World world, int i, int j, int k, boolean bIsIntersectionPoint) -
isLitFlagOn
-
setIsLitFlag
-
isBlockGlowing
-
setBlockAsGlowing
-
setBlockAsNotGlowing
-
notifyNeighboringDetectorBlocksOfChange
-
hasValidLensSource
-
hasValidLensSourceIgnoreFacing
-
hasMultipleValidLensSources
-
hasMultipleValidLensSourcesIgnoreFacing
public boolean hasMultipleValidLensSourcesIgnoreFacing(World world, int i, int j, int k, int iIgnoreFacing) -
countValidLensSources
-
countValidLensSourcesIgnoreFacing
-
hasValidLensSourceToFacing
-
getRangeToValidLensSourceToFacing
-
verifyLitByLens
-
verifyLitByLensIgnoreFacing
-
hasValidLitLensSourceToFacing
public boolean hasValidLitLensSourceToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing) -
getRangeToValidLitLensSourceToFacing
public int getRangeToValidLitLensSourceToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing) -
createLensBeamFromBlock
-
removeLensBeamFromBlock
-
lightBlock
-
unlightBlock
-
changeStateToRegisterEntityCollision
-
changeStateToClearEntityCollision
-
turnBeamOnFromBlock
-
turnBeamOffFromBlock
-
shouldBeProjectingToFacing
protected boolean shouldBeProjectingToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing) -
shouldBeGlowingToFacing
-
fullyValidateBlock
-
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
-
renderBlock
- Overrides:
renderBlockin classBlock
-
renderDetectorLogicDebug
@Environment(CLIENT) public boolean renderDetectorLogicDebug(RenderBlocks renderBlocks, IBlockAccess blockAccess, int i, int j, int k, Block block) -
renderDetectorLogicDebugInvBlock
@Environment(CLIENT) public void renderDetectorLogicDebugInvBlock(RenderBlocks renderBlocks, Block block, int iItemDamage, int iRenderType)
-