start 1.10.2

This commit is contained in:
marcin212 committed 2016-10-20 04:32:47 +02:00
1 parent f969f63b66
commit 6a7c4bf67d
826 files changed
+60550 -63758

No files matched your search

@@ -1,11 +1,8 @@
//
// Decompiled by Procyon v0.5.30
//
package binnie.extratrees.proxy;
import binnie.core.proxy.IProxyCore;
import net.minecraft.block.Block;
public interface IExtraTreeProxy extends IProxyCore
{
public interface IExtraTreeProxy extends IProxyCore {
void setCustomStateMapper(String name, Block block);
}
@@ -1,15 +1,16 @@
//
// Decompiled by Procyon v0.5.30
//
package binnie.extratrees.proxy;
import binnie.extratrees.ExtraTrees;
import binnie.core.proxy.BinnieModProxy;
import binnie.extratrees.ExtraTrees;
import net.minecraft.block.Block;
public class Proxy extends BinnieModProxy implements IExtraTreeProxy
{
public Proxy() {
super(ExtraTrees.instance);
}
public class Proxy extends BinnieModProxy implements IExtraTreeProxy {
public Proxy() {
super(ExtraTrees.instance);
}
@Override
public void setCustomStateMapper(String name, Block block) {
}
}
@@ -1,17 +1,37 @@
//
// Decompiled by Procyon v0.5.30
//
package binnie.extratrees.proxy;
import forestry.api.core.IIconProvider;
import binnie.extratrees.genetics.FruitSprite;
import forestry.api.core.ForestryAPI;
import binnie.extratrees.ExtraTrees;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.renderer.block.statemap.StateMapperBase;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.ModelLoader;
public class ProxyClient extends Proxy implements IExtraTreeProxy {
@Override
public void init() {
//ForestryAPI.textureManager.registerIconProvider(FruitSprite.Average);
}
@Override
public void setCustomStateMapper(String name, Block block) {
ModelLoader.setCustomStateMapper(block, new CustomMapper(name));
}
class CustomMapper extends StateMapperBase {
ResourceLocation rl;
public CustomMapper(String name) {
rl = new ResourceLocation(ExtraTrees.MOD_ID, name);
}
@Override
protected ModelResourceLocation getModelResourceLocation(IBlockState state) {
return new ModelResourceLocation(rl, this.getPropertyString(state.getProperties()));
}
}
public class ProxyClient extends Proxy implements IExtraTreeProxy
{
@Override
public void init() {
ForestryAPI.textureManager.registerIconProvider(FruitSprite.Average);
}
}
@@ -1,9 +1,10 @@
//
// Decompiled by Procyon v0.5.30
//
package binnie.extratrees.proxy;
public class ProxyServer extends Proxy implements IExtraTreeProxy
{
import net.minecraft.block.Block;
public class ProxyServer extends Proxy implements IExtraTreeProxy {
@Override
public void setCustomStateMapper(String name, Block block) {
}
}