net.minecraft.world.level.block

public class CrafterBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dmg
net.minecraft.world.level.block.CrafterBlock
net.minecraft.class_8886
net.minecraft.block.CrafterBlock
net.minecraft.world.level.block.CrafterBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CrafterBlock>
a
CODEC
field_46798
CODEC
public static final BooleanProperty
b
CRAFTING
field_46799
CRAFTING
public static final BooleanProperty
c
TRIGGERED
field_46800
TRIGGERED
private static final EnumProperty<FrontAndTop>
d
ORIENTATION
field_46801
ORIENTATION
private static final int
e
MAX_CRAFTING_TICKS
field_46802
field_46802
private static final int
f
CRAFTING_TICK_DELAY
field_47521
TRIGGER_DELAY
private static final RecipeCache
g
RECIPE_CACHE
field_46803
recipeCache
private static final int
h
CRAFTER_ADVANCEMENT_DIAMETER
field_50015
field_50015

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected com.mojang.serialization.MapCodec<CrafterBlock>
a()
codec()
method_53969()
getCodec()
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dxv arg0, dhi arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
protected void
a(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dhi arg0, dxv arg1, duz<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
private void
a(dux arg0, boolean arg1)
setBlockEntityTriggered(BlockEntity arg0, boolean arg1)
method_54477(class_2586 arg0, boolean arg1)
setTriggered(BlockEntity blockEntity, boolean triggered)
public BlockEntity
a(jh arg0, dxv arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public void
a(dhi arg0, jh arg1, dxv arg2, bwg arg3, cxp 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)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
protected void
a(dxv arg0, dhi arg1, jh arg2, dxv 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 arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
protected InteractionResult
a(dxv arg0, dhi arg1, jh arg2, cpx arg3, fbu 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)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected void
a(dxv arg0, ash arg1, jh arg2)
dispenseFrom(BlockState arg0, ServerLevel arg1, BlockPos arg2)
method_54478(class_2680 arg0, class_3218 arg1, class_2338 arg2)
craft(BlockState state, ServerWorld world, BlockPos pos)
public static Optional<RecipeHolder<CraftingRecipe>>
a(ash arg0, dbs arg1)
getPotentialResults(ServerLevel arg0, CraftingInput arg1)
method_54475(class_3218 arg0, class_9694 arg1)
getCraftingRecipe(ServerWorld world, CraftingRecipeInput input)
private void
a(ash arg0, jh arg1, dvl arg2, cxp arg3, dxv arg4, dcj<?> arg5)
dispenseItem(ServerLevel arg0, BlockPos arg1, CrafterBlockEntity arg2, ItemStack arg3, BlockState arg4, RecipeHolder<?> arg5)
method_54476(class_3218 arg0, class_2338 arg1, class_8887 arg2, class_1799 arg3, class_2680 arg4, class_8786<?> arg5)
transferOrSpawnStack(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<?> recipe)
protected RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)