Jump to content

v1rtuoz

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by v1rtuoz

  1. Something like this? private static TextureAtlasSprite getStillFluidSprite(FluidStack fluidStack) { Fluid fluid = fluidStack.getFluid(); FluidAttributes attributes = fluid.getAttributes(); ResourceLocation fluidStill = attributes.getStillTexture(fluidStack); return Minecraft.getInstance().getTextureGetter(PlayerContainer.LOCATION_BLOCKS_TEXTURE).apply(fluidStill); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.