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 - gme$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 SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionTextureSampler(String string, Identifier identifier, int int2, int int3, boolean bool) 
- 
Method SummaryModifier 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- 
samplerNameThe field for thesamplerNamerecord component.
- 
locationThe field for thelocationrecord component.
- 
widthprivate final int widthThe field for thewidthrecord component.
- 
heightprivate final int heightThe field for theheightrecord component.
- 
bilinearprivate final boolean bilinearThe field for thebilinearrecord 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- Lgme$g;b:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
TextureSampler
 
- 
- 
Method Details- 
getTargetId- Specified by:
- getTargetIdin interface- PostEffectPipeline.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- Lgme$c;b()Ljava/util/Set;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
samplerNameReturns the value of thesamplerNamerecord component.- Specified by:
- samplerNamein interface- PostEffectPipeline.Input
- Returns:
- the value of the samplerNamerecord component
 
- 
locationReturns the value of thelocationrecord component.- Returns:
- the value of the locationrecord component
 
- 
widthpublic int width()Returns the value of thewidthrecord component.- Returns:
- the value of the widthrecord component
 
- 
heightpublic int height()Returns the value of theheightrecord component.- Returns:
- the value of the heightrecord component
 
- 
bilinearpublic boolean bilinear()Returns the value of thebilinearrecord component.- Returns:
- the value of the bilinearrecord component
 
 
-