mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-26 13:18:34 +01:00
patchouli does this now yes
This commit is contained in:
parent
57af7e50c1
commit
e9a7cef39f
1 changed files with 0 additions and 5 deletions
|
@ -1,12 +1,9 @@
|
||||||
package de.ellpeck.naturesaura.compat.patchouli;
|
package de.ellpeck.naturesaura.compat.patchouli;
|
||||||
|
|
||||||
import de.ellpeck.naturesaura.NaturesAura;
|
import de.ellpeck.naturesaura.NaturesAura;
|
||||||
import net.minecraft.client.renderer.block.model.ModelBakery;
|
|
||||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
import vazkii.patchouli.client.book.BookPage;
|
import vazkii.patchouli.client.book.BookPage;
|
||||||
import vazkii.patchouli.client.book.ClientBookRegistry;
|
import vazkii.patchouli.client.book.ClientBookRegistry;
|
||||||
import vazkii.patchouli.common.item.PatchouliItems;
|
|
||||||
|
|
||||||
public final class PatchouliCompat {
|
public final class PatchouliCompat {
|
||||||
|
|
||||||
|
@ -15,8 +12,6 @@ public final class PatchouliCompat {
|
||||||
public static void initClient() {
|
public static void initClient() {
|
||||||
addPatchouliPage("altar", PageAltar.class);
|
addPatchouliPage("altar", PageAltar.class);
|
||||||
addPatchouliPage("tree_ritual", PageTreeRitual.class);
|
addPatchouliPage("tree_ritual", PageTreeRitual.class);
|
||||||
|
|
||||||
ModelBakery.registerItemVariants(PatchouliItems.book, new ModelResourceLocation(NaturesAura.MOD_ID + ":book", "inventory"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void addPatchouliPage(String name, Class<? extends BookPage> page) {
|
private static void addPatchouliPage(String name, Class<? extends BookPage> page) {
|
||||||
|
|
Loading…
Reference in a new issue