net.minecraft.world.level.block

public class EnchantmentTableBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

cvd
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
POWER_PROVIDER_OFFSETS
f_207902_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public static boolean
a(cpv arg0, gw arg1, gw 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_207909_(C_1596_ p_207910_, C_4675_ p_207911_, C_4675_ p_207912_)
public boolean
g_(dfj arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public VoxelShape
a(dfj arg0, cpb arg1, gw arg2, ehs 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(dfj arg0, cpv arg1, gw arg2, asc 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_(dfj arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public BlockEntity
a(gw arg0, dfj 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(cpv arg0, dfj arg1, dcx<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(dfj arg0, cpv arg1, gw arg2, cbu arg3, bgx arg4, ehj 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(dfj arg0, cpv arg1, gw 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(cpv arg0, gw arg1, dfj arg2, bjg arg3, cjf 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(dfj arg0, cpb arg1, gw arg2, ebc 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)