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

public enum VaultState

implements StringRepresentable

drr
net.minecraft.world.level.block.entity.vault.VaultState
net.minecraft.class_9206
net.minecraft.block.enums.VaultState
net.minecraft.src.C_313817_
net.minecraft.world.level.block.entity.vault.VaultState

Enum constant summary

Enum Constant
a
INACTIVE
field_48899
INACTIVE
INACTIVE
b
ACTIVE
field_48900
ACTIVE
ACTIVE
c
UNLOCKING
field_48901
UNLOCKING
UNLOCKING
d
EJECTING
field_48902
EJECTING
EJECTING

Field summary

Modifier and TypeField
private static final int
e
UPDATE_CONNECTED_PLAYERS_TICK_RATE
field_48903
field_48903
f_316221_
private static final int
f
DELAY_BETWEEN_EJECTIONS_TICKS
field_48904
field_48904
f_314750_
private static final int
g
DELAY_AFTER_LAST_EJECTION_TICKS
field_48905
field_48905
f_314873_
private static final int
h
DELAY_BEFORE_FIRST_EJECTION_TICKS
field_48906
field_48906
f_316659_
private final String
i
stateName
field_48907
id
f_315598_
private final VaultState$LightLevel
j
lightLevel
field_48908
light
f_314836_

Constructor summary

ModifierConstructor
(String p_331688_, VaultState$LightLevel p_333421_)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public int
a()
lightLevel()
method_56801()
getLuminance()
m_322762_()
public VaultState
a(arf arg0, iz arg1, dro arg2, drp arg3, drq arg4)
tickAndGetNext(ServerLevel arg0, BlockPos arg1, VaultConfig arg2, VaultServerData arg3, VaultSharedData arg4)
method_56803(class_3218 arg0, class_2338 arg1, class_9203 arg2, class_9204 arg3, class_9205 arg4)
update(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData)
m_321927_(C_12_ p_330620_, C_4675_ p_334025_, C_313762_ p_332760_, C_313354_ p_333510_, C_313454_ arg4)
private static VaultState
a(arf arg0, iz arg1, dro arg2, drp arg3, drq arg4, double arg5)
updateStateForConnectedPlayers(ServerLevel arg0, BlockPos arg1, VaultConfig arg2, VaultServerData arg3, VaultSharedData arg4, double arg5)
method_56804(class_3218 arg0, class_2338 arg1, class_9203 arg2, class_9204 arg3, class_9205 arg4, double arg5)
updateActiveState(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double radius)
m_325056_(C_12_ p_330419_, C_4675_ p_334068_, C_313762_ p_335667_, C_313354_ p_330976_, C_313454_ p_330718_, double p_334799_)
public void
a(arf arg0, iz arg1, drr arg2, dro arg3, drq arg4, boolean arg5)
onTransition(ServerLevel arg0, BlockPos arg1, VaultState arg2, VaultConfig arg3, VaultSharedData arg4, boolean arg5)
method_56806(class_3218 arg0, class_2338 arg1, class_9206 arg2, class_9203 arg3, class_9205 arg4, boolean arg5)
onStateChange(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData, boolean ominous)
m_320883_(C_12_ p_329339_, C_4675_ p_335389_, C_313817_ p_330996_, C_313762_ p_333239_, C_313454_ p_330399_, boolean arg5)
protected void
a(arf arg0, iz arg1, dro arg2, drq arg3, boolean arg4)
onEnter(ServerLevel arg0, BlockPos arg1, VaultConfig arg2, VaultSharedData arg3, boolean arg4)
method_56805(class_3218 arg0, class_2338 arg1, class_9203 arg2, class_9205 arg3, boolean arg4)
onChangedTo(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean ominous)
m_318991_(C_12_ p_330931_, C_4675_ p_331678_, C_313762_ p_333706_, C_313454_ p_330849_, boolean arg4)
protected void
a(arf arg0, iz arg1, dro arg2, drq arg3)
onExit(ServerLevel arg0, BlockPos arg1, VaultConfig arg2, VaultSharedData arg3)
method_56808(class_3218 arg0, class_2338 arg1, class_9203 arg2, class_9205 arg3)
onChangedFrom(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData)
m_319913_(C_12_ p_331510_, C_4675_ p_327841_, C_313762_ p_334150_, C_313454_ arg3)
private void
a(arf arg0, iz arg1, cur arg2, float arg3)
ejectResultItem(ServerLevel arg0, BlockPos arg1, ItemStack arg2, float arg3)
method_56802(class_3218 arg0, class_2338 arg1, class_1799 arg2, float arg3)
ejectItem(ServerWorld world, BlockPos pos, ItemStack stack, float pitchModifier)
m_319782_(C_12_ p_331411_, C_4675_ p_329283_, C_1391_ p_332145_, float arg3)