mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
37 lines
1.1 KiB
Java
37 lines
1.1 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 14, 2014, 5:29:56 PM (GMT)]
|
|
*/
|
|
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(stateContainer.getBaseState().with(BlockStateProperties.FACING, Direction.DOWN));
|
|
}
|
|
|
|
@Nonnull
|
|
@Override
|
|
public TileRedString createTileEntity(@Nonnull BlockState state, @Nonnull IBlockReader world) {
|
|
return new TileRedStringContainer();
|
|
}
|
|
|
|
}
|