Package net.minecraft
Record Class class_11250
java.lang.Object
java.lang.Record
net.minecraft.class_11250
- Record Components:
flag-baseColor-resultBannerPatterns-x0-y0-x1-y1-z-layer-scissorArea-
- All Implemented Interfaces:
class_11256
@Environment(CLIENT)
public record class_11250(ModelPart flag, DyeColor baseColor, BannerPatternsComponent resultBannerPatterns, int x0, int y0, int x1, int y1, float z, class_11227 layer, @Nullable ScreenRect scissorArea)
extends Record
implements class_11256
- Mappings:
Namespace Name named net/minecraft/class_11250intermediary net/minecraft/class_11250official fzxnamed flagintermediary comp_4119official anamed baseColorintermediary comp_4120official bnamed resultBannerPatternsintermediary comp_4121official cnamed x0intermediary comp_4122official dnamed y0intermediary comp_4123official enamed x1intermediary comp_4124official fnamed y1intermediary comp_4125official gnamed zintermediary comp_4126official hnamed layerintermediary comp_4127official inamed scissorAreaintermediary comp_4128official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DyeColorThe field for thebaseColorrecord component.private final ModelPartThe field for theflagrecord component.private final class_11227The field for thelayerrecord component.private final BannerPatternsComponentThe field for theresultBannerPatternsrecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final intThe field for thex0record component.private final intThe field for thex1record component.private final intThe field for they0record component.private final intThe field for they1record component.private final floatThe field for thezrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11250(ModelPart modelPart, DyeColor dyeColor, BannerPatternsComponent bannerPatternsComponent, int int2, int int3, int int4, int int5, float float2, class_11227 class_11227, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseColorrecord component.final booleanIndicates whether some other object is "equal to" this one.flag()Returns the value of theflagrecord component.final inthashCode()Returns a hash code value for this object.layer()Returns the value of thelayerrecord component.Returns the value of theresultBannerPatternsrecord component.floatscale()Returns the value of thescissorArearecord component.final StringtoString()Returns a string representation of this record class.intx0()Returns the value of thex0record component.intx1()Returns the value of thex1record component.inty0()Returns the value of they0record component.inty1()Returns the value of they1record component.floatz()Returns the value of thezrecord component.
-
Field Details
-
flag
The field for theflagrecord component. -
baseColor
The field for thebaseColorrecord component. -
resultBannerPatterns
The field for theresultBannerPatternsrecord component. -
x0
private final int x0The field for thex0record component. -
y0
private final int y0The field for they0record component. -
x1
private final int x1The field for thex1record component. -
y1
private final int y1The field for they1record component. -
z
private final float zThe field for thezrecord component. -
layer
The field for thelayerrecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
class_11250
public class_11250(ModelPart modelPart, DyeColor dyeColor, BannerPatternsComponent bannerPatternsComponent, int int2, int int3, int int4, int int5, float float2, class_11227 class_11227, @Nullable @Nullable ScreenRect screenRect)
-
-
Method Details
-
scale
public float scale()- Specified by:
scalein interfaceclass_11256- Mappings:
Namespace Name Mixin selector named scaleLnet/minecraft/class_11256;scale()Fintermediary comp_4133Lnet/minecraft/class_11256;comp_4133()Fofficial aLgad;a()F
-
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 '=='. -
flag
Returns the value of theflagrecord component.- Returns:
- the value of the
flagrecord component
-
baseColor
Returns the value of thebaseColorrecord component.- Returns:
- the value of the
baseColorrecord component
-
resultBannerPatterns
Returns the value of theresultBannerPatternsrecord component.- Returns:
- the value of the
resultBannerPatternsrecord component
-
x0
public int x0()Returns the value of thex0record component.- Specified by:
x0in interfaceclass_11256- Returns:
- the value of the
x0record component
-
y0
public int y0()Returns the value of they0record component.- Specified by:
y0in interfaceclass_11256- Returns:
- the value of the
y0record component
-
x1
public int x1()Returns the value of thex1record component.- Specified by:
x1in interfaceclass_11256- Returns:
- the value of the
x1record component
-
y1
public int y1()Returns the value of they1record component.- Specified by:
y1in interfaceclass_11256- Returns:
- the value of the
y1record component
-
z
public float z()Returns the value of thezrecord component.- Specified by:
zin interfaceclass_11256- Returns:
- the value of the
zrecord component
-
layer
Returns the value of thelayerrecord component.- Specified by:
layerin interfaceclass_11256- Returns:
- the value of the
layerrecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Specified by:
scissorAreain interfaceclass_11256- Returns:
- the value of the
scissorArearecord component
-