public class MechanicalPistonHeadBlock extends ProperDirectionalBlock implements net.minecraft.block.IWaterLoggable
net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.EnumProperty<net.minecraft.state.properties.PistonType> |
TYPE |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
MechanicalPistonHeadBlock(net.minecraft.block.AbstractBlock.Properties p_i48415_1_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.fluid.FluidState |
getFluidState(net.minecraft.block.BlockState state) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.BlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraft.block.material.PushReaction |
getPistonPushReaction(net.minecraft.block.BlockState state) |
net.minecraft.util.math.shapes.VoxelShape |
getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
boolean |
isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type) |
void |
playerWillDestroy(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraft.block.BlockState |
updateShape(net.minecraft.block.BlockState state,
net.minecraft.util.Direction direction,
net.minecraft.block.BlockState neighbourState,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos neighbourPos) |
getRotatedBlockState, mirror, rotateanimateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanPlaceLiquid, placeLiquid, takeLiquidonSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic static final net.minecraft.state.EnumProperty<net.minecraft.state.properties.PistonType> TYPE
public MechanicalPistonHeadBlock(net.minecraft.block.AbstractBlock.Properties p_i48415_1_)
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class ProperDirectionalBlockpublic net.minecraft.block.material.PushReaction getPistonPushReaction(net.minecraft.block.BlockState state)
getPistonPushReaction in class net.minecraft.block.AbstractBlockpublic net.minecraft.item.ItemStack getPickBlock(net.minecraft.block.BlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player)
getPickBlock in interface net.minecraftforge.common.extensions.IForgeBlockpublic void playerWillDestroy(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.player.PlayerEntity player)
playerWillDestroy in class net.minecraft.block.Blockpublic net.minecraft.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context)
getShape in class net.minecraft.block.AbstractBlockpublic net.minecraft.fluid.FluidState getFluidState(net.minecraft.block.BlockState state)
getFluidState in class net.minecraft.block.AbstractBlockpublic net.minecraft.block.BlockState updateShape(net.minecraft.block.BlockState state,
net.minecraft.util.Direction direction,
net.minecraft.block.BlockState neighbourState,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos neighbourPos)
updateShape in class net.minecraft.block.AbstractBlockpublic net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class ProperDirectionalBlockpublic boolean isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type)
isPathfindable in class net.minecraft.block.AbstractBlock