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

public final class VaultBlockEntity$Server

dwg$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(ard arg0, ji arg1, dwy arg2, dwi arg3, dwj arg4, dwk 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(ard arg0, ji arg1, dwy arg2, dwi arg3, dwj arg4, dwk arg5, coy arg6, cwq 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(ard arg0, ji arg1, dwy arg2, dwy arg3, dwi arg4, dwk 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(ard arg0, dwl arg1, dwi arg2, dwk arg3, ji 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(ard arg0, ji arg1, aku<evx> 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(ard arg0, dwy arg1, ji arg2, dwi arg3, dwj arg4, dwk arg5, List<cwq> 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(ard arg0, dwi arg1, ji arg2, coy arg3, cwq 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(dwi arg0, dwl arg1)
canEjectReward(VaultConfig arg0, VaultState arg1)
method_56760(class_9203 arg0, class_9206 arg1)
canBeUnlocked(VaultConfig config, VaultState state)
private static boolean
a(dwi arg0, cwq 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, dwl arg1)
shouldCycleDisplayItem(long arg0, VaultState arg1)
method_56750(long arg0, class_9206 arg1)
shouldUpdateDisplayItem(long time, VaultState state)
private static void
a(ard arg0, dwj arg1, ji arg2, avz 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)