net.minecraft.world.level.block

public class EnchantingTableBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dik
net.minecraft.world.level.block.EnchantingTableBlock
net.minecraft.class_2331
net.minecraft.block.EnchantingTableBlock
net.minecraft.src.C_313837_
net.minecraft.world.level.block.BlockEnchantmentTable

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<EnchantingTableBlock>
a
CODEC
field_46342
CODEC
f_316813_
protected static final VoxelShape
b
SHAPE
field_10951
SHAPE
f_315863_
public static final List<BlockPos>
c
BOOKSHELF_OFFSETS
field_36535
POWER_PROVIDER_OFFSETS
f_314970_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<EnchantingTableBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public static boolean
a(dcw arg0, jd arg1, jd arg2)
isValidBookShelf(Level arg0, BlockPos arg1, BlockPos arg2)
method_40445(class_1937 arg0, class_2338 arg1, class_2338 arg2)
canAccessPowerProvider(World world, BlockPos tablePos, BlockPos providerOffset)
m_323194_(C_1596_ p_328191_, C_4675_ p_328702_, C_4675_ p_336071_)
protected boolean
f_(dtc arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_330223_, C_1559_ p_327750_, C_4675_ p_332344_, C_3051_ arg3)
public void
a(dtc arg0, dcw arg1, jd arg2, ayw arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_214162_(C_2064_ p_328070_, C_1596_ p_335832_, C_4675_ p_335180_, C_212974_ arg3)
protected RenderShape
a_(dtc arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public BlockEntity
a(jd arg0, dtc arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_330999_, C_2064_ arg1)
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)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_330579_, C_2064_ p_332523_, C_1992_<T> arg2)
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)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_335039_, C_1596_ p_331142_, C_4675_ p_334809_, C_1141_ p_334503_, C_3041_ arg4)
protected MenuProvider
b(dtc arg0, dcw arg1, jd arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
m_7246_(C_2064_ p_334298_, C_1596_ p_336351_, C_4675_ arg2)
protected boolean
a(dtc arg0, ept arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_334574_, C_2754_ arg1)