Resource pack


Behavior

The resource pack selection menu, with Ninety-Six on top, followed by Favorite Songs Pack, then the default assets.

Resource packs can be placed in the folder resourcepacks within the .minecraft .minecraft (or simply minecraft in macOS) is the folder Minecraft creates to run from. This folder includes the .jar files, sound, music, resource packs, personal options, worlds, etc. Locating .minecraft Locating the .minecraft folder is folder. Each resource pack is either a sub-folder or a .zip file within the resourcepacks folder. After it is in the folder, a resource pack can be added from the options menu, where resource packs can be moved between "Available resource packs" and "Selected resource packs". "Selected resource packs" will also contain the default assets on the bottom, which cannot be removed.

Resource packs will load their assets based on the order of the packs on the list. The bottom most pack (which is always "Default") will load first, then each pack placed above it will replace assets of the same name with its assets.

Properties

Textures from assets/minecraft/textures/misc support a .mcmeta file in JSON format containing additional effects to apply to the texture. The file is contained in the same directory as the texture, and have the same name as the texture, except appended with .mcmeta. For instance, the file pumpkinblur.png can have a properties file call pumpkinblur.png.mcmeta


  • The root tag

    • texture: Contains data for the texture

      • blur: Causes the texture to blur when viewed from close up. Defaults to false

      • clamp: Causes the texture to stretch instead of tiling in cases where it otherwise would, such as on the shadow. Defaults to false

      • mipmaps: Custom mipmap values for the texture

If the .mcmeta file does not exist in the pack and the texture does, the game will load the default settings, rather than loading a .mcmeta file from a pack below that pack.

Videos

Info

The default textures, with a custom resource pack (DokuCraft) in the center.

The resource pack system is an API which provides a way for players to further customize their Minecraft experience. Resource packs allow players to customize textures, models, music See music played in Minecraft. For other uses, see Music (disambiguation). Minecraft contains music created by C418. The music plays at various points in game, including the main menu, in creative mode, , sounds, language The choice of languages is a featureSpecial attraction that allows changing languages for people who are not familiar with English. The language menu is accessible via a button in the main menu to the left of files, end credits, splashes, and fonts without any code modification.

Default resource packs

A resource pack can be bundled with a map by saving it under the name resources and placing it directly in the map`s folder. Note that the resource pack must be a .zip file. When playing the world, that resource pack will appear as the default right above the default resource pack.

A default resource pack can also be set on a server by changing adding a link to a .zip file download after the line resource-pack= in the server properties file. Users can still opt out of using the resource pack or choose not to download it though.

Console Edition

In Console Edition Console Edition Author(s) Mojang AB 4J Studios Platform(s) Written in C++ Latest version Xbox 360 - TU53 Xbox One - CU43 PS3 - 1.51 PS4 - 1.50 PSVita - 1.51 Wii U - Patch 23 minecraft , mash-up packs (which are the equivalent of resource packs) are available as downloadable content that can be bought from the Xbox marketplace/Playstation store/Nintendo eShop or from the downloadable content section of the game. Mash-up packs also come with a skin pack This article may need cleanup to comply with the style guide. Please help improve this if you can. The talk page may contain suggestions. This article needs updating. Description: The page may need an update minecraft and a themed world The Overworld, as seen in an extreme hills and a forest biome The Overworld is the dimension in which all players begin their Minecraft journey. Contents 1 Creation 1.1 Seeds 2 Environment 2.1 Biomes 2.2 minecraft .

Pocket Edition

Similarly to skins "Steve" "Alex" See custom player skins. For world textures, see resource pack. Skins refer to the textures that are placed onto a player or mob model. Contents 1 Properties 2 World textures minecraft , resource packs can be bought or made in the Pocket Edition Pocket Edition Author(s) Mojang AB Jens Bergensten Aron Nieminen Daniel Kaplan Tommaso Checchi Shoghi Cervantes Jason Major Daniel Wustenhoff Tomas Alaeus Mikael "Slicedlime" Hedberg @@@#@@@Microsoft(microsoft.com)###@### Studios 1] Platform(s) Written in C++ 2] Latest version 1.1.2 minecraft . As of Alpha 0.16.0 iOSApple iOS is a proprietary mobile operating system for the iPhone, iPad and iPod Touch. users can download resource packs on the system itself with the .mcpack and .mcworld file names. When these files are opened, they automatically are imported into Minecraft: PE without any need for file system access.

Contents

A resource pack is identified by Minecraft based on the presence of the file pack.mcmeta in the root directory, which contains data in JSON format.

The root directory also contains an optional image called pack.png, which will show as the thumbnail for the pack on the resource pack selection menu.

Language

Resource packs can create language files of the type .lang in the folder assets/minecraft/lang. Each file will either replace information from a file of the same name in the default or a lower pack, or it will create a new language as defined by pack.mcmeta.

Each line in the language file is in the format of identifier=name. identifier is the name that the game looks for to determine the name for something, and as such it should not be changed. name is the name that is displayed, which takes any text after the equals sign up to the end of the line. For instance, stone in the default language file is tile.stone.stone.name=Stone, with tile.stone.stone.name being the identifier, and Stone being the displayed name. Blank lines and lines starting with # are ignored.

Language files only need to add lines that are actually changed by the pack, any names that are not in the pack will be loaded from the pack below, or default if no pack changes the names.

Models

Models are files in JSON format with the extension .json, which determine the shape and textures of blocks and items.

Blocks use a block state file from assets/minecraft/blockstates to determine which model is loaded for each variant from the folder assets/minecraft/models/block. Meanwhile, each item has an item model in assets/minecraft/models/item to determine its model, which either loads from a block`s model, contains data for its own custom model, or uses the default "flat" or "entity" model.

Models and block states used in packs below the top one will still be loaded unless overridden in the top pack, which may cause some textures and models used by the top pack to no longer be loaded.

Sounds

Resource packs load additional sounds with the file type of .ogg. Each sound placed in the pack will override the sounds from packs below, and packs also contain a file called sounds.json sounds.json (sound_definitions.json in Pocket Edition) is a file used by the sound system in resource packs which tells the sound system what sound files to play when a sound event is triggered by one or which is placed within assets/minecraft. Unlike most other files in resource packs, sounds.json sounds.json (sound_definitions.json in Pocket Edition) is a file used by the sound system in resource packs which tells the sound system what sound files to play when a sound event is triggered by one or will merge sound information from packs below the top pack, rather than each sounds.json sounds.json (sound_definitions.json in Pocket Edition) is a file used by the sound system in resource packs which tells the sound system what sound files to play when a sound event is triggered by one or file overriding the previous completely.

Textures

The "missing texture" for invalid or missing textures.

For block or item textures to function, they must have equal width and height (or height that is a multiple of the width if animated); otherwise it will display as a purple and black checkerboard. For most other textures, the file will simply be stretched to fit the required dimensions.

Most solid blocks will turn any transparent area fully opaque. Some other blocks, which have "cutout" transparency (like glass) will turn all pixels that are less than 10% opaque fully transparent and all other pixels completely opaque. Every other block renders textures with semi-transparency as-is. All items and any blocks or entities which are semi-transparent by default support semi-transparency.

If a file does not exist in any resource pack, including the default, it will display as a purple and black checkerboard.

Animation

Block and item textures support animation by placing each additional frame below the last. The animation is then controlled using a .mcmeta file in JSON format with the same name in the same directory. For instance, the .mcmeta file for stone.png would be stone.png.mcmeta.


  • The root tag

    • animation: Contains data for the animation

      • interpolate: If true, Minecraft will generate additional frames between frames with a frame time greater than 1 between them. Defaults to false.

      • width: The width of the tile, as a direct ratio rather than in pixels. This is unused in vanilla but can be used by mods to have frames that are not perfect squares.

      • height: The height of the tile in direct pixels, as a ratio rather than in pixels. This is unused in vanilla but can be used by mods to have frames that are not perfect squares.

      • frametime: Sets the default time for each frame in increments of one game tick. Defaults to 1.

      • frames: Contains a list of frames. Defaults to displaying all the frames from top to bottom.

        • A number corresponding to position of a frame from the top, with the top frame being 0

        • A frame Specifies a frame with additional data

          • index: A number corresponding to position of a frame from the top, with the top frame being 0

          • time: The time in ticks to show this frame, overriding "frametime" above.

If the .mcmeta file does not exist in the pack and the texture does, the game will assume the texture is not animated, rather than loading a .mcmeta file from a pack below that pack. If no .mcmeta file exists for a texture with unequal dimensions, the texture will appear as a purple and black checkerboard.

Colormaps

Colormaps are 256ℂₗ256 pixel images which tell the game which color to use in each biome. They are located in assets/minecraft/textures/colormap. The game contains two colormaps, foliage.png which colors plants such as leaves Leaves Transparency Partial (diffuses sky light) Luminance No Blast resistance 1 Tool Renewable Yes Stackable Yes (64) Flammable Yes Drops Sapling (0–1) @@@#@@@Apple(apple.com)###@### (0–1) (from oak and dark oak leaves) Data values Oak/Spruce/Birch/Jungle dec: 18 hex: 12 minecraft (except birch and spruce) and vines Vines Transparency Yes Luminance No Blast resistance 1 Tool Renewable Yes Stackable Yes (64) Flammable Yes Drops Itself Data value dec: 106 hex: 6A bin: 1101010 Name vine Vines are non-solid blocks, 1⁄16 of a block in thickness, minecraft , and grass.png which colors grass Grass Transparency Yes Luminance No Blast resistance 0 Tool Renewable Grass, Fern, Double variants: Yes Shrub: No Stackable Yes (64) Flammable Yes Drops Seeds (0–1) Data values Grass, Fern or Shrub dec: 31 hex: 1F bin: 11111 Double minecraft and grass blocks Grass Block Transparency No Luminance No Blast resistance 3 Tool Renewable No Stackable Yes (64) Flammable No Drops Dirt (1) Data value dec: 02 hex: 2 bin: 10 Name grass See the dirt block with minecraft . Colormaps can be disabled on individual blocks by removing the tintindex tag.

Fonts

Font files contain a grid of white characters, which are automatically colored by Minecraft as needed in game. The character sizes are automatically determined based on the last line of pixels containing any alpha value. Due to the way fonts are detected, filling the background of a character with a color containing a 1% alpha background will cause the full width to render without having a visible background to the character.

Texts

Three .txt files in UTF-8 format exist in assets/minecraft/texts which are used by the game to determine the text to display.

The file end.txt contains the text of the end poem The "End Poem" is a text-based message written by Julian Gough 1] that appears after the player travels to the End and kills the Ender Dragon. Notch has stated that Gough s short story The iHole , using formatting codes A book showing the possible formatting options with the character that performs them. Formatting codes, also known as color codes, add color and modifications to text in-game. Text in Minecraft can be formatted with the minecraft to apply the colors to the two speakers, and with the text PLAYERNAME being replaced with the player`s name. After that file is shown, the contents of credits.txt will be shown.

The file splashes.txt contains lines of text separated using line breaks to determine the splashes See the message on the menu screen. For the potion, see Splash Potion. The main menu of Minecraft with random splash text. Splash texts are the yellow lines of text on the minecraft to display in game. Any of the splashes can be replaced with different text, which will then be used in place of that splash in game.

Folder structure