> For the complete documentation index, see [llms.txt](https://wiki.modernmodpacks.site/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.modernmodpacks.site/wiki/hellish-mods/kesseractjs/creating-fake-mods.md).

# Creating fake mods

## How to

Use the following methods in `startup_scripts`:

```javascript
Platform.registerFakeMod("<nonexistant_modid>").displayName("Some Display Name")
```

## Example

```javascript
Platform.registerFakeMod("notarealmodid").displayName("Hello World!")
onEvent('item.registry', event => {
	event.create('notarealmodid:thing')
})
```

<figure><img src="/files/3GSPkpk8mLK8vssmxXcp" alt=""><figcaption><p>How the registered item looks in JEI</p></figcaption></figure>
