mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
36 lines
1.0 KiB
Java
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.TileRedStringContainer;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
public class BlockRedStringContainer extends BlockRedString {
|
|
|
|
public BlockRedStringContainer(Block.Properties builder) {
|
|
super(builder);
|
|
setDefaultState(getDefaultState().with(BlockStateProperties.FACING, Direction.DOWN));
|
|
}
|
|
|
|
@Nonnull
|
|
@Override
|
|
public TileRedString createNewTileEntity(@Nonnull IBlockReader world) {
|
|
return new TileRedStringContainer();
|
|
}
|
|
|
|
}
|