Class VaultServerData
java.lang.Object
net.minecraft.world.level.block.entity.vault.VaultServerData
-
Field Summary
Modifier and TypeFieldDescription(package private) static com.mojang.serialization.Codec
<VaultServerData> (package private) boolean
private long
private static final int
private long
(package private) static final String
private int
-
Constructor Summary
ConstructorDescriptionVaultServerData
(Set<UUID> p_334629_, long p_331265_, List<ItemStack> p_330511_, int p_333688_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToRewardedPlayers
(Player p_332874_) float
(package private) long
(package private) ItemStack
(package private) boolean
hasRewardedPlayer
(Player p_336078_) private void
(package private) void
(package private) void
pauseStateUpdatingUntil
(long p_330777_) (package private) ItemStack
(package private) void
set
(VaultServerData p_329637_) (package private) void
setItemsToEject
(List<ItemStack> p_332570_) (package private) void
setLastInsertFailTimestamp
(long p_336284_) (package private) long
-
Field Details
-
TAG_NAME
- See Also:
-
CODEC
-
MAX_REWARD_PLAYERS
private static final int MAX_REWARD_PLAYERS- See Also:
-
rewardedPlayers
-
stateUpdatingResumesAt
private long stateUpdatingResumesAt -
itemsToEject
-
lastInsertFailTimestamp
private long lastInsertFailTimestamp -
totalEjectionsNeeded
private int totalEjectionsNeeded -
isDirty
boolean isDirty
-
-
Constructor Details
-
VaultServerData
-
VaultServerData
VaultServerData()
-
-
Method Details
-
setLastInsertFailTimestamp
void setLastInsertFailTimestamp(long p_336284_) -
getLastInsertFailTimestamp
long getLastInsertFailTimestamp() -
getRewardedPlayers
-
hasRewardedPlayer
-
addToRewardedPlayers
-
stateUpdatingResumesAt
long stateUpdatingResumesAt() -
pauseStateUpdatingUntil
void pauseStateUpdatingUntil(long p_330777_) -
getItemsToEject
-
markEjectionFinished
void markEjectionFinished() -
setItemsToEject
-
getNextItemToEject
ItemStack getNextItemToEject() -
popNextItemToEject
ItemStack popNextItemToEject() -
set
-
markChanged
private void markChanged() -
ejectionProgress
public float ejectionProgress()
-