Modern Modpacks
Hellish Mods
Hellish Mods
  • 👋Welcome!
  • 🧊KesseractJS
    • Creating fake mods
  • 💿Modern Custom Discs
    • Adding discs
  • ⌨️Digitality API
    • Introduction
    • Installing and initializing
    • Resource packs
      • Textures
      • Models
      • Sounds
      • Lang files
    • Data packs
      • Recipes
      • Tags
    • Custom assets
  • 🌐Website
  • 🍧Modern Modpacks Docs
Powered by GitBook
On this page
  • How to
  • Example
  1. KesseractJS

Creating fake mods

Suspicious activities

PreviousWelcome!NextAdding discs

Last updated 7 months ago

How to

Use the following methods in startup_scripts:

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

Example

Platform.registerFakeMod("notarealmodid").displayName("Hello World!")
onEvent('item.registry', event => {
	event.create('notarealmodid:thing')
})
🧊
How the registered item looks in JEI