net.minecraft.world.level.block

public class TargetBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dog
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
public static final com.mojang.serialization.MapCodec<TargetBlock>
a
CODEC
field_46472
f_pozzdzun
CODEC
CODEC
f_302261_
private static final IntegerProperty
b
OUTPUT_POWER
field_22428
f_oelrpywk
POWER
POWER
f_57376_
private static final int
c
ACTIVATION_TICKS_ARROWS
field_31263
f_qgfzeqvs
RECOVERABLE_POWER_DELAY
RECOVERABLE_POWER_DELAY
f_154777_
private static final int
d
ACTIVATION_TICKS_OTHER
field_31264
f_qmlhtbaq
REGULAR_POWER_DELAY
REGULAR_POWER_DELAY
f_154778_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TargetBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected void
a(dcw arg0, dtc arg1, ewy arg2, cnp 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(dcx arg0, dtc arg1, ewy arg2, bsr 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(ewy arg0, exc 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(dcx arg0, dtc arg1, int arg2, jd 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_)
protected void
a(dtc arg0, aqu arg1, jd arg2, ayw 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)
protected int
a(dtc arg0, dcc arg1, jd arg2, ji 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)
protected boolean
e_(dtc 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(dtd$a<dfy, dtc> 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)
protected void
b(dtc arg0, dcw arg1, jd arg2, dtc 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)