net.minecraft.world.level.block.state

public abstract class BlockBehaviour

ceg
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.class_4970
net.minecraft.block.AbstractBlock
net.minecraft.block.AbstractBlock
net.minecraft.server.v1_16_R3.BlockBase

Field summary

Modifier and TypeField
protected static final Direction[]
ar
UPDATE_SHAPE_ORDER
field_23157
DIRECTIONS
field_212556_a
protected final Material
as
material
field_23158
material
field_149764_J
material
protected final boolean
at
hasCollision
field_23159
collidable
field_235688_at_
protected final float
au
explosionResistance
field_23160
resistance
field_235689_au_
durability
protected final boolean
av
isRandomlyTicking
field_23161
randomTicks
field_149789_z
protected final SoundType
aw
soundType
field_23162
soundGroup
field_149762_H
stepSound
protected final float
ax
friction
field_23163
slipperiness
field_149765_K
frictionFactor
protected final float
ay
speedFactor
field_23164
velocityMultiplier
field_226886_f_
speedFactor
protected final float
az
jumpFactor
field_23165
jumpVelocityMultiplier
field_226887_g_
jumpFactor
protected final boolean
aA
dynamicShape
field_23154
dynamicBounds
field_208621_p
protected final BlockBehaviour$Properties
aB
properties
field_23155
settings
field_235684_aB_
protected ResourceLocation
aC
drops
field_23156
lootTableId
field_220085_g

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public void
a(ceh arg0, bry arg1, fx arg2, int arg3, int arg4)
updateIndirectNeighbourShapes(BlockState arg0, LevelAccessor arg1, BlockPos arg2, int arg3, int arg4)
method_9517(class_2680 arg0, class_1936 arg1, class_2338 arg2, int arg3, int arg4)
prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
func_196248_b(BlockState arg0, IWorld arg1, BlockPos arg2, int arg3, int arg4)
public boolean
a(ceh arg0, brc arg1, fx arg2, cxe arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public BlockState
a(ceh arg0, gc arg1, ceh arg2, bry arg3, fx arg4, fx arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public void
a(ceh arg0, brx arg1, fx arg2, buo arg3, fx arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
public void
b(ceh arg0, brx arg1, fx arg2, ceh arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(ceh arg0, brx arg1, fx arg2, ceh arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public InteractionResult
a(ceh arg0, brx arg1, fx arg2, bfw arg3, aot arg4, dcj arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public boolean
a(ceh arg0, brx arg1, fx arg2, int arg3, int arg4)
triggerEvent(BlockState arg0, Level arg1, BlockPos arg2, int arg3, int arg4)
method_9592(class_2680 arg0, class_1937 arg1, class_2338 arg2, int arg3, int arg4)
onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
func_189539_a(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
public RenderShape
b(ceh arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState state)
func_149645_b(BlockState arg0)
public boolean
c_(ceh arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState state)
func_220074_n(BlockState arg0)
public boolean
b_(ceh arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState state)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
public PushReaction
f(ceh arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState state)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public FluidState
d(ceh arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState state)
func_204507_t(BlockState arg0)
public boolean
a(ceh arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState state)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public BlockBehaviour$OffsetType
ah_()
getOffsetType()
method_16841()
getOffsetType()
func_176218_Q()
public BlockState
a(ceh arg0, bzm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState state, BlockRotation rotation)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(ceh arg0, byg arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState state, BlockMirror mirror)
func_185471_a(BlockState arg0, Mirror arg1)
public boolean
a(ceh arg0, bny arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState state, ItemPlacementContext context)
func_196253_a(BlockState arg0, BlockItemUseContext arg1)
public boolean
a(ceh arg0, cuw arg1)
canBeReplaced(BlockState arg0, Fluid arg1)
method_22358(class_2680 arg0, class_3611 arg1)
canBucketPlace(BlockState state, Fluid fluid)
func_225541_a_(BlockState arg0, Fluid arg1)
public List<ItemStack>
a(ceh arg0, cyv$a arg1)
getDrops(BlockState arg0, LootContext$Builder arg1)
method_9560(class_2680 arg0, class_47$class_48 arg1)
getDroppedStacks(BlockState state, LootContext$Builder builder)
func_220076_a(BlockState arg0, LootContext$Builder arg1)
public VoxelShape
d(ceh arg0, brc arg1, fx arg2)
getOcclusionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9571(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getCullingShape(BlockState state, BlockView world, BlockPos pos)
func_196247_c(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public VoxelShape
e(ceh arg0, brc arg1, fx arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_25959(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getSidesShape(BlockState state, BlockView world, BlockPos pos)
func_230335_e_(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public VoxelShape
a_(ceh arg0, brc arg1, fx arg2)
getInteractionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9584(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getRaycastShape(BlockState state, BlockView world, BlockPos pos)
func_199600_g(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public int
f(ceh arg0, brc arg1, fx arg2)
getLightBlock(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9505(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getOpacity(BlockState state, BlockView world, BlockPos pos)
func_200011_d(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public MenuProvider
b(ceh arg0, brx arg1, fx arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
func_220052_b(BlockState arg0, World arg1, BlockPos arg2)
getInventory(IBlockData arg0, World arg1, BlockPosition arg2)
public boolean
a(ceh arg0, brz arg1, fx arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState state, WorldView world, BlockPos pos)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public int
a(ceh arg0, brx arg1, fx arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState state, World world, BlockPos pos)
func_180641_l(BlockState arg0, World arg1, BlockPos arg2)
public VoxelShape
b(ceh arg0, brc arg1, fx arg2, dcs arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public VoxelShape
c(ceh arg0, brc arg1, fx arg2, dcs arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
func_220071_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public VoxelShape
a(ceh arg0, brc arg1, fx arg2, dcs arg3)
getVisualShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_26159(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
func_230322_a_(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public void
b(ceh arg0, aag arg1, fx arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
func_225542_b_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
a(ceh arg0, aag arg1, fx arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public float
a(ceh arg0, bfw arg1, brc arg2, fx arg3)
getDestroyProgress(BlockState arg0, Player arg1, BlockGetter arg2, BlockPos arg3)
method_9594(class_2680 arg0, class_1657 arg1, class_1922 arg2, class_2338 arg3)
calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
func_180647_a(BlockState arg0, PlayerEntity arg1, IBlockReader arg2, BlockPos arg3)
getDamage(IBlockData arg0, EntityHuman arg1, IBlockAccess arg2, BlockPosition arg3)
public void
a(ceh arg0, aag arg1, fx arg2, bmb arg3)
spawnAfterBreak(BlockState arg0, ServerLevel arg1, BlockPos arg2, ItemStack arg3)
method_9565(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1799 arg3)
onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
func_220062_a(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3)
dropNaturally(IBlockData arg0, WorldServer arg1, BlockPosition arg2, ItemStack arg3)
public void
a(ceh arg0, brx arg1, fx arg2, bfw arg3)
attack(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_9606(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
func_196270_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
attack(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3)
public int
a(ceh arg0, brc arg1, fx arg2, gc arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public void
a(ceh arg0, brx arg1, fx arg2, aqa arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
func_196262_a(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
public int
b(ceh arg0, brc arg1, fx arg2, gc arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public final boolean
q()
isEntityBlock()
method_26161()
hasBlockEntity()
func_235695_q_()
isTileEntity()
public final ResourceLocation
r()
getLootTable()
method_26162()
getLootTableId()
func_220068_i()
public void
a(brx arg0, ceh arg1, dcj arg2, bgm arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
func_220066_a(World arg0, BlockState arg1, BlockRayTraceResult arg2, ProjectileEntity arg3)
public abstract Item
h()
asItem()
method_8389()
asItem()
func_199767_j()
getItem()
protected abstract Block
p()
asBlock()
method_26160()
asBlock()
func_230328_p_()
public MaterialColor
s()
defaultMaterialColor()
method_26403()
getDefaultMapColor()
func_235697_s_()
public boolean
a(ceh arg0, ceh arg1, gc arg2)
skipRendering(BlockState arg0, BlockState arg1, Direction arg2)
method_9522(class_2680 arg0, class_2680 arg1, class_2350 arg2)
isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
func_200122_a(BlockState arg0, BlockState arg1, Direction arg2)
public long
a(ceh arg0, fx arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState state, BlockPos pos)
func_209900_a(BlockState arg0, BlockPos arg1)
public float
a(ceh arg0, brc arg1, fx arg2)
getShadeBrightness(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9575(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
func_220080_a(BlockState arg0, IBlockReader arg1, BlockPos arg2)