Record Class WorldInteropProbe
java.lang.Object
java.lang.Record
com.render.api.world.WorldInteropProbe
public record WorldInteropProbe(String rendererId, RenderCompatibilityMode mode, boolean shaderPackActive)
extends Record
Read-only information supplied to renderer interop providers.
-
Constructor Summary
ConstructorsConstructorDescriptionWorldInteropProbe(String rendererId, RenderCompatibilityMode mode, boolean shaderPackActive) Creates an instance of aWorldInteropProberecord class. -
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.mode()Returns the value of themoderecord component.Returns the value of therendererIdrecord component.booleanReturns the value of theshaderPackActiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WorldInteropProbe
Creates an instance of aWorldInteropProberecord class.- Parameters:
rendererId- the value for therendererIdrecord componentmode- the value for themoderecord componentshaderPackActive- the value for theshaderPackActiverecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
rendererId
Returns the value of therendererIdrecord component.- Returns:
- the value of the
rendererIdrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
shaderPackActive
public boolean shaderPackActive()Returns the value of theshaderPackActiverecord component.- Returns:
- the value of the
shaderPackActiverecord component
-