Record Class FluidSprites
java.lang.Object
java.lang.Record
net.tearpelato.deco_lib.api.fluid.renderer.core.FluidSprites
public record FluidSprites(net.minecraft.client.renderer.texture.TextureAtlasSprite still, net.minecraft.client.renderer.texture.TextureAtlasSprite flowing)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFluidSprites(net.minecraft.client.renderer.texture.TextureAtlasSprite still, net.minecraft.client.renderer.texture.TextureAtlasSprite flowing) Creates an instance of aFluidSpritesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.net.minecraft.client.renderer.texture.TextureAtlasSpriteflowing()Returns the value of theflowingrecord component.static FluidSpritesgetFluidSprites(net.minecraft.world.level.material.FluidState state) final inthashCode()Returns a hash code value for this object.net.minecraft.client.renderer.texture.TextureAtlasSpritestill()Returns the value of thestillrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FluidSprites
public FluidSprites(net.minecraft.client.renderer.texture.TextureAtlasSprite still, net.minecraft.client.renderer.texture.TextureAtlasSprite flowing) Creates an instance of aFluidSpritesrecord class.- Parameters:
still- the value for thestillrecord componentflowing- the value for theflowingrecord component
-
-
Method Details
-
getFluidSprites
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
still
public net.minecraft.client.renderer.texture.TextureAtlasSprite still()Returns the value of thestillrecord component.- Returns:
- the value of the
stillrecord component
-
flowing
public net.minecraft.client.renderer.texture.TextureAtlasSprite flowing()Returns the value of theflowingrecord component.- Returns:
- the value of the
flowingrecord component
-