To extract texture files out of Minecraft Java Edition, do the following:
  1. Navigate to the folder where Minecraft is stored. The default locations are as follows:
    macOS: ~/Library/Application Support/minecraft
    Windows: %APPDATA%\.minecraft Linux: ~/.minecraft
  2. Open the versions folder/
  3. Find the version you want and open the folder*
  4. Unzip the version JAR that you want to extract textures from.
    Recommended methods:
    • macOS:
      1. Right-click the version .jar file.
      2. Choose Open With -> Archive Utility
      3. Open the created folder and navigate to assets/minecraft/textures
    • Windows
      1. Duplicate the version .jar files
      2. Change the file extension of the duplicated jar to .zip
      3. Double-click to open the zip file
      4. Navigate to assets\minecraft\textures
    • Linux
      1. Execute in terminal: unzip [version].jar
      2. Navigate to assets/minecraft/textures
*If you could not find the version you want, you will have to download it using the Minecraft launcher