mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
49 lines
1.1 KiB
Java
49 lines
1.1 KiB
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under a
|
|
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
|
|
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
|
|
*
|
|
* File Created @ [Jan 14, 2014, 6:43:03 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.api.internal;
|
|
|
|
import java.util.List;
|
|
|
|
import net.minecraft.item.crafting.IRecipe;
|
|
import vazkii.botania.api.page.LexiconPage;
|
|
import vazkii.botania.api.page.PageDummy;
|
|
|
|
public class DummyMethodHandler implements IInternalMethodHandler {
|
|
|
|
@Override
|
|
public LexiconPage textPage(String key) {
|
|
return dummyPage(key);
|
|
}
|
|
|
|
@Override
|
|
public LexiconPage imagePage(String key, String resource) {
|
|
return dummyPage(key);
|
|
}
|
|
|
|
@Override
|
|
public LexiconPage recipesPage(String key, List<IRecipe> recipes) {
|
|
return dummyPage(key);
|
|
}
|
|
|
|
@Override
|
|
public LexiconPage recipePage(String key, IRecipe recipe) {
|
|
return dummyPage(key);
|
|
}
|
|
|
|
|
|
private LexiconPage dummyPage(String key) {
|
|
return new PageDummy(key);
|
|
}
|
|
|
|
|
|
}
|