Coder Social home page Coder Social logo

Comments (2)

NichtStudioCode avatar NichtStudioCode commented on July 21, 2024

Works fine for me on InvUI v1.19 with Spigot 1.20.2

javaw_qIQdTrPUY0.mp4

from invui.

PizzaThatCodes avatar PizzaThatCodes commented on July 21, 2024

Currently running version InvUI 1.19 (I tried 1.18, 1.19, 1.13, and 1.12 worked) the server is Pufferfish version git-Pufferfish-15 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 30537a0 on HEAD)

Using default items that were on https://xenondevs.xyz/docs/invui/guis/paged/ (except for the ArrayList)

When using ArrayList<Item> items = new ArrayList<>();` using AbstractItem for each of the items. It seems to get all the correct items from the ArrayList for the first page, but when trying to switch the page does not work at all, zero errors inside the console, and the items are the same on the first page. Without changing any of the code 1.12 works perfectly fine, switching between the pages, while 1.13,1.18,1.19 doesn't. Something must of changed between 1.12 and 1.13 to cause AbstractItem inside of the arraylist to somehow break switching pages I guess.

The example list does appear to work, but yeah, to use an ArrayList with abstract items appear to break it quietly for some reason which makes no sense.

It's weird how it works on 1.12 compared to 1.13, 1.18, 1.19 though, not sure why tbh.

from invui.

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.