your current location:首页 > news>[Iconr] icon rendering (iconrender)

[Iconr] icon rendering (iconrender)

2024-12-15 01:08:28|Myriagame |source:minecraft skins

Brief introduction

The JSON export module made for encyclopedia.

Open source protocol: GPL V3.0

The function of recording the biological diagram is currently independent into a new module.It is recommended to use the module for export.

For 2.0 series versions (temporarily only support Fabric):

Export instruction:

/Iconr Single [Modid/namespace]: Export a certain name space (such as "Minecraft" as the original name space)

/Iconr Single all: Export all modules that have been loaded and available

Export location:

In the game root directory, the iConrenderer folder.Export content includes: entity, item/block, and synthetic table.

Inside the IMAGE subfolder (saved the exported picture, you can choose it by yourself), and the JSON subfolder (saved the exported JSON file for encyclopedia upload).

Note:

When exporting, if the current language is simplified Chinese (zh_cn) or English (EN_US), it will be reloaded 2 times, otherwise the resource will be reloaded 3 times (the language selected before the derivation) will be loaded.

After exporting, you can check whether the location and size of the entity in the physical picture are appropriate. If it is not appropriate, you can use the [Anr] AnimationRcorder for custom export.

Author plan:

In the future, the functions of custom exporting physical pictures and fluid export may be added.

For 1.0 series versions (not recommended):

Enter instructions:/Exporticons [MODID] Export all items, blocks, and entities of a certain name space.

[Modid] The name space of the corresponding module, for example: Minecraft is the original name space.

Export to the iConrenderEroutput folder in the game directory.The language will be reset 1-2 times when exporting, which is normal.

If the picture in the Entity.json exported is not appropriate, you can try to record the biological image.

The function of recording the biological diagram is currently independent into a new module.It is recommended to use the module for export.

Recording biological movements:

Press the keyboard button ‘y’ to start recording. The player's cross cursor is required to align the creature. After recording, the export is exported to the iconrenderOutPut folder.

Set the parameters with /shootmob.

When recording, some of the GUIs in the game will not be opened.

If there is a problem with the exported picture ratio, try to set the scaling manually.

/Shootmob instruction parameter list:

~ Frame [INTEGER]: Set the number of recording frames, one frame (20FPS) for each tick.For example, the recording 5 -second moving chart is 100;

~ Transparent [0/1]: Whether the picture retains transparency.For example, the Slime shell is transparent, so it needs to be disabled;

~ Scale [Float]: Set the zoom of the rendering entity.The default is 1;

~ picscale [float]: Set the picture size, 128* this parameter;

~ Delta [Integer] [Integer]: The offset of the rendered entity in the picture;

~ rotate [INTEGER] [Integer]: Rotating with limited rotation, maximum rotation π/3 (60 °);

~ multithreading [0/1]: Whether to enable multiple threads when exporting GIF (may be stuck for a few seconds without enabling, depending on the number of frames);

~ Settodefault: Research all the parameters as the default value.

Forge/Quilt version:

Enter /exporticons all guides the items, blocks and entities under all name space.

Fabric version:

Enter /exportAllicons to guide the items, blocks and entities under all named spaces with one click.

After the export, all the exported pictures will be stored in the image folder in the folder for users to choose.

In addition to completely remake (some code reference) ITEMEXPORT, the export of physical content is added.

For the new version 1.18.2 version

Maintenance was maintained by OGANESSON897, and several errors that could cause collapse were repaired.

And fixes errors that cannot correctly export the name when the translation keys displayed as a display name is formatized.

Delete Itemgroup related export (because the introduction of JSON in MC Encyclopedia has not used this field content).

Motor question and answer

Q: Can you export APNG?

A: It is not supported for the time being, you can use ImageMagick or other tools to manually convert.Magick command line: Magick Convert input.gif Output.apng.

Minecraft images

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.