Removed unused methods.

This commit is contained in:
Sebastian Hartte 2016-10-29 14:22:57 +02:00
parent a9c5019554
commit 1832be3118
3 changed files with 0 additions and 26 deletions

View file

@ -27,7 +27,6 @@ import java.util.Optional;
import java.util.Random;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableMap;
import io.netty.buffer.ByteBuf;
@ -524,11 +523,6 @@ public abstract class AEBasePart implements IPart, IGridProxyable, IActionHost,
return false;
}
protected ImmutableMap.Builder<String, String> propertiesForModel( EnumFacing facing )
{
return ImmutableMap.<String, String>builder().put( "color", getColor().name() );
}
public AEPartLocation getSide()
{
return this.side;

View file

@ -19,10 +19,7 @@
package appeng.parts.networking;
import com.google.common.collect.ImmutableMap;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import appeng.api.networking.IGridNode;
import appeng.api.networking.events.MENetworkChannelsChanged;
@ -105,11 +102,4 @@ public class PartCableSmart extends PartCable
}
}
}
@Override
protected ImmutableMap.Builder<String, String> propertiesForModel( EnumFacing facing )
{
return facing != null ? super.propertiesForModel( facing ).put( "channels", String.valueOf( getChannelsOnSide( facing.ordinal() ) ) ) : super.propertiesForModel( facing );
}
}

View file

@ -19,11 +19,8 @@
package appeng.parts.networking;
import com.google.common.collect.ImmutableMap.Builder;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import appeng.api.networking.GridFlags;
import appeng.api.networking.IGridHost;
@ -171,11 +168,4 @@ public class PartDenseCable extends PartCable
{
this.getHost().markForUpdate();
}
@Override
protected Builder<String, String> propertiesForModel( EnumFacing facing )
{
return facing != null ? super.propertiesForModel( facing ).put( "channels", String.valueOf( getChannelsOnSide( facing.ordinal() ) ) ) : super.propertiesForModel( facing );
}
}