Interface ModFluidHelper<R>
- All Known Implementing Classes:
NeoForgeFluidHelper
public interface ModFluidHelper<R>
-
Method Summary
Modifier and TypeMethodDescriptionintgetColor(R fluid, @Nullable net.minecraft.world.level.BlockAndTintGetter level, @Nullable net.minecraft.core.BlockPos pos) intgetLuminosity(R fluid) @Nullable net.minecraft.client.renderer.texture.TextureAtlasSpritegetStillTexture(R fluid) default net.minecraft.client.renderer.texture.TextureAtlasSpritegetStillTextureOrMissing(R fluid) booleanisLighterThanAir(R fluid) toStack(net.minecraft.world.level.material.FluidState state)
-
Method Details
-
getColor
int getColor(R fluid, @Nullable @Nullable net.minecraft.world.level.BlockAndTintGetter level, @Nullable @Nullable net.minecraft.core.BlockPos pos) -
getLuminosity
-
getStillTexture
@Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite getStillTexture(R fluid) -
getStillTextureOrMissing
-
isLighterThanAir
-
toStack
-