Minecraft Wiki
Registreer
Advertisement
Vertalen
Deze pagina heeft vertaling nodig
Deze pagina bevat te veel woorden uit een andere taal.

Het Bronpakketten systeem is een vervanging voor Thema's en een manier voor spelers om hun Minecraft verder te veranderen.[1][2]

Bronpakketten staan spelers toe om niet alleen de Thema's van het spel te veranderen, maar ook muziek, geluiden,[3] talen bestanden, eind credits, splashes[4] en lettertypes[5] zonder enige verandering in de code.[5][6] Wanneer de Bronpakketten veranderingen in codes gaan toestaan, wordt elk mod/plugin een Bronpakket, met vanilla toegevoegd als een Bronpakket zichzelf; is het voor gebruikers mogelijk om meerdere Bronpakketten in één keer te gebruiken. Thema's moeten worden omgezet in een Bronpakket wil je ze laten werken met de laatste Minecraft update. Dit kan handmatig gedaan worden, maar ook automatisch met Dinnerbone's "Texture Ender".Het programma maak van de zogenaamde "unstitched" (Minecraft 1.5) Thema's Bronpakketten. "Stitched" Thema's, Thema's voor 1.5, moet eerst worden "geunstitched" met Unstitcher. Bronpakketen functioneren hetzelfe als Thema's wanneer je ze gebruikt in het spel.

Aanvullende functionaliteit[]

