public class ElectricFencePoleBlock
extends net.minecraft.block.BlockContainer
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyBool |
ACTIVE |
static net.minecraft.block.properties.PropertyBool |
EAST |
static net.minecraft.block.properties.PropertyBool |
NORTH |
static net.minecraft.block.properties.PropertyBool |
SOUTH |
static net.minecraft.block.properties.PropertyBool |
WEST |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
ElectricFencePoleBlock(FenceType type) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canConnect(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.block.state.IBlockState state) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.tileentity.TileEntity |
createNewTileEntity(net.minecraft.world.World world,
int meta) |
net.minecraft.block.state.IBlockState |
getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess access,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.BlockRenderLayer |
getBlockLayer() |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.util.EnumBlockRenderType |
getRenderType(net.minecraft.block.state.IBlockState state) |
FenceType |
getType() |
boolean |
isFullCube(net.minecraft.block.state.IBlockState state) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
void |
neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos) |
protected void |
processConnectedWires(java.util.HashSet<net.minecraft.util.math.BlockPos> bases,
java.util.HashSet<net.minecraft.util.math.BlockPos> wires,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos origin,
net.minecraft.util.math.BlockPos current) |
void |
updateConnectedWires(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
breakBlock, eventReceived, harvestBlock, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateFromMeta, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationpublic static final net.minecraft.block.properties.PropertyBool NORTH
public static final net.minecraft.block.properties.PropertyBool SOUTH
public static final net.minecraft.block.properties.PropertyBool WEST
public static final net.minecraft.block.properties.PropertyBool EAST
public static final net.minecraft.block.properties.PropertyBool ACTIVE
public ElectricFencePoleBlock(FenceType type)
public net.minecraft.util.math.AxisAlignedBB getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos)
getBoundingBox in class net.minecraft.block.Blockpublic net.minecraft.util.math.AxisAlignedBB getCollisionBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
getCollisionBoundingBox in class net.minecraft.block.Blockpublic net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Blockpublic net.minecraft.util.EnumBlockRenderType getRenderType(net.minecraft.block.state.IBlockState state)
getRenderType in class net.minecraft.block.BlockContainerpublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isFullCube(net.minecraft.block.state.IBlockState state)
isFullCube in class net.minecraft.block.Blockpublic net.minecraft.tileentity.TileEntity createNewTileEntity(net.minecraft.world.World world,
int meta)
protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess access,
net.minecraft.util.math.BlockPos pos)
getActualState in class net.minecraft.block.Blockprotected boolean canConnect(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.block.state.IBlockState state)
public int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Blockpublic void neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos)
neighborChanged in class net.minecraft.block.Blockpublic void updateConnectedWires(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
public FenceType getType()
protected void processConnectedWires(java.util.HashSet<net.minecraft.util.math.BlockPos> bases,
java.util.HashSet<net.minecraft.util.math.BlockPos> wires,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos origin,
net.minecraft.util.math.BlockPos current)