Package net.minecraft.client.gl
Record Class PostEffectPipeline.TextureSampler
java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPipeline.TextureSampler
- Record Components:
samplerName-location-width-height-bilinear-
- All Implemented Interfaces:
PostEffectPipeline.Input
- Enclosing class:
PostEffectPipeline
@Environment(CLIENT)
public static record PostEffectPipeline.TextureSampler(String samplerName, Identifier location, int width, int height, boolean bilinear)
extends Record
implements PostEffectPipeline.Input
- Mappings:
Namespace Name named net/minecraft/client/gl/PostEffectPipeline$TextureSamplerintermediary net/minecraft/class_9962$class_9969official grs$gnamed samplerNameintermediary comp_3024official cnamed locationintermediary comp_3028official dnamed widthintermediary comp_3029official enamed heightintermediary comp_3030official fnamed bilinearintermediary comp_3031official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thebilinearrecord component.static final com.mojang.serialization.Codec<PostEffectPipeline.TextureSampler> private final intThe field for theheightrecord component.private final IdentifierThe field for thelocationrecord component.private final StringThe field for thesamplerNamerecord component.private final intThe field for thewidthrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTextureSampler(String string, Identifier identifier, int int2, int int3, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbilinear()Returns the value of thebilinearrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.location()Returns the value of thelocationrecord component.Returns the value of thesamplerNamerecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
-
Field Details
-
samplerName
The field for thesamplerNamerecord component. -
location
The field for thelocationrecord component. -
width
private final int widthThe field for thewidthrecord component. -
height
private final int heightThe field for theheightrecord component. -
bilinear
private final boolean bilinearThe field for thebilinearrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/gl/PostEffectPipeline$TextureSampler;CODEC:Lcom/mojang/serialization/Codec;intermediary field_53119Lnet/minecraft/class_9962$class_9969;field_53119:Lcom/mojang/serialization/Codec;official bLgrs$g;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
TextureSampler
-
-
Method Details
-
getTargetId
- Specified by:
getTargetIdin interfacePostEffectPipeline.Input- Mappings:
Namespace Name Mixin selector named getTargetIdLnet/minecraft/client/gl/PostEffectPipeline$Input;getTargetId()Ljava/util/Set;intermediary method_62246Lnet/minecraft/class_9962$class_9965;method_62246()Ljava/util/Set;official bLgrs$c;b()Ljava/util/Set;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
samplerName
Returns the value of thesamplerNamerecord component.- Specified by:
samplerNamein interfacePostEffectPipeline.Input- Returns:
- the value of the
samplerNamerecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
width
public int width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
height
public int height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
bilinear
public boolean bilinear()Returns the value of thebilinearrecord component.- Returns:
- the value of the
bilinearrecord component
-