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

public record VaultConfig

dro
net.minecraft.world.level.block.entity.vault.VaultConfig
net.minecraft.class_9203
net.minecraft.block.vault.VaultConfig
net.minecraft.src.C_313762_
net.minecraft.world.level.block.entity.vault.VaultConfig

Field summary

Modifier and TypeField
private final ResourceKey<LootTable>
d
lootTable
comp_2305
lootTable
f_314615_
private final double
e
activationRange
comp_2306
activationRange
f_316820_
private final double
f
deactivationRange
comp_2307
deactivationRange
f_314383_
private final ItemStack
g
keyItem
comp_2308
keyItem
f_313949_
private final Optional<ResourceKey<LootTable>>
h
overrideLootTableToDisplay
comp_2309
overrideLootTableToDisplay
f_314838_
private final PlayerDetector
i
playerDetector
comp_2310
playerDetector
f_315955_
private final PlayerDetector$EntitySelector
j
entitySelector
comp_2311
entitySelector
f_315772_
static final String
a
TAG_NAME
field_48881
CONFIG_KEY
f_314429_
static VaultConfig
b
DEFAULT
field_48882
DEFAULT
f_314544_
static com.mojang.serialization.Codec<VaultConfig>
c
CODEC
field_48883
codec
f_316227_

Constructor summary

ModifierConstructor
private ()
public (ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay)
public (ResourceKey<LootTable> activationRange, double deactivationRange, double overrideLootTableToDisplay, ItemStack entitySelector, Optional<ResourceKey<LootTable>> arg4, PlayerDetector arg5, PlayerDetector$EntitySelector arg6)

Method summary

Modifier and TypeMethod
public PlayerDetector
a()
playerDetector()
comp_2310()
playerDetector()
f_315955_()
private com.mojang.serialization.DataResult<VaultConfig>
h()
validate()
method_56765()
validate()
m_325007_()
public ResourceKey<LootTable>
b()
lootTable()
comp_2305()
lootTable()
f_314615_()
public double
c()
activationRange()
comp_2306()
activationRange()
f_316820_()
public double
d()
deactivationRange()
comp_2307()
deactivationRange()
f_314383_()
public ItemStack
e()
keyItem()
comp_2308()
keyItem()
f_313949_()
public Optional<ResourceKey<LootTable>>
f()
overrideLootTableToDisplay()
comp_2309()
overrideLootTableToDisplay()
f_314838_()
public PlayerDetector$EntitySelector
g()
entitySelector()
comp_2311()
entitySelector()
f_315772_()