net.minecraft.world.level.block.entity.vault

public final class VaultBlockEntity$Server

drm$b
net.minecraft.world.level.block.entity.vault.VaultBlockEntity$Server
net.minecraft.class_9199$class_9201
net.minecraft.block.entity.VaultBlockEntity$Server
net.minecraft.src.C_313346_$C_313408_
net.minecraft.world.level.block.entity.vault.VaultBlockEntity$b

Field summary

Modifier and TypeField
private static final int
a
UNLOCKING_DELAY_TICKS
field_48875
UNLOCK_TIME
f_314328_
private static final int
b
DISPLAY_CYCLE_TICK_RATE
field_48876
DISPLAY_UPDATE_INTERVAL
f_315248_
private static final int
c
INSERT_FAIL_SOUND_BUFFER_TICKS
field_48877
FAILED_UNLOCK_COOLDOWN
f_316099_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(arf arg0, iz arg1, dse arg2, dro arg3, drp arg4, drq arg5)
tick(ServerLevel arg0, BlockPos arg1, BlockState arg2, VaultConfig arg3, VaultServerData arg4, VaultSharedData arg5)
method_56756(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_9203 arg3, class_9204 arg4, class_9205 arg5)
tick(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData)
m_318871_(C_12_ p_327862_, C_4675_ p_334036_, C_2064_ p_336094_, C_313762_ p_332912_, C_313354_ p_332613_, C_313454_ p_336360_)
public static void
a(arf arg0, iz arg1, dse arg2, dro arg3, drp arg4, drq arg5, cmz arg6, cur arg7)
tryInsertKey(ServerLevel arg0, BlockPos arg1, BlockState arg2, VaultConfig arg3, VaultServerData arg4, VaultSharedData arg5, Player arg6, ItemStack arg7)
method_56757(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_9203 arg3, class_9204 arg4, class_9205 arg5, class_1657 arg6, class_1799 arg7)
tryUnlock(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, PlayerEntity player, ItemStack stack)
m_321007_(C_12_ p_330813_, C_4675_ p_333223_, C_2064_ p_331301_, C_313762_ p_333877_, C_313354_ p_334388_, C_313454_ p_330336_, C_1141_ p_332764_, C_1391_ p_329896_)
static void
a(arf arg0, iz arg1, dse arg2, dse arg3, dro arg4, drq arg5)
setVaultState(ServerLevel arg0, BlockPos arg1, BlockState arg2, BlockState arg3, VaultConfig arg4, VaultSharedData arg5)
method_56758(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_2680 arg3, class_9203 arg4, class_9205 arg5)
changeVaultState(ServerWorld world, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData)
m_318999_(C_12_ p_327709_, C_4675_ p_330897_, C_2064_ p_333801_, C_2064_ p_336357_, C_313762_ p_332945_, C_313454_ p_328872_)
static void
a(arf arg0, drr arg1, dro arg2, drq arg3, iz arg4)
cycleDisplayItemFromLootTable(ServerLevel arg0, VaultState arg1, VaultConfig arg2, VaultSharedData arg3, BlockPos arg4)
method_56753(class_3218 arg0, class_9206 arg1, class_9203 arg2, class_9205 arg3, class_2338 arg4)
updateDisplayItem(ServerWorld world, VaultState state, VaultConfig config, VaultSharedData sharedData, BlockPos pos)
m_321879_(C_12_ p_328186_, C_313817_ p_335064_, C_313762_ p_329242_, C_313454_ p_336318_, C_4675_ p_327920_)
private static ItemStack
a(arf arg0, iz arg1, ale<eqp> arg2)
getRandomDisplayItemFromLootTable(ServerLevel arg0, BlockPos arg1, ResourceKey<LootTable> arg2)
method_56755(class_3218 arg0, class_2338 arg1, class_5321<class_52> arg2)
generateDisplayItem(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable)
m_321020_(C_12_ p_329309_, C_4675_ p_331772_, C_5264_<C_2822_> p_327947_)
private static void
a(arf arg0, dse arg1, iz arg2, dro arg3, drp arg4, drq arg5, List<cur> arg6)
unlock(ServerLevel arg0, BlockState arg1, BlockPos arg2, VaultConfig arg3, VaultServerData arg4, VaultSharedData arg5, List<ItemStack> arg6)
method_56754(class_3218 arg0, class_2680 arg1, class_2338 arg2, class_9203 arg3, class_9204 arg4, class_9205 arg5, List<class_1799> arg6)
unlock(ServerWorld world, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject)
m_320999_(C_12_ p_329025_, C_2064_ p_334542_, C_4675_ p_331457_, C_313762_ p_328759_, C_313354_ p_329258_, C_313454_ p_328090_, List<C_1391_> p_328105_)
private static List<ItemStack>
a(arf arg0, dro arg1, iz arg2, cmz arg3)
resolveItemsToEject(ServerLevel arg0, VaultConfig arg1, BlockPos arg2, Player arg3)
method_56751(class_3218 arg0, class_9203 arg1, class_2338 arg2, class_1657 arg3)
generateLoot(ServerWorld world, VaultConfig config, BlockPos pos, PlayerEntity player)
m_323202_(C_12_ p_332295_, C_313762_ p_329503_, C_4675_ p_333443_, C_1141_ p_334837_)
private static boolean
a(dro arg0, drr arg1)
canEjectReward(VaultConfig arg0, VaultState arg1)
method_56760(class_9203 arg0, class_9206 arg1)
canBeUnlocked(VaultConfig config, VaultState state)
m_322366_(C_313762_ p_333220_, C_313817_ p_335172_)
private static boolean
a(dro arg0, cur arg1)
isValidToInsert(VaultConfig arg0, ItemStack arg1)
method_56759(class_9203 arg0, class_1799 arg1)
isValidKey(VaultConfig config, ItemStack stack)
m_320541_(C_313762_ p_334332_, C_1391_ p_335056_)
private static boolean
a(long arg0, drr arg1)
shouldCycleDisplayItem(long arg0, VaultState arg1)
method_56750(long arg0, class_9206 arg1)
shouldUpdateDisplayItem(long time, VaultState state)
m_320131_(long p_334702_, C_313817_ arg1)
private static void
a(arf arg0, drp arg1, iz arg2)
playInsertFailSound(ServerLevel arg0, VaultServerData arg1, BlockPos arg2)
method_56752(class_3218 arg0, class_9204 arg1, class_2338 arg2)
playFailedUnlockSound(ServerWorld world, VaultServerData serverData, BlockPos pos)
m_324764_(C_12_ p_334677_, C_313354_ p_330421_, C_4675_ p_330460_)