public class BlockFourWay extends Block implements IBucketPickupHandler, ILiquidContainer
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey
Modifier and Type | Field and Description |
---|---|
static BooleanProperty |
EAST |
protected static java.util.Map<EnumFacing,BooleanProperty> |
FACING_TO_PROPERTY_MAP |
protected VoxelShape[] |
field_196410_A |
protected VoxelShape[] |
field_196412_B |
static BooleanProperty |
NORTH |
static BooleanProperty |
SOUTH |
static BooleanProperty |
WATERLOGGED |
static BooleanProperty |
WEST |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainer
delegate
Modifier | Constructor and Description |
---|---|
protected |
BlockFourWay(float p_i48420_1_,
float p_i48420_2_,
float p_i48420_3_,
float p_i48420_4_,
float p_i48420_5_,
Block.Properties p_i48420_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMovement(IBlockState state,
IBlockReader worldIn,
BlockPos pos,
PathType type) |
boolean |
canContainFluid(IBlockReader worldIn,
BlockPos pos,
IBlockState state,
Fluid fluidIn) |
protected VoxelShape[] |
func_196408_a(float p_196408_1_,
float p_196408_2_,
float p_196408_3_,
float p_196408_4_,
float p_196408_5_) |
VoxelShape |
getCollisionShape(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
IFluidState |
getFluidState(IBlockState state) |
protected int |
getIndex(IBlockState p_196406_1_) |
VoxelShape |
getShape(IBlockState state,
IBlockReader worldIn,
BlockPos pos) |
IBlockState |
mirror(IBlockState state,
Mirror mirrorIn) |
Fluid |
pickupFluid(IWorld worldIn,
BlockPos pos,
IBlockState state) |
boolean |
receiveFluid(IWorld worldIn,
BlockPos pos,
IBlockState state,
IFluidState fluidStateIn) |
IBlockState |
rotate(IBlockState state,
Rotation rot) |
addInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillStateContainer, fillWithRain, getAmbientOcclusionLightValue, getBlockFaceShape, getBlockFromItem, getBlockHardness, getComparatorInputOverride, getDefaultState, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFullCube, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacement, useNeighborBrightness
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, 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, shouldCheckWeakPower
public static final BooleanProperty NORTH
public static final BooleanProperty EAST
public static final BooleanProperty SOUTH
public static final BooleanProperty WEST
public static final BooleanProperty WATERLOGGED
protected static final java.util.Map<EnumFacing,BooleanProperty> FACING_TO_PROPERTY_MAP
protected final VoxelShape[] field_196410_A
protected final VoxelShape[] field_196412_B
protected BlockFourWay(float p_i48420_1_, float p_i48420_2_, float p_i48420_3_, float p_i48420_4_, float p_i48420_5_, Block.Properties p_i48420_6_)
protected VoxelShape[] func_196408_a(float p_196408_1_, float p_196408_2_, float p_196408_3_, float p_196408_4_, float p_196408_5_)
public VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
public VoxelShape getCollisionShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
getCollisionShape
in class Block
protected int getIndex(IBlockState p_196406_1_)
public Fluid pickupFluid(IWorld worldIn, BlockPos pos, IBlockState state)
pickupFluid
in interface IBucketPickupHandler
public IFluidState getFluidState(IBlockState state)
getFluidState
in class Block
public boolean canContainFluid(IBlockReader worldIn, BlockPos pos, IBlockState state, Fluid fluidIn)
canContainFluid
in interface ILiquidContainer
public boolean receiveFluid(IWorld worldIn, BlockPos pos, IBlockState state, IFluidState fluidStateIn)
receiveFluid
in interface ILiquidContainer
public boolean allowsMovement(IBlockState state, IBlockReader worldIn, BlockPos pos, PathType type)
allowsMovement
in class Block
public IBlockState rotate(IBlockState state, Rotation rot)
public IBlockState mirror(IBlockState state, Mirror mirrorIn)