> 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

Suspicious activities

## 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="https://3462309945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff9DP8gpELIkQ3U8skuPM%2Fuploads%2FTPFT9nfHGGa3F6yIDGri%2Fimage.png?alt=media&amp;token=4ebcb01e-7f74-421f-ab22-fa41251f0258" alt=""><figcaption><p>How the registered item looks in JEI</p></figcaption></figure>
