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_324455_, long p_324396_, List<ItemStack> p_324515_, int p_324586_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToRewardedPlayers
(Player p_323713_) float
(package private) long
(package private) ItemStack
(package private) boolean
hasRewardedPlayer
(Player p_324533_) private void
(package private) void
(package private) void
pauseStateUpdatingUntil
(long p_323478_) (package private) ItemStack
(package private) void
set
(VaultServerData p_323643_) (package private) void
setItemsToEject
(List<ItemStack> p_324402_) (package private) void
setLastInsertFailTimestamp
(long p_324469_) (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_324469_) -
getLastInsertFailTimestamp
long getLastInsertFailTimestamp() -
getRewardedPlayers
-
hasRewardedPlayer
-
addToRewardedPlayers
-
stateUpdatingResumesAt
long stateUpdatingResumesAt() -
pauseStateUpdatingUntil
void pauseStateUpdatingUntil(long p_323478_) -
getItemsToEject
-
markEjectionFinished
void markEjectionFinished() -
setItemsToEject
-
getNextItemToEject
ItemStack getNextItemToEject() -
popNextItemToEject
ItemStack popNextItemToEject() -
set
-
markChanged
private void markChanged() -
ejectionProgress
public float ejectionProgress()
-