public class PicketFenceBlock extends GenericModelBlock implements net.minecraft.block.IWaterLoggable
net.minecraft.block.Block.RenderSideCacheKey
net.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 |
---|---|
protected static net.minecraft.util.math.AxisAlignedBB[] |
BOUNDING_BOXES |
protected net.minecraft.util.math.shapes.VoxelShape[] |
collisionShapeByIndex |
static net.minecraft.state.BooleanProperty |
EAST |
static net.minecraft.util.math.AxisAlignedBB |
EAST_AABB |
static net.minecraft.state.BooleanProperty |
NORTH |
static net.minecraft.util.math.AxisAlignedBB |
NORTH_AABB |
static net.minecraft.util.math.AxisAlignedBB |
PILLAR_AABB |
static net.minecraft.state.BooleanProperty |
SOUTH |
static net.minecraft.util.math.AxisAlignedBB |
SOUTH_AABB |
static net.minecraft.state.BooleanProperty |
WATERLOGGED |
static net.minecraft.state.BooleanProperty |
WEST |
static net.minecraft.util.math.AxisAlignedBB |
WEST_AABB |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Constructor and Description |
---|
PicketFenceBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConnectTo(net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
protected int |
getAABBIndex(net.minecraft.block.BlockState p_196406_1_) |
net.minecraft.util.math.shapes.VoxelShape |
getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader p_220071_2_,
net.minecraft.util.math.BlockPos p_220071_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220071_4_) |
net.minecraft.fluid.FluidState |
getFluidState(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) |
protected static boolean |
isExcepBlockForAttachWithPiston(net.minecraft.block.Block p_194142_0_) |
protected net.minecraft.util.math.shapes.VoxelShape[] |
makeShapes(float p_196408_1_,
float p_196408_2_,
float p_196408_3_,
float p_196408_4_,
float p_196408_5_) |
net.minecraft.block.BlockState |
mirror(net.minecraft.block.BlockState state,
net.minecraft.util.Mirror mirrorIn) |
net.minecraft.tileentity.TileEntity |
newBlockEntity(net.minecraft.world.IBlockReader worldIn) |
net.minecraft.block.BlockState |
rotate(net.minecraft.block.BlockState state,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Rotation direction) |
net.minecraft.util.ActionResultType |
use(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn,
net.minecraft.util.math.BlockRayTraceResult hit) |
getRenderShape
animateTick, 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, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
attack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getOcclusionShape, getOffsetType, getPistonPushReaction, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, rotate, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canPlaceLiquid, placeLiquid, takeLiquid
addDestroyEffects, 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, getPickBlock, 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, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public static final net.minecraft.state.BooleanProperty NORTH
public static final net.minecraft.state.BooleanProperty EAST
public static final net.minecraft.state.BooleanProperty SOUTH
public static final net.minecraft.state.BooleanProperty WEST
public static final net.minecraft.state.BooleanProperty WATERLOGGED
protected static final net.minecraft.util.math.AxisAlignedBB[] BOUNDING_BOXES
public static final net.minecraft.util.math.AxisAlignedBB PILLAR_AABB
public static final net.minecraft.util.math.AxisAlignedBB SOUTH_AABB
public static final net.minecraft.util.math.AxisAlignedBB WEST_AABB
public static final net.minecraft.util.math.AxisAlignedBB NORTH_AABB
public static final net.minecraft.util.math.AxisAlignedBB EAST_AABB
protected final net.minecraft.util.math.shapes.VoxelShape[] collisionShapeByIndex
protected net.minecraft.util.math.shapes.VoxelShape[] makeShapes(float p_196408_1_, float p_196408_2_, float p_196408_3_, float p_196408_4_, float p_196408_5_)
protected int getAABBIndex(net.minecraft.block.BlockState p_196406_1_)
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition
in class GenericModelBlock
public net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader p_220071_2_, net.minecraft.util.math.BlockPos p_220071_3_, net.minecraft.util.math.shapes.ISelectionContext p_220071_4_)
getCollisionShape
in class net.minecraft.block.AbstractBlock
public 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.AbstractBlock
public boolean canConnectTo(net.minecraft.world.IBlockReader worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction facing)
protected static boolean isExcepBlockForAttachWithPiston(net.minecraft.block.Block p_194142_0_)
public net.minecraft.util.ActionResultType use(net.minecraft.block.BlockState state, net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand handIn, net.minecraft.util.math.BlockRayTraceResult hit)
use
in class net.minecraft.block.AbstractBlock
@Nullable public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement
in class net.minecraft.block.Block
public net.minecraft.fluid.FluidState getFluidState(net.minecraft.block.BlockState state)
getFluidState
in class net.minecraft.block.AbstractBlock
public net.minecraft.block.BlockState rotate(net.minecraft.block.BlockState state, net.minecraft.world.IWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Rotation direction)
rotate
in interface net.minecraftforge.common.extensions.IForgeBlock
public net.minecraft.block.BlockState mirror(net.minecraft.block.BlockState state, net.minecraft.util.Mirror mirrorIn)
mirror
in class net.minecraft.block.AbstractBlock
public net.minecraft.tileentity.TileEntity newBlockEntity(net.minecraft.world.IBlockReader worldIn)
newBlockEntity
in interface net.minecraft.block.ITileEntityProvider
newBlockEntity
in class GenericModelBlock