Minecraft Image Generator - MIG

Indexes

Crafting table generator

Exemple

► SVG (interactive)

► PNG (static)

Description

Generate a craft table template with items from:

All basic minecraft items can be used by their unlocalized name (1.12.2), if you are using a specific texture or item, you can use a link !

We generate the image from a simple url so there is no need for code and can be used in any image source !

Usage

  • SVG get request

  • This method generates images with interactions !

    Hard to integrate

    1. Generate url
      Base URL
      http://mig.baramex.me/requests/get/ctg/svg
    2. Integrate
      To have the interactions, you have to integrate the svg in an iframe (replace src)
      <iframe style="border: none;" scrolling="no" style="overflow: hidden;" src="PlaceUrlHere"></iframe>
      But for proper integration and custom size, we must create an svg object (replace src, width and height)
      <svg viewBox="0 0 PlaceWidthNumber PlaceHeightNumber"> <foreignObject width="100%" height="100%"> <iframe style="border: none;" scrolling="no" style="overflow: hidden;" src="PlaceUrlHere" height="PlaceHeightNumber" width="100%"></iframe> </foreignObject> </svg>
  • PNG get request

  • Easy to integrate !

    This method generates a static image, without any interactions

    1. Generate url
      Base URL
      http://mig.baramex.me/requests/get/ctg/png
    2. Integrate
      You have to paste the link to the source of the image and you can modify the element size (replace src)
      <img src="PlaceUrlHere">
  • Query

    • Items

      You can use the item1_src query up to item9_src with the source of the texture (url or unlocalized name of the item) and item1_emplacement up to item9_emplacement with number of 1 to 9
    • Crafted Item

      You can use the craftedItem_src query with the source of the texture (url or unlocalized name of the item) and (optional) craftedItem_count with number of 1 to 64
    • Custom Width (optional)

      Default is 520px, you can change this with query w (number only, without 'px')
    • Hover Text (optional) ⚠ only SVG

      You can use the item1_name query up to item9_name and craftedItem_name to set the hover text of the item
    • Exemple query (craft flint and steel):

      copy Copied !
      (url)?item1_src=flint&item1_emplacement=8&craftedItem_src=flint_and_steel&item2_src=iron_ingot&item2_emplacement=4

      Exemple (craft iron nuggets):

      copy Copied !
      (url)?item1_src=iron_ingot&item1_emplacement=5&craftedItem_src=iron_nugget&craftedItem_count=9

Request limit