public class ScrollBlock
extends net.minecraft.block.ContainerBlock
Modifier and Type | Class and Description |
---|---|
static class |
ScrollBlock.ScrollBlockHanging |
static class |
ScrollBlock.ScrollBlockStanding |
static class |
ScrollBlock.Type |
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 |
---|---|
static net.minecraft.state.DirectionProperty |
FACING |
static net.minecraft.state.IntegerProperty |
ROTATION |
protected static net.minecraft.util.math.shapes.VoxelShape |
STANDING_AABB |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Constructor and Description |
---|
ScrollBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
canPlaceBlockAt(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
protected void |
createBlockStateDefinition(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 worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
net.minecraft.item.ItemStack |
getItem(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
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.BlockRenderType |
getRenderShape(net.minecraft.block.BlockState p_149645_1_) |
protected boolean |
hasInvalidNeighbor(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
boolean |
isFullCube(net.minecraft.block.BlockState state) |
protected boolean |
isInvalidNeighbor(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing) |
boolean |
isPassable(net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos) |
boolean |
isPossibleToRespawnInThis() |
net.minecraft.tileentity.TileEntity |
newBlockEntity(net.minecraft.world.IBlockReader worldIn) |
void |
playerDestroy(net.minecraft.world.World worldIn,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.tileentity.TileEntity te,
net.minecraft.item.ItemStack stack) |
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, getStateForPlacement, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isRandomlyTicking, isShapeFullBlock, 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, getFluidState, getInteractionShape, getLightBlock, getLootTable, getOcclusionShape, getOffsetType, getPistonPushReaction, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, rotate, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, 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, shouldDisplayFluidOverlay
public static final net.minecraft.state.DirectionProperty FACING
public static final net.minecraft.state.IntegerProperty ROTATION
protected static final net.minecraft.util.math.shapes.VoxelShape STANDING_AABB
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition
in class net.minecraft.block.Block
public net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.shapes.ISelectionContext context)
getCollisionShape
in class net.minecraft.block.AbstractBlock
public boolean isFullCube(net.minecraft.block.BlockState state)
public boolean isPassable(net.minecraft.world.IWorld worldIn, net.minecraft.util.math.BlockPos pos)
public boolean isPossibleToRespawnInThis()
isPossibleToRespawnInThis
in class net.minecraft.block.Block
public net.minecraft.tileentity.TileEntity newBlockEntity(net.minecraft.world.IBlockReader worldIn)
public net.minecraft.item.ItemStack getItem(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state)
public boolean canPlaceBlockAt(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos)
protected boolean isInvalidNeighbor(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction facing)
protected boolean hasInvalidNeighbor(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos)
public void playerDestroy(net.minecraft.world.World worldIn, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, @Nullable net.minecraft.tileentity.TileEntity te, net.minecraft.item.ItemStack stack)
playerDestroy
in class net.minecraft.block.Block
public 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)
public net.minecraft.block.BlockRenderType getRenderShape(net.minecraft.block.BlockState p_149645_1_)
getRenderShape
in class net.minecraft.block.ContainerBlock