mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 23:03:18 +00:00
Close #392 Generate Crate Icons Automatically
This commit is contained in:
1 parent
107047a04c
commit
e4b8342e1c
67 files changed
+427
-58
No files matched your search
@@ -0,0 +1,24 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2011-2014 SirSengir.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the GNU Lesser Public License v3
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.gnu.org/licenses/lgpl-3.0.txt
|
||||
*
|
||||
* Various Contributors including, but not limited to:
|
||||
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
|
||||
******************************************************************************/
|
||||
package forestry.storage.proxy;
|
||||
|
||||
import net.minecraftforge.client.MinecraftForgeClient;
|
||||
|
||||
import forestry.core.items.ItemCrated;
|
||||
import forestry.core.render.CrateRenderingHandler;
|
||||
|
||||
public class ClientProxyStorage extends ProxyStorage{
|
||||
|
||||
@Override
|
||||
public void registerCrate(ItemCrated crate) {
|
||||
MinecraftForgeClient.registerItemRenderer(crate, new CrateRenderingHandler());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2011-2014 SirSengir.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the GNU Lesser Public License v3
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.gnu.org/licenses/lgpl-3.0.txt
|
||||
*
|
||||
* Various Contributors including, but not limited to:
|
||||
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
|
||||
******************************************************************************/
|
||||
package forestry.storage.proxy;
|
||||
|
||||
import forestry.core.items.ItemCrated;
|
||||
|
||||
public class ProxyStorage {
|
||||
|
||||
public void registerCrate(ItemCrated crate) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user