Class VaultBlockEntity.Server

java.lang.Object
net.minecraft.block.entity.VaultBlockEntity.Server
Enclosing class:
VaultBlockEntity

public static final class VaultBlockEntity.Server extends Object
Mappings:
Namespace Name
named net/minecraft/block/entity/VaultBlockEntity$Server
intermediary net/minecraft/class_9199$class_9201
official dxc$b
  • Field Details

    • UNLOCK_TIME

      private static final int UNLOCK_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named UNLOCK_TIME Lnet/minecraft/block/entity/VaultBlockEntity$Server;UNLOCK_TIME:I
      intermediary field_48875 Lnet/minecraft/class_9199$class_9201;field_48875:I
      official a Ldxc$b;a:I
    • DISPLAY_UPDATE_INTERVAL

      private static final int DISPLAY_UPDATE_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DISPLAY_UPDATE_INTERVAL Lnet/minecraft/block/entity/VaultBlockEntity$Server;DISPLAY_UPDATE_INTERVAL:I
      intermediary field_48876 Lnet/minecraft/class_9199$class_9201;field_48876:I
      official b Ldxc$b;b:I
    • FAILED_UNLOCK_COOLDOWN

      private static final int FAILED_UNLOCK_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named FAILED_UNLOCK_COOLDOWN Lnet/minecraft/block/entity/VaultBlockEntity$Server;FAILED_UNLOCK_COOLDOWN:I
      intermediary field_48877 Lnet/minecraft/class_9199$class_9201;field_48877:I
      official c Ldxc$b;c:I
  • Constructor Details

    • Server

      public Server()
  • Method Details

    • tick

      public static void tick(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/block/entity/VaultBlockEntity$Server;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultServerData;Lnet/minecraft/block/vault/VaultSharedData;)V
      intermediary method_56756 Lnet/minecraft/class_9199$class_9201;method_56756(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_9203;Lnet/minecraft/class_9204;Lnet/minecraft/class_9205;)V
      official a Ldxc$b;a(Lash;Ljh;Ldxu;Ldxe;Ldxf;Ldxg;)V
    • tryUnlock

      public static void tryUnlock(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, PlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named tryUnlock Lnet/minecraft/block/entity/VaultBlockEntity$Server;tryUnlock(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultServerData;Lnet/minecraft/block/vault/VaultSharedData;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_56757 Lnet/minecraft/class_9199$class_9201;method_56757(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_9203;Lnet/minecraft/class_9204;Lnet/minecraft/class_9205;Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      official a Ldxc$b;a(Lash;Ljh;Ldxu;Ldxe;Ldxf;Ldxg;Lcpw;Lcxo;)V
    • changeVaultState

      static void changeVaultState(ServerWorld world, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData)
      Mappings:
      Namespace Name Mixin selector
      named changeVaultState Lnet/minecraft/block/entity/VaultBlockEntity$Server;changeVaultState(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultSharedData;)V
      intermediary method_56758 Lnet/minecraft/class_9199$class_9201;method_56758(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_9203;Lnet/minecraft/class_9205;)V
      official a Ldxc$b;a(Lash;Ljh;Ldxu;Ldxu;Ldxe;Ldxg;)V
    • updateDisplayItem

      static void updateDisplayItem(ServerWorld world, VaultState state, VaultConfig config, VaultSharedData sharedData, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named updateDisplayItem Lnet/minecraft/block/entity/VaultBlockEntity$Server;updateDisplayItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/enums/VaultState;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultSharedData;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_56753 Lnet/minecraft/class_9199$class_9201;method_56753(Lnet/minecraft/class_3218;Lnet/minecraft/class_9206;Lnet/minecraft/class_9203;Lnet/minecraft/class_9205;Lnet/minecraft/class_2338;)V
      official a Ldxc$b;a(Lash;Ldxh;Ldxe;Ldxg;Ljh;)V
    • generateDisplayItem

      private static ItemStack generateDisplayItem(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable)
      Mappings:
      Namespace Name Mixin selector
      named generateDisplayItem Lnet/minecraft/block/entity/VaultBlockEntity$Server;generateDisplayItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/item/ItemStack;
      intermediary method_56755 Lnet/minecraft/class_9199$class_9201;method_56755(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5321;)Lnet/minecraft/class_1799;
      official a Ldxc$b;a(Lash;Ljh;Laly;)Lcxo;
    • unlock

      private static void unlock(ServerWorld world, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject)
      Mappings:
      Namespace Name Mixin selector
      named unlock Lnet/minecraft/block/entity/VaultBlockEntity$Server;unlock(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/vault/VaultServerData;Lnet/minecraft/block/vault/VaultSharedData;Ljava/util/List;)V
      intermediary method_56754 Lnet/minecraft/class_9199$class_9201;method_56754(Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_9203;Lnet/minecraft/class_9204;Lnet/minecraft/class_9205;Ljava/util/List;)V
      official a Ldxc$b;a(Lash;Ldxu;Ljh;Ldxe;Ldxf;Ldxg;Ljava/util/List;)V
    • generateLoot

      private static List<ItemStack> generateLoot(ServerWorld world, VaultConfig config, BlockPos pos, PlayerEntity player, ItemStack key)
      Mappings:
      Namespace Name Mixin selector
      named generateLoot Lnet/minecraft/block/entity/VaultBlockEntity$Server;generateLoot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Ljava/util/List;
      intermediary method_56751 Lnet/minecraft/class_9199$class_9201;method_56751(Lnet/minecraft/class_3218;Lnet/minecraft/class_9203;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Ljava/util/List;
      official a Ldxc$b;a(Lash;Ldxe;Ljh;Lcpw;Lcxo;)Ljava/util/List;
    • canBeUnlocked

      private static boolean canBeUnlocked(VaultConfig config, VaultState state)
      Mappings:
      Namespace Name Mixin selector
      named canBeUnlocked Lnet/minecraft/block/entity/VaultBlockEntity$Server;canBeUnlocked(Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/block/enums/VaultState;)Z
      intermediary method_56760 Lnet/minecraft/class_9199$class_9201;method_56760(Lnet/minecraft/class_9203;Lnet/minecraft/class_9206;)Z
      official a Ldxc$b;a(Ldxe;Ldxh;)Z
    • isValidKey

      private static boolean isValidKey(VaultConfig config, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named isValidKey Lnet/minecraft/block/entity/VaultBlockEntity$Server;isValidKey(Lnet/minecraft/block/vault/VaultConfig;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_56759 Lnet/minecraft/class_9199$class_9201;method_56759(Lnet/minecraft/class_9203;Lnet/minecraft/class_1799;)Z
      official a Ldxc$b;a(Ldxe;Lcxo;)Z
    • shouldUpdateDisplayItem

      private static boolean shouldUpdateDisplayItem(long time, VaultState state)
      Mappings:
      Namespace Name Mixin selector
      named shouldUpdateDisplayItem Lnet/minecraft/block/entity/VaultBlockEntity$Server;shouldUpdateDisplayItem(JLnet/minecraft/block/enums/VaultState;)Z
      intermediary method_56750 Lnet/minecraft/class_9199$class_9201;method_56750(JLnet/minecraft/class_9206;)Z
      official a Ldxc$b;a(JLdxh;)Z
    • playFailedUnlockSound

      private static void playFailedUnlockSound(ServerWorld world, VaultServerData serverData, BlockPos pos, SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      named playFailedUnlockSound Lnet/minecraft/block/entity/VaultBlockEntity$Server;playFailedUnlockSound(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/vault/VaultServerData;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;)V
      intermediary method_56752 Lnet/minecraft/class_9199$class_9201;method_56752(Lnet/minecraft/class_3218;Lnet/minecraft/class_9204;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;)V
      official a Ldxc$b;a(Lash;Ldxf;Ljh;Laxe;)V