IceCraft Icon ICECRAFT STUDIO
Profile picture Login
PavelDobCZ23's Profile Picture PavelDobCZ23

Insert Molang File [Minecraft Bedrock] 2.4.0.

Project Thumbnail
Created on:
Updated on:
Category: VS Code - Extension

Description

This extension lets you use '.molang' files when working on larger scripts and easily insert them as a single-line string into Minecraft Bedrock addon files.

Usage

To use this extension, simply right click (you can also use command pallete) on any string within an addon file, a menu will pop up and you can select whichever file from the molang folder you want to insert. It doesn't matter if the string is empty or not, it will simply replace it completely.
If working in resource pack file it will only look into resource pack's molang folder and so with behavior packs.
When it inserts the MoLang file's code, it removes any newlines or returns and comments, so you don't have to worry about json errors!
Comments are supported within MoLang files like so: single-line comments using //<comment> or #<comment> and multi-line comments using /*<comment>*/. They will be ignored and won't be inserted.

!Attention!

Molang files in subfolders aren't supported, refer only to files in root folders!

molang folder is case-sensitive, make sure it's all lower-case letters!

The extension looks for the addon root path by finding the directory closest to the root of the file system, that contains a folder with addon keyword name like features or entities. Make sure addon folder keyword names don't exist anywhere in the addon root path, only inside the addon!

Example of this problem: C:\Minecraft\Development\biomes\My addon\features\test.json

Addon folder keyword names: subpacks,features,biomes,feature_rules,entities,entity,blocks,items,animations,animation_controllers,attachables,particles,render_controllers

Usage example:

usage example

Setup

Dependencies

This extension does not have any dependencies.

Settings

More details are explained within VSCode settings.

Usage example of inserting Molang file by typing its name:

usage example legacy

Known Issues

So far no issues have been spotted.

Finishing up

This extension is made by Studio IceCraft

Not affiliated with Mojang or Microsoft

Minecraft is an IP owned by Microsoft and Molang is a part of this IP, all legal rights to those subjects belong to them.

Project Links

Project Files

Download - Insert Molang File 2.4.0. - VSIX