mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Add new Wood Model Loader (#1367)
This commit is contained in:
1 parent
b5faab51c3
commit
eb63e75200
1039 files changed
+1011
-10035
No files matched your search
@@ -12,7 +12,7 @@ package forestry.farming.proxy;
|
||||
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
|
||||
import forestry.core.models.BlockModelIndex;
|
||||
import forestry.core.models.BlockModelEntry;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.farming.PluginFarming;
|
||||
import forestry.farming.models.ModelFarmBlock;
|
||||
@@ -21,7 +21,7 @@ public class ProxyFarmingClient extends ProxyFarming {
|
||||
|
||||
@Override
|
||||
public void initializeModels() {
|
||||
Proxies.render.registerBlockModel(new BlockModelIndex(new ModelResourceLocation("forestry:ffarm"),
|
||||
Proxies.render.registerBlockModel(new BlockModelEntry(new ModelResourceLocation("forestry:ffarm"),
|
||||
new ModelResourceLocation("forestry:ffarm", "inventory"), new ModelFarmBlock(),
|
||||
PluginFarming.blocks.farm));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user