Repository navigation
2.6.0: Registry Dumping!
ProbeJS Legacy 2.5.0 -> 2.6.0
Registry Dumping
What's new?
- Registry Dumping!
- Registries, whether from vanilla(e.g. items, blocks) or mods(e.g. Mekanism Slurries), can now be dumped into
registries.d.ts. - Registries will be resolved into types, showing every avaliable names under such registry. e.g.
type schedule = "minecraft:empty"|"minecraft:simple"|"minecraft:villager_baby"|"minecraft:villager_default"; - Types that are registry entries will now take cooresponding registry as its assignables, like
type Attribute_ = Registry.minecraft.attribute | Attribute; - This means in some cases, like
item.enchant(..., 1), using string in...will no longer confuses your IDE, if you enable type checks.
- Registries, whether from vanilla(e.g. items, blocks) or mods(e.g. Mekanism Slurries), can now be dumped into
- Minor performance tweaks to allow event listening mixin runs a little bit faster. After this change, changing config
disabledwill actually require a game restart to take effects - move generalized representation of
onEventandonForgeEventlower to prefer sepcialized ones