net.minecraft.world.level.block

public class CrafterBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dhr
net.minecraft.world.level.block.CrafterBlock
net.minecraft.class_8886
net.minecraft.unmapped.C_dmnruvyr
net.minecraft.block.CrafterBlock
net.minecraft.block.CrafterBlock
net.minecraft.src.C_301956_
net.minecraft.world.level.block.CrafterBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CrafterBlock>
a
CODEC
field_46798
f_xdropqvd
CODEC
CODEC
f_303783_
public static final BooleanProperty
b
CRAFTING
field_46799
f_vffbqbgm
CRAFTING
CRAFTING
f_302342_
public static final BooleanProperty
c
TRIGGERED
field_46800
f_lebcsueu
TRIGGERED
TRIGGERED
f_303414_
private static final EnumProperty<FrontAndTop>
d
ORIENTATION
field_46801
f_wsnnizrl
ORIENTATION
ORIENTATION
f_303600_
private static final int
e
MAX_CRAFTING_TICKS
field_46802
f_lefdstyp
field_46802
MAX_CRAFTING_TICKS
f_303278_
private static final int
f
CRAFTING_TICK_DELAY
field_47521
f_agoiltbq
TRIGGER_DELAY
TRIGGER_DELAY
f_303006_
private static final RecipeCache
g
RECIPE_CACHE
field_46803
f_qwlpkjjq
recipeCache
RECIPE_CACHE
f_302794_
private static final int
h
CRAFTER_ADVANCEMENT_DIAMETER
field_50015
f_ivkpvzrt
field_50015
ADVANCEMENT_TRIGGER_RANGE
f_314105_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected com.mojang.serialization.MapCodec<CrafterBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected boolean
c_(dtc arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dtc arg0, dcw arg1, jd arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_310277_, C_1596_ p_312038_, C_4675_ arg2)
protected void
a(dtc arg0, dcw arg1, jd arg2, dfy arg3, jd 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_312714_, C_1596_ p_310958_, C_4675_ p_313237_, C_1706_ p_312468_, C_4675_ p_309615_, boolean arg5)
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_312701_, C_12_ p_311281_, C_4675_ p_311092_, C_212974_ arg3)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dcw arg0, dtc arg1, dqj<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
m_ujgennlh(C_cdctfzbn arg0, C_txtbiemp arg1, C_wgqvodus<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_311648_, C_2064_ p_310343_, C_1992_<T> arg2)
private void
a(dqh arg0, boolean arg1)
setBlockEntityTriggered(BlockEntity arg0, boolean arg1)
method_54477(class_2586 arg0, boolean arg1)
m_llucjdut(C_kvegafmh arg0, boolean arg1)
setTriggered(BlockEntity blockEntity, boolean triggered)
setTriggered(BlockEntity blockEntity, boolean triggered)
m_306927_(C_1991_ p_312611_, boolean arg1)
public BlockEntity
a(jd arg0, dtc arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_310225_, C_2064_ arg1)
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public void
a(dcw arg0, jd arg1, dtc arg2, btn arg3, cuq arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_313069_, C_4675_ p_310230_, C_2064_ p_310379_, C_524_ p_311227_, C_1391_ arg4)
protected void
a(dtc arg0, dcw arg1, jd arg2, dtc 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_310489_, C_1596_ p_312335_, C_4675_ p_311081_, C_2064_ p_310350_, boolean arg4)
protected InteractionResult
a(dtc arg0, dcw arg1, jd arg2, cmx arg3, ewy arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_312700_, C_1596_ p_310945_, C_4675_ p_312953_, C_1141_ p_309965_, C_3041_ arg4)
protected void
a(dtc arg0, aqu arg1, jd arg2)
dispenseFrom(BlockState arg0, ServerLevel arg1, BlockPos arg2)
method_54478(class_2680 arg0, class_3218 arg1, class_2338 arg2)
m_xwekqozg(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2)
craft(BlockState state, ServerWorld world, BlockPos pos)
craft(BlockState state, ServerWorld world, BlockPos pos)
m_305705_(C_2064_ p_310451_, C_12_ p_310774_, C_4675_ arg2)
public static Optional<RecipeHolder<CraftingRecipe>>
a(dcw arg0, cyp arg1)
getPotentialResults(Level arg0, CraftingInput arg1)
method_54475(class_1937 arg0, class_9694 arg1)
m_jtimyngh(C_cdctfzbn arg0, C_euomljmv arg1)
getCraftingRecipe(World world, CraftingRecipeInput input)
getFirstMatch(World world, CraftingRecipeInput input)
m_305919_(C_1596_ p_311236_, C_336435_ p_342419_)
private void
a(aqu arg0, jd arg1, dqv arg2, cuq arg3, dtc arg4, czb<cyq> arg5)
dispenseItem(ServerLevel arg0, BlockPos arg1, CrafterBlockEntity arg2, ItemStack arg3, BlockState arg4, RecipeHolder<CraftingRecipe> arg5)
method_54476(class_3218 arg0, class_2338 arg1, class_8887 arg2, class_1799 arg3, class_2680 arg4, class_8786<class_3955> arg5)
m_wbzysgew(C_bdwnwhiu arg0, C_hynzadkk arg1, C_lamqkfie arg2, C_sddaxwyk arg3, C_txtbiemp arg4, C_dscbrwbj<C_pvphvxig> arg5)
transferOrSpawnStack(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<CraftingRecipe> recipe)
craft(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeHolder<CraftingRecipe> recipe)
m_304843_(C_12_ p_312358_, C_4675_ p_309887_, C_301918_ p_310474_, C_1391_ p_310667_, C_2064_ p_329387_, C_290175_<C_1457_> arg5)
protected RenderShape
a_(dtc arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected BlockState
a(dtc arg0, dmm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_309910_, C_1886_ arg1)
protected BlockState
a(dtc arg0, dkv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_311418_, C_1838_ arg1)
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)