mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-07-02 09:26:34 +02:00
30 lines
933 B
Java
30 lines
933 B
Java
|
/*
|
|||
|
* This file ("BookletEntryAllSearch.java") is part of the Actually Additions Mod for Minecraft.
|
|||
|
* It is created and owned by Ellpeck and distributed
|
|||
|
* under the Actually Additions License to be found at
|
|||
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|||
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|||
|
*
|
|||
|
* <EFBFBD> 2015 Ellpeck
|
|||
|
*/
|
|||
|
|
|||
|
package ellpeck.actuallyadditions.inventory.gui.booklet;
|
|||
|
|
|||
|
import java.util.ArrayList;
|
|||
|
|
|||
|
public class BookletEntryAllSearch extends BookletIndexEntry{
|
|||
|
|
|||
|
public ArrayList<BookletChapter> allChapters = new ArrayList<BookletChapter>();
|
|||
|
|
|||
|
public BookletEntryAllSearch(String unlocalizedName){
|
|||
|
super(unlocalizedName);
|
|||
|
}
|
|||
|
|
|||
|
@SuppressWarnings("unchecked")
|
|||
|
@Override
|
|||
|
public void addChapter(BookletChapter chapter){
|
|||
|
this.allChapters.add(chapter);
|
|||
|
this.chapters = (ArrayList<BookletChapter>)this.allChapters.clone();
|
|||
|
}
|
|||
|
}
|