GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • LootJS
  • 1.21.x
  • Event difference
  • Event Overview
  • Modify your first loot table
  • Create your first loot table
  • Event Overview
  • ItemFilter
  • LootTable
  • LootPool
  • LootEntry
  • LootEntryTransformer
  • LootConditions
  • LootFunctions

This view

  • Original page
  • New address

GeezerVison is showing docs.almostreliable.com — Getting Started | LootJS

Getting Started ​

WARNING

This wiki is for LootJS for Minecraft 1.21+ and above. For previous versions, please refer to the old wiki. Everything in this wiki is not compatible with older versions of LootJS.

LootJS is a mod for NeoForge which lets you programmatically modify loot tables. It's an add-on for KubeJS.

It does not come with any pre-defined loot modifications. This is something which has to be done by the modpack developer.

The mod consists of the two main events LootJS.lootTables() and LootJS.modifiers() and is server-sided. All scripts containing LootJS logic need to be placed inside the server_scripts directory.

For editing your scripts, we highly recommend to use an editor which offers syntax highlighting and error checking for JavaScript like VSCode.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.