mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 10:34:40 +00:00
33 lines
1.0 KiB
Java
33 lines
1.0 KiB
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under the
|
|
* Botania License: http://botaniamod.net/license.php
|
|
*
|
|
* File Created @ [Nov 16, 2014, 10:46:48 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.common.block.string;
|
|
|
|
import net.minecraft.util.EnumFacing;
|
|
import net.minecraft.world.World;
|
|
import vazkii.botania.api.state.BotaniaStateProps;
|
|
import vazkii.botania.common.block.tile.string.TileRedString;
|
|
import vazkii.botania.common.block.tile.string.TileRedStringRelay;
|
|
import vazkii.botania.common.lib.LibBlockNames;
|
|
|
|
public class BlockRedStringRelay extends BlockRedString {
|
|
|
|
public BlockRedStringRelay() {
|
|
super(LibBlockNames.RED_STRING_RELAY);
|
|
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.FACING, EnumFacing.DOWN));
|
|
}
|
|
|
|
@Override
|
|
public TileRedString createNewTileEntity(World world, int meta) {
|
|
return new TileRedStringRelay();
|
|
}
|
|
|
|
}
|