net.minecraft.world.level.block

public class EnchantmentTableBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

czc
net.minecraft.world.level.block.EnchantmentTableBlock
net.minecraft.class_2331
net.minecraft.unmapped.C_glaoxjch
net.minecraft.block.EnchantingTableBlock
net.minecraft.block.EnchantingTableBlock
net.minecraft.src.C_1775_
net.minecraft.world.level.block.BlockEnchantmentTable

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<EnchantmentTableBlock>
a
CODEC
field_46342
f_xdisnryw
CODEC
f_302357_
protected static final VoxelShape
b
SHAPE
field_10951
f_klnpyysf
SHAPE
SHAPE
f_52950_
public static final List<BlockPos>
c
BOOKSHELF_OFFSETS
field_36535
f_xhwuskpw
POWER_PROVIDER_OFFSETS
POSSIBLE_BOOKSHELF_LOCATIONS
f_207902_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<EnchantmentTableBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
m_304657_()
public static boolean
a(ctp arg0, hx arg1, hx arg2)
isValidBookShelf(Level arg0, BlockPos arg1, BlockPos arg2)
method_40445(class_1937 arg0, class_2338 arg1, class_2338 arg2)
m_wvvxokxk(C_cdctfzbn arg0, C_hynzadkk arg1, C_hynzadkk arg2)
canAccessPowerProvider(World world, BlockPos tablePos, BlockPos providerOffset)
isValidForBookshelf(World world, BlockPos pos, BlockPos offset)
m_207909_(C_1596_ p_207910_, C_4675_ p_207911_, C_4675_ p_207912_)
public boolean
g_(djh arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
m_mfmohedo(C_txtbiemp arg0)
hasSidedTransparency(BlockState arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public VoxelShape
a(djh arg0, csv arg1, hx arg2, ely arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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(djh arg0, ctp arg1, hx arg2, auv arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_221093_, C_1596_ p_221094_, C_4675_ p_221095_, C_212974_ arg3)
public RenderShape
b_(djh 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)
public BlockEntity
a(hx arg0, djh 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_153187_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(ctp arg0, djh arg1, dgx<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_153183_, C_2064_ p_153184_, C_1992_<T> arg2)
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp 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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult 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(djh arg0, ctp arg1, hx arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_gzvkqagj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
m_7246_(C_2064_ p_52994_, C_1596_ p_52995_, C_4675_ arg2)
public void
a(ctp arg0, hx arg1, djh arg2, bml arg3, cmy 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_52964_, C_4675_ p_52965_, C_2064_ p_52966_, C_524_ p_52967_, C_1391_ arg4)
public boolean
a(djh arg0, csv arg1, hx arg2, efh arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType 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)