net.minecraft.world.level.block

public class TargetBlock

extends Block

All mapped superinterfaces:

ItemLike

cca
net.minecraft.world.level.block.TargetBlock
net.minecraft.class_4850
net.minecraft.block.TargetBlock
net.minecraft.block.TargetBlock
net.minecraft.server.v1_16_R1.BlockTarget

Field summary

Modifier and TypeField
private static final IntegerProperty
a
OUTPUT_POWER
field_22428
POWER
field_235603_a_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public void
a(bqb arg0, cfj arg1, deh arg2, bes 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 arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
func_220066_a(World arg0, BlockState arg1, BlockRayTraceResult arg2, ProjectileEntity arg3)
private static int
a(bqc arg0, cfj arg1, deh arg2, aom arg3)
updateRedstoneOutput(LevelAccessor arg0, BlockState arg1, BlockHitResult arg2, Entity arg3)
method_24858(class_1936 arg0, class_2680 arg1, class_3965 arg2, class_1297 arg3)
trigger(WorldAccess world, BlockState state, BlockHitResult arg2, Entity arg3)
func_235605_a_(IWorld arg0, BlockState arg1, BlockRayTraceResult arg2, Entity arg3)
private static int
a(deh arg0, dem arg1)
getRedstoneStrength(BlockHitResult arg0, Vec3 arg1)
method_24859(class_3965 arg0, class_243 arg1)
calculatePower(BlockHitResult arg0, Vec3d pos)
func_235606_a_(BlockRayTraceResult arg0, Vector3d arg1)
private static void
a(bqc arg0, cfj arg1, int arg2, fu arg3, int arg4)
setOutputPower(LevelAccessor arg0, BlockState arg1, int arg2, BlockPos arg3, int arg4)
method_24857(class_1936 arg0, class_2680 arg1, int arg2, class_2338 arg3, int arg4)
setPower(WorldAccess world, BlockState state, int power, BlockPos pos, int delay)
func_235604_a_(IWorld arg0, BlockState arg1, int arg2, BlockPos arg3, int arg4)
public void
a(cfj arg0, zd arg1, fu 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 arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public int
a(cfj arg0, bpg arg1, fu arg2, fz 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 arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public boolean
b_(cfj arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
protected void
a(cfk$a<bvr, cfj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public void
b(cfj arg0, bqb arg1, fu arg2, cfj 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 arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)