Modifier and Type |
Method and Description |
boolean |
allowsSpawning(BlockView world,
BlockPos pos,
EntityType<?> type) |
protected abstract BlockState |
asBlockState() |
float |
calcBlockBreakingDelta(PlayerEntity player,
BlockView world,
BlockPos pos) |
boolean |
canBucketPlace(Fluid fluid) |
boolean |
canPathfindThrough(BlockView world,
BlockPos pos,
NavigationType type) |
boolean |
canPlaceAt(WorldView world,
BlockPos pos) |
boolean |
canReplace(ItemPlacementContext context) |
NamedScreenHandlerFactory |
createScreenHandlerFactory(World world,
BlockPos pos) |
boolean |
emitsRedstonePower() |
boolean |
exceedsCube() |
float |
getAmbientOcclusionLightLevel(BlockView world,
BlockPos pos) |
Block |
getBlock() |
VoxelShape |
getCollisionShape(BlockView world,
BlockPos pos) |
VoxelShape |
getCollisionShape(BlockView world,
BlockPos pos,
ShapeContext context) |
int |
getComparatorOutput(World world,
BlockPos pos) |
VoxelShape |
getCullingFace(BlockView world,
BlockPos pos,
Direction direction) |
VoxelShape |
getCullingShape(BlockView world,
BlockPos pos) |
List<ItemStack> |
getDroppedStacks(LootContext.Builder builder) |
FluidState |
getFluidState() |
float |
getHardness(BlockView world,
BlockPos pos) |
int |
getLuminance()
Returns the light level emitted by this block state.
|
Material |
getMaterial() |
Vec3d |
getModelOffset(BlockView world,
BlockPos pos) |
int |
getOpacity(BlockView world,
BlockPos pos) |
VoxelShape |
getOutlineShape(BlockView world,
BlockPos pos) |
VoxelShape |
getOutlineShape(BlockView world,
BlockPos pos,
ShapeContext context) |
PistonBehavior |
getPistonBehavior() |
VoxelShape |
getRaycastShape(BlockView world,
BlockPos pos) |
long |
getRenderingSeed(BlockPos pos) |
BlockRenderType |
getRenderType() |
VoxelShape |
getSidesShape(BlockView world,
BlockPos pos) |
BlockSoundGroup |
getSoundGroup() |
BlockState |
getStateForNeighborUpdate(Direction direction,
BlockState state,
WorldAccess world,
BlockPos pos,
BlockPos fromPos) |
int |
getStrongRedstonePower(BlockView world,
BlockPos pos,
Direction direction) |
MaterialColor |
getTopMaterialColor(BlockView world,
BlockPos pos) |
VoxelShape |
getVisualShape(BlockView world,
BlockPos pos,
ShapeContext context) |
int |
getWeakRedstonePower(BlockView world,
BlockPos pos,
Direction direction) |
boolean |
hasComparatorOutput() |
boolean |
hasEmissiveLighting(BlockView world,
BlockPos pos) |
boolean |
hasRandomTicks() |
boolean |
hasSidedTransparency() |
boolean |
hasSolidTopSurface(BlockView world,
BlockPos pos,
Entity entity) |
boolean |
hasSolidTopSurface(BlockView world,
BlockPos pos,
Entity entity,
Direction direction) |
void |
initShapeCache() |
boolean |
isAir() |
boolean |
isFullCube(BlockView world,
BlockPos pos) |
boolean |
isIn(Tag<Block> tag) |
boolean |
isOf(Block block) |
boolean |
isOpaque() |
boolean |
isOpaqueFullCube(BlockView world,
BlockPos pos) |
boolean |
isSideInvisible(BlockState state,
Direction direction) |
boolean |
isSideSolid(BlockView world,
BlockPos pos,
Direction direction,
SideShapeType shapeType) |
boolean |
isSideSolidFullSquare(BlockView world,
BlockPos pos,
Direction direction) |
boolean |
isSolidBlock(BlockView world,
BlockPos pos) |
boolean |
isToolRequired() |
boolean |
isTranslucent(BlockView world,
BlockPos pos) |
boolean |
method_27851(Tag<Block> tag,
Predicate<AbstractBlock.AbstractBlockState> predicate) |
BlockState |
mirror(BlockMirror mirror) |
void |
neighborUpdate(World world,
BlockPos pos,
Block block,
BlockPos posFrom,
boolean notify) |
void |
onBlockAdded(World world,
BlockPos pos,
BlockState state,
boolean notify) |
void |
onBlockBreakStart(World world,
BlockPos pos,
PlayerEntity player) |
void |
onEntityCollision(World world,
BlockPos pos,
Entity entity) |
void |
onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
onStacksDropped(ServerWorld world,
BlockPos pos,
ItemStack stack) |
void |
onStateReplaced(World world,
BlockPos pos,
BlockState state,
boolean moved) |
boolean |
onSyncedBlockEvent(World world,
BlockPos pos,
int type,
int data) |
ActionResult |
onUse(World world,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
void |
prepare(WorldAccess world,
BlockPos pos,
int flags) |
void |
prepare(WorldAccess world,
BlockPos pos,
int flags,
int maxUpdateDepth) |
void |
randomTick(ServerWorld world,
BlockPos pos,
Random random) |
BlockState |
rotate(BlockRotation rotation) |
void |
scheduledTick(ServerWorld world,
BlockPos pos,
Random random) |
boolean |
shouldBlockVision(BlockView world,
BlockPos pos) |
boolean |
shouldPostProcess(BlockView world,
BlockPos pos) |
boolean |
shouldSuffocate(BlockView world,
BlockPos pos) |
void |
updateNeighbors(WorldAccess world,
BlockPos pos,
int flags) |
void |
updateNeighbors(WorldAccess world,
BlockPos pos,
int flags,
int maxUpdateDepth) |