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

public record VaultConfig

dwi
net.minecraft.world.level.block.entity.vault.VaultConfig
net.minecraft.class_9203
net.minecraft.block.vault.VaultConfig
net.minecraft.world.level.block.entity.vault.VaultConfig

Field summary

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

Constructor summary

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

Method summary

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