mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
start 1.10.2
This commit is contained in:
1 parent
f969f63b66
commit
6a7c4bf67d
826 files changed
+60550
-63758
No files matched your search
@@ -1,9 +1,25 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.extrabees.proxy;
|
||||
|
||||
public class ExtraBeesProxyClient extends ExtraBeesProxy
|
||||
{
|
||||
import binnie.extrabees.genetics.ExtraBeesSpecies;
|
||||
import forestry.api.apiculture.BeeManager;
|
||||
import forestry.api.apiculture.EnumBeeType;
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.client.model.ModelLoader;
|
||||
|
||||
public class ExtraBeesProxyClient extends ExtraBeesProxy {
|
||||
public void registerBeeModel(ExtraBeesSpecies type) {
|
||||
for (EnumBeeType t : EnumBeeType.VALUES)
|
||||
type.registerModels(BeeManager.beeRoot.getMemberStack(BeeManager.beeRoot.templateAsIndividual(type.getTemplate()), t).getItem(), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registermodel(Item item, int meta) {
|
||||
registermodel(item, meta, new ModelResourceLocation(item.getRegistryName(), "inventory"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registermodel(Item item, int meta, ModelResourceLocation modelResourceLocation) {
|
||||
ModelLoader.setCustomModelResourceLocation(item, meta, modelResourceLocation);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user