All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
boolean |
allowsMovement(IBlockReader worldIn,
BlockPos pos,
PathType type) |
boolean |
blockNeedsPostProcessing(IBlockReader worldIn,
BlockPos pos) |
boolean |
canEntitySpawn(IBlockReader worldIn,
BlockPos pos,
EntityType<?> type) |
boolean |
canProvidePower() |
boolean |
causesSuffocation(IBlockReader worldIn,
BlockPos pos) |
static <T> BlockState |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
boolean |
func_215682_a(IBlockReader reader,
BlockPos pos,
Entity entityIn) |
boolean |
func_215691_g() |
void |
func_215692_c() |
VoxelShape |
func_215702_a(IBlockReader worldIn,
BlockPos pos,
Direction directionIn) |
float |
func_215703_d(IBlockReader reader,
BlockPos pos) |
boolean |
func_215704_f() |
boolean |
func_224755_d(IBlockReader p_224755_1_,
BlockPos p_224755_2_,
Direction p_224755_3_) |
boolean |
func_224756_o(IBlockReader p_224756_1_,
BlockPos p_224756_2_) |
Block |
getBlock() |
float |
getBlockHardness(IBlockReader worldIn,
BlockPos pos) |
VoxelShape |
getCollisionShape(IBlockReader worldIn,
BlockPos pos) |
VoxelShape |
getCollisionShape(IBlockReader worldIn,
BlockPos pos,
ISelectionContext context) |
int |
getComparatorInputOverride(World worldIn,
BlockPos pos) |
INamedContainerProvider |
getContainer(World worldIn,
BlockPos pos) |
java.util.List<ItemStack> |
getDrops(LootContext.Builder builder) |
IFluidState |
getFluidState() |
int |
getLightValue() |
Material |
getMaterial() |
MaterialColor |
getMaterialColor(IBlockReader worldIn,
BlockPos pos)
|
Vec3d |
getOffset(IBlockReader access,
BlockPos pos) |
int |
getOpacity(IBlockReader worldIn,
BlockPos pos) |
int |
getPackedLightmapCoords(IEnviromentBlockReader reader,
BlockPos pos) |
float |
getPlayerRelativeBlockHardness(PlayerEntity player,
IBlockReader worldIn,
BlockPos pos) |
long |
getPositionRandom(BlockPos pos) |
PushReaction |
getPushReaction() |
VoxelShape |
getRaytraceShape(IBlockReader worldIn,
BlockPos pos) |
VoxelShape |
getRenderShape(IBlockReader worldIn,
BlockPos pos) |
BlockRenderType |
getRenderType() |
VoxelShape |
getShape(IBlockReader worldIn,
BlockPos pos) |
VoxelShape |
getShape(IBlockReader worldIn,
BlockPos pos,
ISelectionContext context) |
SoundType |
getSoundType() |
int |
getStrongPower(IBlockReader blockAccess,
BlockPos pos,
Direction side) |
int |
getWeakPower(IBlockReader blockAccess,
BlockPos pos,
Direction side) |
boolean |
hasComparatorInputOverride() |
boolean |
hasCustomBreakingProgress() |
boolean |
isAir()
|
boolean |
isIn(Tag<Block> tagIn) |
boolean |
isNormalCube(IBlockReader reader,
BlockPos pos) |
boolean |
isOpaqueCube(IBlockReader worldIn,
BlockPos pos) |
boolean |
isReplaceable(BlockItemUseContext useContext) |
boolean |
isSideInvisible(BlockState state,
Direction face) |
boolean |
isSolid() |
boolean |
isValidPosition(IWorldReader worldIn,
BlockPos pos) |
BlockState |
mirror(Mirror mirrorIn) |
void |
neighborChanged(World worldIn,
BlockPos p_215697_2_,
Block blockIn,
BlockPos p_215697_4_,
boolean isMoving) |
boolean |
onBlockActivated(World worldIn,
PlayerEntity player,
Hand handIn,
BlockRayTraceResult hit) |
void |
onBlockAdded(World worldIn,
BlockPos pos,
BlockState oldState,
boolean isMoving) |
void |
onBlockClicked(World worldIn,
BlockPos pos,
PlayerEntity player) |
boolean |
onBlockEventReceived(World worldIn,
BlockPos pos,
int id,
int param) |
void |
onEntityCollision(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
void |
onReplaced(World worldIn,
BlockPos pos,
BlockState newState,
boolean isMoving) |
boolean |
propagatesSkylightDown(IBlockReader worldIn,
BlockPos pos) |
void |
randomTick(World worldIn,
BlockPos pos,
java.util.Random random) |
BlockState |
rotate(Rotation rot) |
static <T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> opsIn,
BlockState state) |
void |
spawnAdditionalDrops(World worldIn,
BlockPos pos,
ItemStack stack) |
void |
tick(World worldIn,
BlockPos pos,
java.util.Random random) |
boolean |
ticksRandomly() |
void |
updateDiagonalNeighbors(IWorld worldIn,
BlockPos pos,
int flags) |
void |
updateNeighbors(IWorld worldIn,
BlockPos pos,
int flags) |
BlockState |
updatePostPlacement(Direction face,
BlockState queried,
IWorld worldIn,
BlockPos currentPos,
BlockPos offsetPos) |