Class BoatriumFluidRenderHandler
java.lang.Object
earth.terrarium.botarium.fabric.client.BoatriumFluidRenderHandler
- All Implemented Interfaces:
net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
public class BoatriumFluidRenderHandler
extends Object
implements net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FluidInformationprotected net.minecraft.client.renderer.texture.TextureAtlasSprite[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetFluidColor(@Nullable net.minecraft.world.level.BlockAndTintGetter view, @Nullable net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.FluidState state) net.minecraft.client.renderer.texture.TextureAtlasSprite[]getFluidSprites(@Nullable net.minecraft.world.level.BlockAndTintGetter view, @Nullable net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.FluidState state) voidreloadTextures(net.minecraft.client.renderer.texture.TextureAtlas textureAtlas) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
renderFluid
-
Field Details
-
information
-
sprites
protected net.minecraft.client.renderer.texture.TextureAtlasSprite[] sprites
-
-
Constructor Details
-
BoatriumFluidRenderHandler
-
-
Method Details
-
getFluidSprites
public net.minecraft.client.renderer.texture.TextureAtlasSprite[] getFluidSprites(@Nullable @Nullable net.minecraft.world.level.BlockAndTintGetter view, @Nullable @Nullable net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.FluidState state) - Specified by:
getFluidSpritesin interfacenet.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
-
reloadTextures
public void reloadTextures(net.minecraft.client.renderer.texture.TextureAtlas textureAtlas) - Specified by:
reloadTexturesin interfacenet.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
-
getFluidColor
public int getFluidColor(@Nullable @Nullable net.minecraft.world.level.BlockAndTintGetter view, @Nullable @Nullable net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.FluidState state) - Specified by:
getFluidColorin interfacenet.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
-