Removed unused stair classes
- Removed unused stair classes. Closes #28.
This commit is contained in:
parent
3b7d1685c5
commit
0e2183d234
|
@ -1,19 +0,0 @@
|
||||||
|
|
||||||
package appeng.decorative.stair;
|
|
||||||
|
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author thatsIch
|
|
||||||
* @version rv3 - 30.06.2015
|
|
||||||
* @since rv3 30.06.2015
|
|
||||||
*/
|
|
||||||
public class BlockFluixStair extends BlockStairCommon
|
|
||||||
{
|
|
||||||
public BlockFluixStair( final Block block, final String type )
|
|
||||||
{
|
|
||||||
super( block, type );
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,34 +0,0 @@
|
||||||
|
|
||||||
package appeng.decorative.stair;
|
|
||||||
|
|
||||||
|
|
||||||
import java.util.function.Supplier;
|
|
||||||
|
|
||||||
import com.google.common.base.Preconditions;
|
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.block.BlockStairs;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author thatsIch
|
|
||||||
* @version rv3 - 30.06.2015
|
|
||||||
* @since rv3 30.06.2015
|
|
||||||
*/
|
|
||||||
public class FluixStairSupplier implements Supplier<BlockStairs>
|
|
||||||
{
|
|
||||||
private final Supplier<Block> fluixBlockSupplier;
|
|
||||||
|
|
||||||
public FluixStairSupplier( final Supplier<Block> fluixBlockSupplier )
|
|
||||||
{
|
|
||||||
Preconditions.checkNotNull( fluixBlockSupplier );
|
|
||||||
|
|
||||||
this.fluixBlockSupplier = fluixBlockSupplier;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public BlockFluixStair get()
|
|
||||||
{
|
|
||||||
return new BlockFluixStair( this.fluixBlockSupplier.get(), "fluix" );
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,78 +0,0 @@
|
||||||
|
|
||||||
package appeng.decorative.stair;
|
|
||||||
|
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
|
||||||
|
|
||||||
import com.google.common.base.Optional;
|
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.item.Item;
|
|
||||||
import net.minecraft.item.ItemBlock;
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
import net.minecraft.world.IBlockAccess;
|
|
||||||
|
|
||||||
import appeng.api.definitions.IBlockDefinition;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author thatsIch
|
|
||||||
* @version rv3 - 29.06.2015
|
|
||||||
* @since rv3 29.06.2015
|
|
||||||
*/
|
|
||||||
public class StairBlockDefinition implements IBlockDefinition
|
|
||||||
{
|
|
||||||
public StairBlockDefinition()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Optional<Block> maybeBlock()
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Optional<ItemBlock> maybeItemBlock()
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isSameAs( final IBlockAccess world, final BlockPos pos )
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nonnull
|
|
||||||
@Override
|
|
||||||
public String identifier()
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Optional<Item> maybeItem()
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Optional<ItemStack> maybeStack( final int stackSize )
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isEnabled()
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isSameAs( final ItemStack comparableStack )
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue