Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!


提供: Minecraft Wiki
移動先: 案内検索
Information icon.svg
この項目はBedrock Edition限定の要素です。

概要[編集 | ソースを編集]

このチュートリアルは初心者向けの内容となっている。特定のコンポーネントの詳細について知りたい場合は、 エンティティデータを参照。この記事では以下の内容について記述する。

  • リソースパックの作成方法
  • テクスチャの変更方法
    • エンティティ
    • ブロック
    • アイテム

所要時間[編集 | ソースを編集]

1~1.5 時間で終えれる内容となっている。

必要ツール[編集 | ソースを編集]


テキストエディタ[編集 | ソースを編集]

種類は問わないが、プログラミング用の IDE をお勧めする。 Notepad++ は 無料であり、多くのプログラミング言語の構文ハイライト機能を備えている。 ここからダウンロードできる。

画像編集ソフト[編集 | ソースを編集]

Windows 標準のペイントでもテクスチャの編集は可能である。だがニワトリなどの透過テクスチャを保存することができない。そこでここでは、無料な上に透過テクスチャを保存することができる GIMP をお勧めする。 ここからダウンロードできる。

最初に[編集 | ソースを編集]



リソースパックを作成する[編集 | ソースを編集]

まず resource_packs のフォルダーに移動する。念のためファイルパスの一例を挙げておく。

Windows: C:\ユーザー名\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\resource_packs Android: \sdcard\games\com.mojang\resource_packs


リソースパックを Minecraft に認識させるためには、manifest.json という名前のファイルが必要になる。このファイルにはリソースパックの名前、説明、ID (UUID) を記述する。UUID については下を参照。

UUID とは[編集 | ソースを編集]

UUID はリソースパックを区別するために必要となる文字列の ID である。そのため UUID は固有のものである必要があり、異なるリソースパックで使いまわしたりしてはいけない。(表示されなくなるためである) UUID の生成は容易に行うことができる。ここではこのサイトを紹介する。

JSON ファイルを作成する[編集 | ソースを編集]

Tutorial_Resource_Pack のフォルダーに、名前を「manifest.json」にしたテキストファイルを作成する。

注意[編集 | ソースを編集]

ファイルの拡張子は .txt でなく .json である

変更の際に Windows では警告表示が出るが「はい」を押せばよい。



manifest.json への記述[編集 | ソースを編集]

