Git Product home page Git Product logo

Comments (6)

Tschipcraft avatar Tschipcraft commented on June 26, 2024

Thanks for the bug report. This happened because Mojang decided to rename the key word alternative to any_of used in predicates in Snapshot 23w18a.
I'm currently trying to find a way for maintaining backwards compatibility, but an easy fix for a version that only works in 1.20 or above would be to rename any occurrences of minecraft:alternative to minecraft:any_of in all JSON files located in ../data/dynamiclights/predicates/.

from dynamiclights.

WarLord211 avatar WarLord211 commented on June 26, 2024

the renaming fixed it for me.
THX

from dynamiclights.

WarLord211 avatar WarLord211 commented on June 26, 2024

Hi with the 1.20 Release Candidate 1
It stopped again working.

Standart version and with the modifikation you mentioned before

from dynamiclights.

Tschipcraft avatar Tschipcraft commented on June 26, 2024

That's weird, there is nothing stated in the game changelogs that changed anything significant. I'll have to take a closer look at it

from dynamiclights.

Tschipcraft avatar Tschipcraft commented on June 26, 2024

I found a way to not use the alternative or any_of keyword at all inside the predicates and managed to maintain backwards compatibility down to Minecraft 1.17 with the latest commit. Let me know if you experience any other issues with it 🎉

from dynamiclights.

WarLord211 avatar WarLord211 commented on June 26, 2024

tested the master and it works nice :)
Thx for the quick fix

from dynamiclights.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.