Mod

Roid's Old Obsidian

Quick rating

Roid's Old Obsidian

No reviews yet

Rewrite of Jsoned Old Obsidian with more performance and features

QoL & Tweaks
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
jsonedoldobsidian-2.0.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

About

Description

The original Jsoned Old Obsidian, when used with a lot of recipes, has output such as this when a lot of recipes are registered

That report is the reason I made this mod. I do not have benchmarks, but the same user which created the report above (where 80% of the chunk loading time is used by Jsoned Old Obsidian) noticed no performance cost to adding recipes with this fork.

Features

The basic feature of this mod is that when a block (let's call it liquid1) triggers a block update to another block (dust) that is next to a third block (liquid2), the dust gets converted to a blockstate (result) defined in JSON. Note that liquid1 and liquid2 don't have to be fluids.

For example, you could have fluid1 be lava, dust be redstone dust and fluid2 be water, and you'd get the old redstone -> lava conversion bug

This conversion, using the json API, would look like this :

{
    "liquid1": "minecraft:flowing_lava",
    "liquid2": [
        "minecraft:flowing_water",
        "minecraft:water"
    ],
    "dust": "minecraft:redstone_wire",
    "result": "minecraft:obsidian"
}

This mod supports blockstate matching, block matching, oreDict matching (using the picked block), RegEx matching (using registryname:meta) and any matching. It is fairly easy to add new matchers via GroovyScript native method access.

More details can be found on the wiki

Reloading

You can also reload all conversions added by JSON by running the command /jsonedoldobsidian:conversion_reload

Performance

The mod this forks (Jsoned Old Obsidian), did RegEx matching for every entry on every NeighborNotifyEvent, thus wasting a lot of performance doing repeated expensive operations. This fork :

  • Avoid using RegEx where not necessary (i.e : block matching is made by ==)
  • Computes the Blocks, BlockStates, OreIds, RegEx (compilation) when the recipe is added instead of matched (so it's only done once)
  • Hashes liquid1 matching

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync