I have a request!
A request for ALL the great modding minds!
I want you to come together and create this very special book mod!
Now I know there have been a lot off other suggestions and I have heard of a mod that lets you write in books and store them in bookshelves... but that mod isn't what I am looking for.
I want a book mod that allows other mods to add books!
Example:
Mo' Creatures would be able to add books on breeding or books about each creature.
Another mod would be able to add books on new crafting recipes.
If you download both mods you would have all the books from both mods in your game
Simple as that.
The Mod
-------------------
The Bookshelf
- Only books can be placed in here (like armor).
- Upon being destroyed, bookshelves would drop the items inside(like chests).
- Right-clicking on a bookshelf will open a gui with a grid of 3x5: *Actual size for you to use(Copied off the trap.png)*
The Book
- Books can only be placed in bookshelves (Hehe now you have to use bookshelves. And it's 100% logical)
- Right-clicking when holding a book will open a gui as so:
(I like the look of this gui from here)
To solve navigation... it would be nice to click on the index that you want to go to... but if that doesn't work just edit the hight and add two buttons (previous and next) to the bottom of the gui(The top needs to be kept clear for the long book names :Zombie:).
How It Would Work
This is the tricky part.
Each book would have it's own .LANG file that looks like THIS #Each Book can have a max of 9 pages#
#Each Book can have a max of 9 lines or a max of 6 lines and 1 image(located at the top of the page)#
name=String - would be the name of your Book(example: name=Butterfly Encyclopedia).
page.1.image=boolean - if true then load the .png(in the next line) and use only 6 lines for the rest of the page.
page.1.imagefile=String - the location of the .png that goes at the top of the page(example: page.1.imagefile=/butterfly.png).
page.1.title=String - the title of the page(example: page.1.title=Regular Butterfly).
page.1.line.1=String - the text for line 1 of page 1(example: page.1.line.1=Caught: 4).
I would like several functions to be added to ModLoader.
#1. addBook(Item book, String name)
- This would act like the AddName and add "name" to an array or a .LANG file (whatever AddName does...).
#2. getBooksToRender()
- This would be called by modloader or the book item itself and not when creating a class. It gets the list of books(created by AddName) and assigns the appropriate .LANG file(specified in the string "name" of method addBook)
Heres what it would be like.
1. Drag and drop the files of the mod you are installing[the book item/entity/.LANG files for THAT mod are included(addBook(Item book, String name) would be called in the mod_nameOfMod folder)].
2. Modloader installs the mod(and adds all the "names" of each installed mod into one list.).
3. When a right-click is preformed while holding a book item that item calls a function to read getBooksToRender and based on its item name(declared as all modLoader items are) will get the right string(holding the location of the .LANG) and preform a function on it that takes the values out of the right .LANG file.
In the end... only the book and shelf (and maybe chests to keep book out of them) should be edited.
This allows for mods to create and add their own books to the game.
It would be AWESOME!
Idea!: New item story books: way larger page limit like 30 and like 15 lines on a page and so in this way you can find storybooks in dungeons and they'll only be chapters of the books though. ie: 100 days to mine, 15 weeks to craft (a sequel im writing(15weeks equals 100-105)), the diamond plague, the glitched world and even the minecraft fanart book. Isupport!
Idea!: New item story books: way larger page limit like 30 and like 15 lines on a page and so in this way you can find storybooks in dungeons and they'll only be chapters of the books though. ie: 100 days to mine, 15 weeks to craft (a sequel im writing(15weeks equals 100-105)), the diamond plague, the glitched world and even the minecraft fanart book. Isupport!
I will add this to the list if you can think of a gui for it!
The reason there aren't many pages/lines is because thats all the room there is without a scrollbar.
Solution?
Write sequels/series!
:biggrin.gif:
Quote from BalkondeurAlpha »
Nice idea! It's probably too hard for me, but I will try!
Anything helps!
If you get a good way and/or don't want to work on it anymore plz to post your code so others can continue!
Like if you want to code the book gui/can-only-be-placed-in-bookshelves or the bookshelf gui but don't want to code the .LANG stuff.
Well you may not have been the first person to come up with the idea but you are one of the first to think it out completely. I agree this should be made.
The main use for this would be for RP/ RPG servers where books could hold information/ lore. May I suggest that books have unlimited pages, but a new page is only created when you fill up the previous.
Check the released mods this was already made (not as awesome but close) its called functional books google it, cause google is your friend.
Yeah I have seen it.
Quote from Th3Guy »
Now I know there have been a lot off other suggestions and I have heard of a mod that lets you write in books and store them in bookshelves... but that mod isn't what I am looking for.
I want a book mod that allows other mods to add books!
But I want it better!
:biggrin.gif:
Plus that gui kinda looks... not minecraftish... if you get what I mean.
Nice Idea! The other think would be nice is that after the mod being relased players can post their books for others to download it :smile.gif: In another thread or in this thread.
Excellent, although a mod made for other mods to use seems like it would do better as a feature that Notch adds in...well, on the other hand, if we get this idea popular enough and/or an actual mod of this popular enough, it could work!
Rollback Post to RevisionRollBack
SPAAAAAAAAAAAACE!
"Look at me still talking when there's science to do. When I look out there it makes me glad I'm not you."
You can get it Here.
Hey there!
I have a request!
A request for ALL the great modding minds!
I want you to come together and create this very special book mod!
Now I know there have been a lot off other suggestions and I have heard of a mod that lets you write in books and store them in bookshelves... but that mod isn't what I am looking for.
I want a book mod that allows other mods to add books!
Example:
Mo' Creatures would be able to add books on breeding or books about each creature.
Another mod would be able to add books on new crafting recipes.
If you download both mods you would have all the books from both mods in your game
Simple as that.
-------------------
The Bookshelf
- Only books can be placed in here (like armor).
- Upon being destroyed, bookshelves would drop the items inside(like chests).
- Right-clicking on a bookshelf will open a gui with a grid of 3x5:
*Actual size for you to use(Copied off the trap.png)*
The Book
- Books can only be placed in bookshelves (Hehe now you have to use bookshelves. And it's 100% logical)
- Right-clicking when holding a book will open a gui as so:
(I like the look of this gui from here)
To solve navigation... it would be nice to click on the index that you want to go to... but if that doesn't work just edit the hight and add two buttons (previous and next) to the bottom of the gui(The top needs to be kept clear for the long book names :Zombie:).
This is the tricky part.
Each book would have it's own .LANG file that looks like THIS
#Each Book can have a max of 9 pages#
#Each Book can have a max of 9 lines or a max of 6 lines and 1 image(located at the top of the page)#
name=String - would be the name of your Book(example: name=Butterfly Encyclopedia).
page.1.image=boolean - if true then load the .png(in the next line) and use only 6 lines for the rest of the page.
page.1.imagefile=String - the location of the .png that goes at the top of the page(example: page.1.imagefile=/butterfly.png).
page.1.title=String - the title of the page(example: page.1.title=Regular Butterfly).
page.1.line.1=String - the text for line 1 of page 1(example: page.1.line.1=Caught: 4).
I would like several functions to be added to ModLoader.
#1. addBook(Item book, String name)
- This would act like the AddName and add "name" to an array or a .LANG file (whatever AddName does...).
#2. getBooksToRender()
- This would be called by modloader or the book item itself and not when creating a class. It gets the list of books(created by AddName) and assigns the appropriate .LANG file(specified in the string "name" of method addBook)
Heres what it would be like.
1. Drag and drop the files of the mod you are installing[the book item/entity/.LANG files for THAT mod are included(addBook(Item book, String name) would be called in the mod_nameOfMod folder)].
2. Modloader installs the mod(and adds all the "names" of each installed mod into one list.).
3. When a right-click is preformed while holding a book item that item calls a function to read getBooksToRender and based on its item name(declared as all modLoader items are) will get the right string(holding the location of the .LANG) and preform a function on it that takes the values out of the right .LANG file.
In the end... only the book and shelf (and maybe chests to keep book out of them) should be edited.
This allows for mods to create and add their own books to the game.
It would be AWESOME!
--------------------------
----------------------------
The Secret Item
Make the book item write and read a config file that looks like this:
#Bookshelf configuration
#true of false
secretItem=false
By default the setting would be false.
Based on the config the bookshelf gui would change from the regular one above to this one:
You would be able to place any item in this slot.
One item???
Make more bookshelves ;D
Now make a sig so we can show our support!
Show your support for the best mod ever!
I'm not the best sig maker.... so the lighting is a bit off....
But I think it came out well!
EDIT:
Tried to add it to my sig and it got rejected for being to large...
I'll edit it in the morning.
Show your support for the best mod ever!
Or you could make books with gaps in them for hiding things. :ohmy.gif:
Or a secret doorway out of bookshelves! Make a batcave! :biggrin.gif:
Show your support for the best mod ever!
[*:9ygnjuoq]Fixed the sig size
[*:9ygnjuoq]Added the secret item suggestion
i want book shelves
here have diamonds
Take them!!!
I will add this to the list if you can think of a gui for it!
The reason there aren't many pages/lines is because thats all the room there is without a scrollbar.
Solution?
Write sequels/series!
:biggrin.gif:
Anything helps!
If you get a good way and/or don't want to work on it anymore plz to post your code so others can continue!
Like if you want to code the book gui/can-only-be-placed-in-bookshelves or the bookshelf gui but don't want to code the .LANG stuff.
EDIT:
Hehe quoted the wrong person :S
Fixed it.
viewtopic.php?f=1032&t=243971
However, this is better.
The main use for this would be for RP/ RPG servers where books could hold information/ lore. May I suggest that books have unlimited pages, but a new page is only created when you fill up the previous.
MOD EDIT: No bumping please
Show your support for the best mod ever!
Banner made by Macro Sigs!
[Sheep] approves of:
[Sheep] also approves of
Humans+
Dr.Z Mo' Creatures
... idiot
Yeah I have seen it.
But I want it better!
:biggrin.gif:
Plus that gui kinda looks... not minecraftish... if you get what I mean.
"Look at me still talking when there's science to do. When I look out there it makes me glad I'm not you."