manifest.json に以下の内容を入力・コピーする。

  "format_version": 1,
  "header": {
    "description": "Tutorial Resource Pack",
    "name": "Tutorial Resource Pack",
    "uuid": "bc2a0bc9-e3a2-4702-9319-d4d3231dfdbc",
    "version": [0, 0, 1]
  "modules": [
      "description": "Tutorial Resource Pack",
      "type": "resources",
      "uuid": "891f5751-bb0e-47c6-91f0-fdc4e76949ef",
      "version": [0, 0, 1]

headermodule の二つのオブジェクト内の UUID はそれぞれ異なるものする必要がある[注釈 1]UUID の生成はこのサイトから行える。

name と description には、「パック名」・「パックの簡単な説明」をそれぞれ記述する。

  1. これには理由があり、
    • headerUUID は「リソースパック固有の ID
      • 他のリソースパックと区別するために使用される
    • moduleUUID は「ビヘイビアーパックとの連携用の ID
      • 特定のビヘイビアーパックとの依存関係にあるパックを指定するために使用される

記述での注意点[編集 | ソースを編集]

このファイルは JSON フォーマットでの記述でないと読み込まれなくなっている。簡単な記法についてはこちらのページを参照。

よくある記述ミスとして、コンマの付け忘れ、コロンではなくセミコロンの使用、{}[] の間違いなどがある。この場合でもリソースパックは読み込まれなくなるため注意。

Testing our Pack[編集 | ソースを編集]

Now we are ready to test it out in game! Launch Minecraft and create a new world. On the left side of the screen scroll down and click on Resource Packs. On the right side of the screen scroll until you see “Tutorial Texture Pack”. Your game should look something like this if you used the above code:


Troubleshooting[編集 | ソースを編集]

If you don’t see your pack in game, make sure your manifest.json is correct. Look for any missing curly braces { }, commas, colons :, quotation marks “”, or square brackets [ ]. Remember for each open brace, quotation, or square bracket, you must have a closing brace, quotation, or square bracket.

Creating an Icon[編集 | ソースを編集]

As you may have noticed, our pack does not have an icon! If you do not specify an icon, a pink and black checkerboard texture will show up next to your pack.

In the image editor of your choice, create a new image with a size of 64 by 64 pixels.

To do this with MS Paint:

  1. Click resize
  2. Change from percentage to pixels in the resize dialog that pops up
  3. Uncheck maintain aspect ratio
  4. Type in 64 in both horizontal and vertical text entry boxes
  5. Click OK

Once you have the correct canvas size, draw whatever you want your icon to be. For this tutorial, we’ve created a crudely drawn smiley face:


Save your icon with the name “pack_icon” and make sure that it is saved as a .png. Save it into the same folder that we put our manifest.json file. For reference, our folder should look like this now:

Pack Icon.png

Now if we launch the game and go to the resource packs section of create world it should look something like this:


Click on the tutorial resource pack to add it to the world you are making!

Modifying an Entity’s texture[編集 | ソースを編集]

Now that we have our resource pack set up, let’s modify the creeper’s texture!

However, before we can do some painting, we need to set up the folder structure that Minecraft expects resource packs to be in. To do this, do the following:

  1. Create a folder named “textures” in our Tutorial_resource_pack folder
  2. Inside “textures”, create a folder called “entity
  3. Inside “entity”, create a folder called “creeper
  4. Copy the creeper texture from the Vanilla Minecraft resource pack into our newly created creeper folder. The texture can be found here: \Vanilla_Resource_Pack\textures\entity\creeper

Your folder should now look like:


Now that we have the normal creeper texture, open it up in the image editor of your choice. It should look something like this:


You might notice your texture looking small, make sure to zoom in on the texture. In MS Paint you can control magnification in the bottom right hand corner of the window with the slider.


A quick note on textures[編集 | ソースを編集]

If you’ve never seen a texture before, the above image might surprise you. The best way to think about it is like wrapping a gift with wrapping paper, but instead our wrapping paper is our texture. Here is how the creeper’s texture is laid out:

Image Key
Top Top of cube
Bot Bottom of cube
Left Left side
Frnt Front side
Rt Right side
Bck Back side

Areas with matching colors face the same direction (i.e. Red areas are always the front of a cube).

How this looks in game:


Note[編集 | ソースを編集]

Not every texture is laid out in the same way, you will need to experiment and find out how each entity’s texture is laid out. Advanced users can look at the mobs.json file in the model folder to find where the textures UV’s are for each body part.

Now it’s time to be creative! Edit the creeper however you want. I’m just going to add a headband for sake of simplicity.


Once you are happy with your texture, save out the file as a .png and make sure that the file name is “creeper”. The game will only look for files with the correct name. When in doubt, check the Vanilla Minecraft Resource Pack to see file names.

A note on texture file formats[編集 | ソースを編集]

Minecraft supports .pngs, .tgas and .jpgs. However, it will first try to load the png version, then the tga, then the jpg. This means if you have 2 creeper textures, one as a png, and one as a tga, the game will see the png one first and load that as your creeper’s texture.

Testing our Resource Pack[編集 | ソースを編集]

  • Launch the game
  • Create a new world
  • Set world to creative
  • Click on Resource Packs
  • Find “Tutorial Resource Pack” in the list on the right and click it
  • Click Play
  • Spawn a creeper using the creeper egg from the creative inventory

Results[編集 | ソースを編集]


If you decide you want to make some changes to your texture, just save and quit the level, close the game, edit your texture, relaunch the game, and follow the steps above to create a new world and attach your resource pack to it again. Note that if you launch the last world, you will not see the changes. This is because when you create a world with an add-on attached, it copies your add-ons into the world file. This means you will have 2 different versions of your pack. As you continue to work on the one in the resource_packs folder, the one attached to your world will become out of date.

Alternatively, you can work directly on the pack attached to the world to avoid having to create a world every time. You can find the pack inside of the resource_packs folder in the world’s folder. However, if you then want to add this add-on to another world, you will need to manually copy it back into the com.mojang/resource_packs folder.

Challenge 1[編集 | ソースを編集]

Using what you know now, create a new texture for pigs and for chickens.

  • Chickens don’t have a folder for their textures like creepers, their texture just goes in the textures/entity folder.
  • Chickens have transparency, so remember to use an image editing program that can save transparency

Block Textures[編集 | ソースを編集]

Now that we’ve gone through the process for an entity, changing textures for a block should seem straightforward. Let’s create a new texture for our stone block.

To create a new stone texture:

  • In your textures folder create a new folder called “blocks”.
  • Copy the stone texture from the Vanilla Minecraft Resource Pack into our new blocks folder
    • It can be found here: /Vanilla_Resource_Pack/textures/blocks/stone.png
  • Open stone texture in an image editing software and make edits
  • Test in game

Here is my new stone texture:


and how it looks in game:


Challenge 2[編集 | ソースを編集]

Congratulations! Now that you can create your own block textures, try making a new texture for the furnace.

HINT: furnaces use different textures for front, side, top, and front when turned on, make sure to edit all of them.

Item Textures – Challenge 3[編集 | ソースを編集]

Creating a new item texture is like making a new block texture. Follow the same steps as above but make sure to make a folder called “items” in your textures folder and place your item textures there. Remember, you can always look at the Vanilla Minecraft resource pack as an example (/Vanilla_Resource_Pack/textures/items).

Environment Textures[編集 | ソースを編集]

You can also change the textures for clouds, the moon, the rain, the snow, the sun, and the cracking animation that plays when you break blocks. These textures should be put into a folder called “environment” in the textures folder.

Troubleshooting textures[編集 | ソースを編集]

If your texture is not showing up in game, check the following things:

  • Make sure it has the same name as the asset you are trying to replace
    • Example: Creeper texture should be called “creeper”, stone texture is called “stone”
  • Make sure the texture is in the correct folder!

Congratulations[編集 | ソースを編集]

You’ve completed this tutorial and should now know how to create your own resource pack add-ons!

Exporting and Sharing[編集 | ソースを編集]

Now that you’ve created a resource pack, you probably want to share it with friends! To do this, perform the following:

  • Navigate into your resource pack folder
    • %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\resource_packs\tutorial_resource_pack
  • Select all of the files and folders
  • Right click on the highlighted files and select Send to -> Compressed (zipped) folder
  • Name the file tutorial_resource_pack.mcpack
    • Make sure to change the file extension to .mcpack
      • When the popup asks you if you are sure you want to change the file extension. Hit Yes

You can now give your friends that file! When they open it, Minecraft will launch if it isn’t running yet, and then it will import your resource pack for them to use!

Note[編集 | ソースを編集]

You can test to see if this work by deleting your copy in your resource_pack folder (make a backup first!), then opening your mcpack to import it. If it doesn’t work, make sure you selected the contents of your resource_pack and not the folder itself when making the .mcpack to .zip.