Files
Botania/src/main/java/vazkii/botania/common/block/string/BlockRedStringRelay.java
T
Eutro 6a7da67f96 Add waterlogging support for Botania blocks. (#3243)
* Waterlog all the things.

* Header

* Linting and friends.

* Remove waterlogging for Manatide Bellows and Petal Apothecaries

* Blank line.
2020-05-21 16:01:18 -05:00

36 lines
1.0 KiB
Java

/*
* This class is 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
*/
package vazkii.botania.common.block.string;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.state.properties.BlockStateProperties;
import net.minecraft.util.Direction;
import net.minecraft.world.IBlockReader;
import vazkii.botania.common.block.tile.string.TileRedString;
import vazkii.botania.common.block.tile.string.TileRedStringRelay;
import javax.annotation.Nonnull;
public class BlockRedStringRelay extends BlockRedString {
public BlockRedStringRelay(Block.Properties builder) {
super(builder);
setDefaultState(getDefaultState().with(BlockStateProperties.FACING, Direction.DOWN));
}
@Nonnull
@Override
public TileRedString createTileEntity(@Nonnull BlockState state, @Nonnull IBlockReader world) {
return new TileRedStringRelay();
}
}