net.minecraft.gametest.framework

public record TestData<EnvironmentType>

tj
net.minecraft.gametest.framework.TestData
net.minecraft.class_10664
net.minecraft.test.TestData

Field summary

Modifier and TypeField
private final EnvironmentType
b
environment
comp_3539
environment
private final ResourceLocation
c
structure
comp_3540
structure
private final int
d
maxTicks
comp_3541
maxTicks
private final int
e
setupTicks
comp_3542
setupTicks
private final boolean
f
required
comp_3543
required
private final Rotation
g
rotation
comp_3544
rotation
private final boolean
h
manualOnly
comp_3545
manualOnly
private final int
i
maxAttempts
comp_3546
maxAttempts
private final int
j
requiredSuccesses
comp_3547
requiredSuccesses
private final boolean
k
skyAccess
comp_3548
skyAccess
public static final com.mojang.serialization.MapCodec<TestData<Holder<TestEnvironmentDefinition>>>
a
CODEC
field_56199
CODEC

Constructor summary

ModifierConstructor
public (EnvironmentType environment, ResourceLocation structure, int maxTicks, int setupTicks, boolean required, Rotation rotation)
public (EnvironmentType environment, ResourceLocation structure, int maxTicks, int setupTicks, boolean required)
public (EnvironmentType arg0, ResourceLocation arg1, int arg2, int arg3, boolean arg4, Rotation arg5, boolean arg6, int arg7, int arg8, boolean arg9)

Method summary

Modifier and TypeMethod
public <T> TestData<T>
a(Function<EnvironmentType, T> arg0)
map(Function<EnvironmentType, T> arg0)
method_67049(Function<EnvironmentType, T> arg0)
applyToEnvironment(Function<EnvironmentType, T> environmentFunction)
public EnvironmentType
a()
environment()
comp_3539()
environment()
public ResourceLocation
b()
structure()
comp_3540()
structure()
public int
c()
maxTicks()
comp_3541()
maxTicks()
public int
d()
setupTicks()
comp_3542()
setupTicks()
public boolean
e()
required()
comp_3543()
required()
public Rotation
f()
rotation()
comp_3544()
rotation()
public boolean
g()
manualOnly()
comp_3545()
manualOnly()
public int
h()
maxAttempts()
comp_3546()
maxAttempts()
public int
i()
requiredSuccesses()
comp_3547()
requiredSuccesses()
public boolean
j()
skyAccess()
comp_3548()
skyAccess()