Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/23/18 in all areas

  1. Take a look at that items texture along with the .mcmeta file with the same name as the image. Or look at Minecraft's water/lava texture and their .mcmeta file.
    1 point
  2. If an item has subtypes like Stone and Dirt do, you need to specify the metadata using the data property when using it in a JSON recipe's ingredient. Look at some of the recipes that use Planks or Stone (e.g. minecraft:acacia_boat) to see examples of this.
    1 point
  3. What exactly do you want from the recipe? Are you trying to create a recipe that accepts any metadata value of one or more ingredients? Are you trying to create a recipe that outputs a different item depending on the ingredient items? You can use an array of ingredients anywhere a single ingredient is expected to create a compound ingredient that matches any of its child ingredients. Minecraft uses this for recipes like minecraft:crafting_table, which accepts any of the 6 valid metadata values of minecraft:planks. You can also use 32767 (the value of the OreDictionary.WILDCARD_VALUE constant) as the metadata value of an ingredient to match any metadata value of the specified Item.
    1 point
  4. Found how to do it.... For the record, I used : http://www.minecraftforge.net/wiki/MrGReapers_tutorials/1.7.2_sound_tutorial As the url lacks working examples, here is one : The mod is "jlmod" - You must create a sound folder \resources\assets\jlmod\sounds - Inside, ogg files. -> In this example, "sonar.ogg" You must create an sounds.json file in \resources\assets\jlmod Content : { "custom_sound": {"category": "ambient","sounds": [{"name": "sonar","stream": false}]} } You can then play the sound with something like : world.playSound(posX, posY, posZ, "jlmod:mineral_detector_sound", 1.0F, 0.6F, false);
    1 point
×
×
  • Create New...

Important Information

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