Origins (Forge)

Origins (Forge)

Mod

This is an unofficial forge port of the Origins mod for fabric

Client and server Adventure

168.4k downloads
82 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

[1.20.1] Origins Forge 1.10.0.0

Changelog

Latest Forge is not supported due to many breaking changes, please use the recommended Forge version instead.

  • Updated to 1.20.1 and for parity with Origins Fabric 1.10.0

Migration from 1.19.2 -> 1.20.1

Damage Type Registry

https://gist.github.com/apace100/bfbf82a8f9d6bd2db13e4feaf653a6b0

Material Condition

  • The Material block condition is now deprecated, please use tags where you would've previously used this block condition.

Reach Attribute Name Differences

The forge:reach_distance and forge:attack_range attribute names have been changed to forge:block_reach and forge:entity_reach respectively. The two should function identically otherwise.

Fabric Resource Condition Differences

Origins Fabric gained the ability to have conditional power loading through Fabric's Resource Condition system in 1.10.0, because Fabric's Resource Condition system does not exist on Forge, we are instead using Forge's Conditional Data systems.

Migration Guide

To migrate, change the fabric:load_conditions JSON object to a valid forge:conditions JSON object. This object can also exist alongside the Fabric Load Conditions but in a multiple Origins Fabric won't catch the forge:conditions JSON object as an excluded field.

Fabric's Load Conditions are stored inside an array, to achieve similar effects with allowing multiple conditions to be used on Forge, use a forge:and as your condition type.

More info about Conditional Data can be found here. https://docs.minecraftforge.net/en/1.20.x/resources/server/conditional/

Example

Fabric

{
    "type": "apoli:action_on_callback",
    "entity_action_gained": {
        "type": "apoli:execute_command",
        "command": "say Hello world!"
    },
    "fabric:load_conditions": [
        {
            "condition": "apoli:any_namespace_loaded",
            "namespaces": [
                "eggolib"
            ]
        }
    ]
}

Forge

{
    "type": "apoli:action_on_callback",
    "entity_action_gained": {
        "type": "apoli:execute_command",
        "command": "say Hello world!"
    },
    "forge:conditions": {
        "type": "apoli:any_namespace_loaded",
        "namespaces": [
            "eggolib"
        ]
    }
}

Dependencies

Files

origins-forge-1.20.1-1.10.0.0-all.jar(2.16 MiB) Primary Download

Details

Licensed MIT
Published a year ago
Updated 5 months ago