net.minecraft.world.level.block

public class TargetBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dbd
net.minecraft.world.level.block.TargetBlock
net.minecraft.class_4850
net.minecraft.unmapped.C_viopktoj
net.minecraft.block.TargetBlock
net.minecraft.block.TargetBlock
net.minecraft.src.C_1939_
net.minecraft.world.level.block.BlockTarget

Field summary

Modifier and TypeField
private static final IntegerProperty
a
OUTPUT_POWER
field_22428
f_oelrpywk
POWER
POWER
f_57376_
private static final int
b
ACTIVATION_TICKS_ARROWS
field_31263
f_qgfzeqvs
RECOVERABLE_POWER_DELAY
RECOVERABLE_POWER_DELAY
f_154777_
private static final int
c
ACTIVATION_TICKS_OTHER
field_31264
f_qmlhtbaq
REGULAR_POWER_DELAY
REGULAR_POWER_DELAY
f_154778_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public void
a(cpv arg0, dfj arg1, ehj arg2, ccm arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
m_wvibjcmf(C_cdctfzbn arg0, C_txtbiemp arg1, C_jdakttms arg2, C_ltpsyvhj arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
m_5581_(C_1596_ p_57382_, C_2064_ p_57383_, C_3041_ p_57384_, C_1167_ arg3)
private static int
a(cpw arg0, dfj arg1, ehj arg2, biq arg3)
updateRedstoneOutput(LevelAccessor arg0, BlockState arg1, BlockHitResult arg2, Entity arg3)
method_24858(class_1936 arg0, class_2680 arg1, class_3965 arg2, class_1297 arg3)
m_avdjuakg(C_vdvbsyle arg0, C_txtbiemp arg1, C_jdakttms arg2, C_astfners arg3)
trigger(WorldAccess world, BlockState state, BlockHitResult hitResult, Entity entity)
trigger(WorldAccess world, BlockState state, BlockHitResult hitResult, Entity entity)
m_57391_(C_1598_ p_57392_, C_2064_ p_57393_, C_3041_ p_57394_, C_507_ p_57395_)
private static int
a(ehj arg0, ehn arg1)
getRedstoneStrength(BlockHitResult arg0, Vec3 arg1)
method_24859(class_3965 arg0, class_243 arg1)
m_qsyupmqm(C_jdakttms arg0, C_vgpupfxx arg1)
calculatePower(BlockHitResult hitResult, Vec3d pos)
calculatePower(BlockHitResult hitResult, Vec3d pos)
m_57408_(C_3041_ p_57409_, C_3046_ p_57410_)
private static void
a(cpw arg0, dfj arg1, int arg2, gw 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)
m_twjxwstd(C_vdvbsyle arg0, C_txtbiemp arg1, int arg2, C_hynzadkk arg3, int arg4)
setPower(WorldAccess world, BlockState state, int power, BlockPos pos, int delay)
setPower(WorldAccess world, BlockState state, int power, BlockPos pos, int delay)
m_57385_(C_1598_ p_57386_, C_2064_ p_57387_, int p_57388_, C_4675_ p_57389_, int p_57390_)
public void
a(dfj arg0, akq arg1, gw arg2, asc arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_222589_, C_12_ p_222590_, C_4675_ p_222591_, C_212974_ arg3)
public int
a(dfj arg0, cpb arg1, gw arg2, ha arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_57403_, C_1559_ p_57404_, C_4675_ p_57405_, C_4687_ arg3)
public boolean
f_(dfj arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
isRedstonePowerSource(BlockState arg0)
m_7899_(C_2064_ arg0)
protected void
a(dfk$a<csv, dfj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public void
b(dfj arg0, cpv arg1, gw arg2, dfj 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_57413_, C_1596_ p_57414_, C_4675_ p_57415_, C_2064_ p_57416_, boolean arg4)