public class ScaffoldingSlabBlock
extends net.minecraft.block.SlabBlock
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.IntegerProperty |
DISTANCE_07 |
static net.minecraft.state.BooleanProperty |
RAILED |
BOTTOM_SHAPE, TOP_SHAPE, TYPE, WATERLOGGEDBLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer| Constructor and Description |
|---|
ScaffoldingSlabBlock(net.minecraft.block.AbstractBlock.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.util.math.shapes.VoxelShape |
getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
static int |
getDistance(net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos blockPos) |
boolean |
isLadder(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.LivingEntity entity) |
boolean |
isValidPosition(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos) |
void |
onBlockAdded(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving) |
void |
tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
net.minecraft.block.BlockState |
updatePostPlacement(net.minecraft.block.BlockState stateIn,
net.minecraft.util.Direction facing,
net.minecraft.block.BlockState facingState,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos currentPos,
net.minecraft.util.math.BlockPos facingPos) |
allowsMovement, canContainFluid, getFluidState, getShape, getStateForPlacement, isReplaceable, isTransparent, receiveFluidaddInformation, animateTick, asItem, canDropFromExplosion, cannotAttach, canSpawnInBlock, canSustainPlant, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getBlockFromItem, getDefaultState, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getSelf, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getTags, getTranslatedName, getTranslationKey, getValidBlockForPosition, harvestBlock, hasEnoughSolidSide, hasSolidSideOnTop, isIn, isOpaque, isVariableOpacity, makeCuboidShape, matchesBlock, nudgeEntitiesWithNewState, onBlockHarvested, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, replaceBlock, replaceBlockState, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toStringcanProvidePower, eventReceived, getAmbientOcclusionLightValue, getCollisionShape, getComparatorInputOverride, getContainer, getDrops, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderShape, getRenderType, getStrongPower, getWeakPower, hasComparatorInputOverride, isReplaceable, isSideInvisible, isTileEntityProvider, mirror, neighborChanged, onBlockActivated, onBlockClicked, onEntityCollision, onProjectileCollision, onReplaced, randomTick, rotate, spawnAdditionalDrops, updateDiagonalNeighborsgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, 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, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic static final net.minecraft.state.IntegerProperty DISTANCE_07
public static final net.minecraft.state.BooleanProperty RAILED
public ScaffoldingSlabBlock(net.minecraft.block.AbstractBlock.Properties properties)
public static int getDistance(net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos blockPos)
protected void fillStateContainer(@Nonnull
net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer in class net.minecraft.block.SlabBlock@Nonnull
@ParametersAreNonnullByDefault
public net.minecraft.block.BlockState updatePostPlacement(net.minecraft.block.BlockState stateIn,
net.minecraft.util.Direction facing,
net.minecraft.block.BlockState facingState,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos currentPos,
net.minecraft.util.math.BlockPos facingPos)
updatePostPlacement in class net.minecraft.block.SlabBlock@ParametersAreNonnullByDefault
public boolean isValidPosition(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos)
isValidPosition in class net.minecraft.block.AbstractBlock@Nonnull
@ParametersAreNonnullByDefault
public net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context)
getCollisionShape in class net.minecraft.block.AbstractBlock@ParametersAreNonnullByDefault
public void onBlockAdded(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving)
onBlockAdded in class net.minecraft.block.AbstractBlock@ParametersAreNonnullByDefault
public void tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand)
tick in class net.minecraft.block.AbstractBlockpublic boolean isLadder(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.LivingEntity entity)