public class BlockTripWire extends Block
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
protected static VoxelShape |
AABB |
static BooleanProperty |
ATTACHED |
static BooleanProperty |
DISARMED |
static BooleanProperty |
EAST |
static BooleanProperty |
NORTH |
static BooleanProperty |
POWERED |
static BooleanProperty |
SOUTH |
protected static VoxelShape |
TRIP_WRITE_ATTACHED_AABB |
static BooleanProperty |
WEST |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Constructor and Description |
|---|
BlockTripWire(BlockTripWireHook p_i48305_1_,
Block.Properties p_i48305_2_) |
addInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockClicked, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final BooleanProperty POWERED
public static final BooleanProperty ATTACHED
public static final BooleanProperty DISARMED
public static final BooleanProperty NORTH
public static final BooleanProperty EAST
public static final BooleanProperty SOUTH
public static final BooleanProperty WEST
protected static final VoxelShape AABB
protected static final VoxelShape TRIP_WRITE_ATTACHED_AABB
public BlockTripWire(BlockTripWireHook p_i48305_1_, Block.Properties p_i48305_2_)
public VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
public IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class Blockpublic IBlockState updatePostPlacement(IBlockState stateIn, EnumFacing facing, IBlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement in class Blockpublic boolean isFullCube(IBlockState state)
isFullCube in class Blockpublic BlockRenderLayer getRenderLayer()
getRenderLayer in class Blockpublic void onBlockAdded(IBlockState state, World worldIn, BlockPos pos, IBlockState oldState)
onBlockAdded in class Blockpublic void onReplaced(IBlockState state, World worldIn, BlockPos pos, IBlockState newState, boolean isMoving)
onReplaced in class Blockpublic void onBlockHarvested(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player)
onBlockHarvested in class Blockpublic void onEntityCollision(IBlockState state, World worldIn, BlockPos pos, Entity entityIn)
onEntityCollision in class Blockpublic void tick(IBlockState state, World worldIn, BlockPos pos, java.util.Random random)
public boolean shouldConnectTo(IBlockState p_196536_1_, EnumFacing p_196536_2_)
public IBlockState rotate(IBlockState state, Rotation rot)
public IBlockState mirror(IBlockState state, Mirror mirrorIn)
protected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer in class Blockpublic BlockFaceShape getBlockFaceShape(IBlockReader worldIn, IBlockState state, BlockPos pos, EnumFacing face)
getBlockFaceShape in class Block