Record Class TestEnvironmentDefinition.Timelines
java.lang.Object
java.lang.Record
net.minecraft.gametest.framework.TestEnvironmentDefinition.Timelines
- All Implemented Interfaces:
TestEnvironmentDefinition<EnvironmentAttributeSystem>
- Enclosing interface:
TestEnvironmentDefinition<SavedDataType>
public static record TestEnvironmentDefinition.Timelines(List<Holder<Timeline>> timelines)
extends Record
implements TestEnvironmentDefinition<EnvironmentAttributeSystem>
-
Nested Class Summary
Nested classes/interfaces inherited from interface TestEnvironmentDefinition
TestEnvironmentDefinition.Activation<T>, TestEnvironmentDefinition.AllOf, TestEnvironmentDefinition.ClockTime, TestEnvironmentDefinition.Functions, TestEnvironmentDefinition.SetGameRules, TestEnvironmentDefinition.Timelines, TestEnvironmentDefinition.Weather -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MapCodec<TestEnvironmentDefinition.Timelines> The field for thetimelinesrecord component.Fields inherited from interface TestEnvironmentDefinition
DIRECT_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncodec()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.setup(ServerLevel level) voidteardown(ServerLevel level, EnvironmentAttributeSystem saveData) Returns the value of thetimelinesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
timelines
-
CODEC
-
-
Constructor Details
-
Timelines
-
-
Method Details
-
setup
- Specified by:
setupin interfaceTestEnvironmentDefinition<EnvironmentAttributeSystem>
-
teardown
- Specified by:
teardownin interfaceTestEnvironmentDefinition<EnvironmentAttributeSystem>
-
codec
- Specified by:
codecin interfaceTestEnvironmentDefinition<EnvironmentAttributeSystem>
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
timelines
-