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$TextureSampler
intermediary net/minecraft/class_9962$class_9969
official glp$g
named samplerName
intermediary comp_3024
official c
named location
intermediary comp_3028
official d
named width
intermediary comp_3029
official e
named height
intermediary comp_3030
official f
named bilinear
intermediary comp_3031
official g
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
The field for thebilinear
record component.static final com.mojang.serialization.Codec
<PostEffectPipeline.TextureSampler> private final int
The field for theheight
record component.private final Identifier
The field for thelocation
record component.private final String
The field for thesamplerName
record component.private final int
The field for thewidth
record component. -
Constructor Summary
ConstructorDescriptionTextureSampler
(String string, Identifier identifier, int int2, int int3, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionboolean
bilinear()
Returns the value of thebilinear
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
height()
Returns the value of theheight
record component.location()
Returns the value of thelocation
record component.Returns the value of thesamplerName
record component.final String
toString()
Returns a string representation of this record class.int
width()
Returns the value of thewidth
record component.
-
Field Details
-
samplerName
The field for thesamplerName
record component. -
location
The field for thelocation
record component. -
width
private final int widthThe field for thewidth
record component. -
height
private final int heightThe field for theheight
record component. -
bilinear
private final boolean bilinearThe field for thebilinear
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/gl/PostEffectPipeline$TextureSampler;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_53119
Lnet/minecraft/class_9962$class_9969;field_53119:Lcom/mojang/serialization/Codec;
official b
Lglp$g;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
TextureSampler
-
-
Method Details
-
getTargetId
- Specified by:
getTargetId
in interfacePostEffectPipeline.Input
- Mappings:
Namespace Name Mixin selector named getTargetId
Lnet/minecraft/client/gl/PostEffectPipeline$Input;getTargetId()Ljava/util/Set;
intermediary method_62246
Lnet/minecraft/class_9962$class_9965;method_62246()Ljava/util/Set;
official b
Lglp$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 thesamplerName
record component.- Specified by:
samplerName
in interfacePostEffectPipeline.Input
- Returns:
- the value of the
samplerName
record component
-
location
Returns the value of thelocation
record component.- Returns:
- the value of the
location
record component
-
width
public int width()Returns the value of thewidth
record component.- Returns:
- the value of the
width
record component
-
height
public int height()Returns the value of theheight
record component.- Returns:
- the value of the
height
record component
-
bilinear
public boolean bilinear()Returns the value of thebilinear
record component.- Returns:
- the value of the
bilinear
record component
-