Record Class SurfaceCondition.Not
java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.surface.SurfaceCondition.Not
- All Implemented Interfaces:
Wrapper, SurfaceCondition
- Enclosing interface:
SurfaceCondition
@AsOf("2.4.0")
public static record SurfaceCondition.Not(SurfaceCondition target)
extends Record
implements SurfaceCondition
- Since:
- 2.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface SurfaceCondition
SurfaceCondition.AbovePreliminarySurface, SurfaceCondition.Biome, SurfaceCondition.CaveSurface, SurfaceCondition.Factory, SurfaceCondition.Hole, SurfaceCondition.Noise, SurfaceCondition.Not, SurfaceCondition.Steep, SurfaceCondition.StoneDepth, SurfaceCondition.Temperature, SurfaceCondition.VerticalGradient, SurfaceCondition.Water, SurfaceCondition.YCheckNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
Fields inherited from interface SurfaceCondition
WIRE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface SurfaceCondition
toMinecraft
-
Constructor Details
-
Not
Creates an instance of aNotrecord class.- Parameters:
target- the value for thetargetrecord component
-
-
Method Details
-
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). -
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-