net.minecraft.world.level.block

public class EnchantmentTableBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

cro
net.minecraft.world.level.block.EnchantmentTableBlock
net.minecraft.class_2331
net.minecraft.block.EnchantingTableBlock
net.minecraft.src.C_1775_
net.minecraft.world.level.block.BlockEnchantmentTable

Field summary

Modifier and TypeField
protected static final VoxelShape
a
SHAPE
field_10951
SHAPE
f_52950_
public static final List<BlockPos>
b
BOOKSHELF_OFFSETS
field_36535
BOOKSHELF_OFFSETS
f_207902_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public static boolean
a(cmi arg0, gt arg1, gt arg2)
isValidBookShelf(Level arg0, BlockPos arg1, BlockPos arg2)
method_40445(class_1937 arg0, class_2338 arg1, class_2338 arg2)
canAccessBookshelf(World world, BlockPos tablePos, BlockPos bookshelfOffset)
m_207909_(C_1596_ p_207910_, C_4675_ p_207911_, C_4675_ p_207912_)
public boolean
g_(dbq arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public VoxelShape
a(dbq arg0, clo arg1, gt arg2, edj 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_52989_, C_1559_ p_52990_, C_4675_ p_52991_, C_3051_ arg3)
public void
a(dbq arg0, cmi arg1, gt arg2, apo 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_221093_, C_1596_ p_221094_, C_4675_ p_221095_, C_212974_ arg3)
public RenderShape
b_(dbq arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public BlockEntity
a(gt arg0, dbq arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153187_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(cmi arg0, dbq arg1, czg<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_153183_, C_2064_ p_153184_, C_1992_<T> arg2)
public InteractionResult
a(dbq arg0, cmi arg1, gt arg2, bym arg3, bdx arg4, eda arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_52975_, C_1596_ p_52976_, C_4675_ p_52977_, C_1141_ p_52978_, C_470_ p_52979_, C_3041_ arg5)
public MenuProvider
b(dbq arg0, cmi arg1, gt 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_52994_, C_1596_ p_52995_, C_4675_ arg2)
public void
a(cmi arg0, gt arg1, dbq arg2, bfx arg3, cfv 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)
m_6402_(C_1596_ p_52964_, C_4675_ p_52965_, C_2064_ p_52966_, C_524_ p_52967_, C_1391_ arg4)
public boolean
a(dbq arg0, clo arg1, gt arg2, dxa arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_52970_, C_1559_ p_52971_, C_4675_ p_52972_, C_2754_ arg3)