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

public final class VaultBlockEntity$Server

dyw$b
net.minecraft.world.level.block.entity.vault.VaultBlockEntity$Server
net.minecraft.class_9199$class_9201
net.minecraft.block.entity.VaultBlockEntity$Server

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(aro arg0, iu arg1, dzo arg2, dyy arg3, dyz arg4, dza 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(aro arg0, iu arg1, dzo arg2, dyy arg3, dyz arg4, dza arg5, cqs arg6, cys 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(aro arg0, iu arg1, dzo arg2, dzo arg3, dyy arg4, dza 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(aro arg0, dzb arg1, dyy arg2, dza arg3, iu 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(aro arg0, iu arg1, ald<eys> 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(aro arg0, dzo arg1, iu arg2, dyy arg3, dyz arg4, dza arg5, List<cys> 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(aro arg0, dyy arg1, iu arg2, cqs arg3, cys 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(dyy arg0, dzb arg1)
canEjectReward(VaultConfig arg0, VaultState arg1)
method_56760(class_9203 arg0, class_9206 arg1)
canBeUnlocked(VaultConfig config, VaultState state)
private static boolean
a(dyy arg0, cys 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, dzb arg1)
shouldCycleDisplayItem(long arg0, VaultState arg1)
method_56750(long arg0, class_9206 arg1)
shouldUpdateDisplayItem(long time, VaultState state)
private static void
a(aro arg0, dyz arg1, iu arg2, awk 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)