Bronpakketten hebben een nieuw metadata formaat dat plugin ontwikkelaars in aanvulling tot Mojang zelf toestaat om makkelijk hele nieuwe typen van bronnen zoals geluiden, taal bestanden, muziek, etc. toe te voegen met zo min mogelijk moeilijkheden. Het nieuwe formaat staat Minecraft ook toe om nog makkelijker verouderde pakketten te ontdekken, terwijl het voor Minecraft nog steeds mogelijk zal zijn om ze in te laden. Bronpakketten gebruiken de hele assets map in de Minecraftmap en "1.6.jar" (een nieuw versie formaat in de nieuwe launcher) voor gebruik van toegevoegde bronnen, en hebben een pack.mcmeta (wordt gebruikt om het pakket te beschrijven net zoals pack.txt eerder deed in versie 1.6.1), en pack.png (een plaatje voor het Bronpakket, ook hetzelfde als Thema's).

Ontwerp een bronpakket[]

Om een Bronpakket te maken moet je eerst naar de Minecraft folder gaan. Op Windows heet deze .minecraft en kun je hem vinden in de AppData map bij jouw gebruikersnaam. Op een Mac heet het minecraft en kun je hem vinden door naar de Library (Bibliotheek) map te gaan bij jouw gebruikersnaam, daar staat hij in de map Application Support. Bij Linux heet hij .minecraft en staat hij in je home map (standaard is hij verborgen).

Als je bij Minecraft bent aangekomen, open de resourcepacks map. Maak een nieuwe map voor je Bronpakket en geef het een naam.

pack.mcmeta[]

Het eerste dat je nodig hebt is een pack.mcmeta bestand. Dit laat Minecraft weten dat de map een Bronpakket is en het zorgt er ook voor dat je de beschrijving die van je Bronpakket kunt veranderen. Om dit pack.mcmeta te maken, open een tekstbewerkingsprogramma en plak deze tekst hierin:

{
   "pack":{
      "pack_format":1,
      "description":"Mijn Bronpakket"
   }
}

Je kunt de beschrijving Mijn Bronpakket laten totdat je iets leukers verzint. Als je speciale tekens wilt gebruiken kun je daar hier de code voor opzoeken:http://en.wikipedia.org/wiki/List_of_Unicode_characters Als je bijvoorbeeld de letter 'thorn' (Þ) wil gebruiken, moet je in plaats van dat teken de code \u00DE gebruiken. Zorg er wel voor dat de schuine streep goed gericht is!

Sla het bestand op als pack.mcmeta, of je de beschrijving nu veranderd hebt of niet. Zorg ervoor dat je tekstbewerkingsprogramma het bestand in platte tekst opslaat in plaats van iets speciaals zoals Rich Text Format (RTF).

Pack.png[]

Als je een nieuw plaatje wil voor bij je bronpakket in het overzicht in Minecraft, kun je een 128x128 pixelplaatje maken en deze pack.png noemen. Zet dit plaatje in dezelfde map als pack.mcmeta

Middelen[]

Vervolgens moet je een map maken genaamd assets. Daarin moet je nog een map maken, genaamd minecraft. Deze map is de plek waarin je alle afbeeldingen en andere bestanden gaat zetten om je eigen bronpakket uniek te maken.

Nu ben je klaar om de bestanden te zoeken die je aan wilt passen.. Je hoeft er niets in te zetten dat je niet gaat veranderen, want Minecraft zal automatisch de standaard bestanden gebruiken. Stel dat je alles hetzelfde wilt houden, behalve dat de stenen pimpelpaars met roze stippen zijn in plaats van rood. Je zult een nieuwe afbeelding moeten maken met pimpelpaarse stenen die roze vlekken hebben, maar het moet dezelfde bestandsnaam en pad hebben als normaal. Voor de stenen moet je dus eerst naar de minecraft map die zich in de asset map bevind. Vervolgens moet je daar een map genmaamd <textures> maken waarin je de map blocks maakt. Daarin kun je je pimpelpaarse stenenafbeelding met roze vlekken zetten en ervoor zorgen dat je het brick.png noemt.

Je vraagt ​​je misschien af ​​hoe je kunt achterhalen wat de namen zijn en wat de bestandsstructuur is, en hoe je de originele bestanden zelf kunt vinden als je maar een kleine verandering wilt maken in plaats van helemaal opnieuw te beginnen. Daarvoor moet je op een van de twee plaatsen kijken, afhankelijk van het type bestand dat je aan het veranderen bent.

If you want to make custom icons, music, records, or sounds, go back to the first minecraft folder that contains resourcepacks. Now open up the assets folder (this is a different one from the one you made). You should see folders labeled icons, music, records and sounds. Inside, you'll find the original files for each category. If you want to update an icon, just copy the one you want and then go back to the minecraft folder that you recently created. Create a new icon folder inside, and paste your icon file into it. Now you can open that file and modify it however you like, and it will still have the correct name and file path.

To find the files for fonts, languages, texts, and textures, it's a little bit more involved. Go back to the first minecraft folder that contains resourcepacks and this time, open up the versions folder. Inside you should see a folder that corresponds to the current version (i.e. 1.6.2). Open that to find the 1.6.2.jar file and open that jar file using whatever unzipping program you have. Inside the new folder that it creates, you'll see a whole slew of class files, but somewhere in there you'll find yet another assets folder with yet another minecraft folder inside. Open them up and you'll see folders called font, lang, textsand textures. Again, you'll find the default files inside and you can copy the ones you want to change and put them into the minecraft folder that's hidden in the depths of your new resourcepack folder.

If that's too confusing, it might be helpful to look at a video tutorial or two. You can also look into downloading a default resource pack that you can just copy and modify, deleting the branches of folders that you don't need. That might be simpler, depending on what you're doing.

Talen toevoegen[]

You can add new language to Minecraft by resource pack. Assume that your language code (might be ISO 639) is 'LANG' and country/region code is 'COUNTRY' (might be ISO 3166-1), pack.mcmeta will be:

{
   "pack":{
      "pack_format":1,
      "description":"Resource pack sample"
   },
   "language":{
      "LANG_COUNTRY":{
         "name":"Language name",
         "region":"Country/region name",
         "bidirectional":false
      }
   }
}

Then, put LANG_COUNTRY.lang file to assets/minecraft/lang folder. Choose your resource pack, open language selection screen, new language will be there.

NOTE: As of 1.6, you cannot choose multiple resource packs at once. If you want to use new language and texture pack, you need to combine them manually.

Animatie eigenschappen[]

{ 
   "animation":{
      "width":1,
      "height":7,
      "frametime":1,
      "frames":[{
         "index":0,
         "time": 0
         },
         1,2,3,4,5,6,4,2]
   }
}

width and height are the number of frames in the horizontal and vertical directions, respectively. frametime is the default delay to use between frames. frames is a list of frames, in the order they are to play in. index and time can be used together to specify a frame that should take a different amount of time than the default.

NOTE: all you really need to make a texture animated is:

{
  "animation": {}
}

Saved as the file you want animated (like stone).png.mcmeta. It then need to be placed in the same folder as your texture (stone).png is located in.


Textuur eigenschappen[]

{ 
   "texture":{
      "blur":false,
      "clamp":true
   }
}

This optional section can be added to your texture .png.mcmeta to add special properties to its textures. blur will allow the texture to blur when viewed close-up, and clamp will prevent the texture from repeating in situations where it otherwise might (this can most easily be seen when setting clamp to false in shadow.png.mcmeta - multiple shadows will appear under some mobs.)

Lettertype eigenschappen[]

{ 
   "font":{
      "characters":{
         "default":{
            "width":16.0,
            "spacing":1.5,
            "left":0.0
         },
         "0":{
            "width":16.0,
            "spacing":1.5,
            "left":0.0
         },
         "46":{
            "width":16.0,
            "spacing":1.5,
            "left":0.0
         },
         "255":{
            "width":16.0,
            "spacing":1.5,
            "left":0.0
         }
      }
   }
}

0 is the first character and 255 is the last.

Gebruik[]

This function would be great for adventure maps where you'd want to change the music of a certain disc, or if you'd want to change the end credits to something more user-friendly. You could even change the name of the item itself in Survival maps. And of course, changing the textures of things like texture packs have done. Keep in mind that you can also change the words of the Death Messages, Title-Screen options and more. However, the resource packs aren't there yet for servers, like Texture packs did. This will be fixed in a future update.

Mapstructuur[]

    • pack.mcmeta – Metadata for this package. (required)
    • pack.png – Thumbnail image
    • assets
      • minecraft
        • font - Contains glyph_sizes.bin
          • glyph_sizes.bin - Controls unicode glyph size - Editing file can cause dysfunctional fonts
        • lang
          • [Language Code]_[Country Code].lang – Text-based language files.
        • texts
          • credits.txt – Credit. Translatable, should be written in UTF-8.
          • end.txt – End Poem. Translatable, should be written in UTF-8.
          • splashes.txt – Splash text. Translatable, should be written in UTF-8.
        • sound - Allows the ability to edit sounds.
          • ambient
            • cave
            • weather
          • damage
          • dig
          • fire
          • fireworks
          • liquid
          • minecart
          • mob
            • bat
            • blaze
            • cat
            • chicken
            • cow
            • creeper
            • enderdragon
            • endermen
            • ghast
            • horse
            • irongolem
            • magmacube
            • pig
            • sheep
            • silverfish
            • skeleton
            • slime
            • spider
            • villager
            • wither
            • wolf
            • zombie
            • zombiepig
          • note
          • portal
          • random
          • step
          • tile
            • piston
        • music - Allows the ability to edit music.
        • textures
          • blocks
          • colormap
          • entity
            • cat
            • chest
            • creeper
            • endercrystal
            • enderdragon
            • enderman
            • ghast
            • horse
              • armor
            • pig
            • sheep
            • skeleton
            • slime
            • spider
            • villager
            • wither
            • wolf
            • zombie
          • environment-->
          • font
            • ascii.png – Glyphs for non-unicode languages. Despite its name, this file contains non-ascii characters. Each glyphs need to be squared, and transparent pixels should be black and have an alpha channel value of 0.
          • gui
            • achievement
            • container
              • creative_inventory
            • title
              • background
          • items
          • map
          • misc
          • models
            • armor
          • painting
          • particle-->

Geschiedenis[]

Officiële release
1.6.1 13w24a textuur pak is beschikbaar (engels texturepack .
1.6.2 1.6.2pre Fixed distorted font is shown when HD font is used.[7]

Referenties[]

Advertisement