GithubHelp home page GithubHelp logo

Comments (7)

glen3b avatar glen3b commented on August 23, 2024

That seems like a good idea, and looking at the forums - http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-8-raw-json-text-examples-for-tellraw-title-books#ACTIONShover - it is definitely doable. Unfortunately, as I recently discovered, CB source is no longer available due to DMCA takedown, which will make things harder.

from fanciful.

MiniDigger avatar MiniDigger commented on August 23, 2024

Just download a good decompiler (I like to use luyten) and you have your source ;D
This shouldn't be the problem.
The (main) problem I see is, setting the json to the book.

from fanciful.

MiniDigger avatar MiniDigger commented on August 23, 2024

Well, after some research, if found, that the we can do that with nbt.
The tag of an book contains a list with the json strings. Maybe even bukkits BookMeta.setPage(int id,String value) can handle json.
Maybe I should start working on an nice api today. Let's see.

from fanciful.

MiniDigger avatar MiniDigger commented on August 23, 2024

MMh, can't it to work. Via the BookMeta I just get the json string displayed and via nbt I get a strange indexarrayoutofboundsexception. no exception but a message in the consol that the exception occurred.

from fanciful.

glen3b avatar glen3b commented on August 23, 2024

Still stinks that CB source isn't available, but I will definitely look into this later.

from fanciful.

MiniDigger avatar MiniDigger commented on August 23, 2024

It is not available (in the public), but you can decompile it yourself using a decompiler and your spigot jar.

from fanciful.

glen3b avatar glen3b commented on August 23, 2024

I know that, but:

  1. Decompiling is annoying
  2. I am not aware of an Android decompiler app

Anyways, I will decompile the source and look for a good way to do this when I get a chance.

from fanciful.

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.