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

public final class VaultBlockEntity$Server

dxd$b
net.minecraft.world.level.block.entity.vault.VaultBlockEntity$Server
net.minecraft.class_9199$class_9201
net.minecraft.block.entity.VaultBlockEntity$Server
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
private static final int
b
DISPLAY_CYCLE_TICK_RATE
field_48876
DISPLAY_UPDATE_INTERVAL
private static final int
c
INSERT_FAIL_SOUND_BUFFER_TICKS
field_48877
FAILED_UNLOCK_COOLDOWN

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(ash arg0, jh arg1, dxv arg2, dxf arg3, dxg arg4, dxh 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)
public static void
a(ash arg0, jh arg1, dxv arg2, dxf arg3, dxg arg4, dxh arg5, cpx arg6, cxp 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)
static void
a(ash arg0, jh arg1, dxv arg2, dxv arg3, dxf arg4, dxh 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)
static void
a(ash arg0, dxi arg1, dxf arg2, dxh arg3, jh 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)
private static ItemStack
a(ash arg0, jh arg1, aly<ewu> 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)
private static void
a(ash arg0, dxv arg1, jh arg2, dxf arg3, dxg arg4, dxh arg5, List<cxp> 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)
private static List<ItemStack>
a(ash arg0, dxf arg1, jh arg2, cpx arg3, cxp arg4)
resolveItemsToEject(ServerLevel arg0, VaultConfig arg1, BlockPos arg2, Player arg3, ItemStack arg4)
method_56751(class_3218 arg0, class_9203 arg1, class_2338 arg2, class_1657 arg3, class_1799 arg4)
generateLoot(ServerWorld world, VaultConfig config, BlockPos pos, PlayerEntity player, ItemStack key)
private static boolean
a(dxf arg0, dxi arg1)
canEjectReward(VaultConfig arg0, VaultState arg1)
method_56760(class_9203 arg0, class_9206 arg1)
canBeUnlocked(VaultConfig config, VaultState state)
private static boolean
a(dxf arg0, cxp arg1)
isValidToInsert(VaultConfig arg0, ItemStack arg1)
method_56759(class_9203 arg0, class_1799 arg1)
isValidKey(VaultConfig config, ItemStack stack)
private static boolean
a(long arg0, dxi arg1)
shouldCycleDisplayItem(long arg0, VaultState arg1)
method_56750(long arg0, class_9206 arg1)
shouldUpdateDisplayItem(long time, VaultState state)
private static void
a(ash arg0, dxg arg1, jh arg2, axe arg3)
playInsertFailSound(ServerLevel arg0, VaultServerData arg1, BlockPos arg2, SoundEvent arg3)
method_56752(class_3218 arg0, class_9204 arg1, class_2338 arg2, class_3414 arg3)
playFailedUnlockSound(ServerWorld world, VaultServerData serverData, BlockPos pos, SoundEvent sound)