mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-25 14:36:29 +01:00
init
This commit is contained in:
parent
b50b22938b
commit
e4e5ac1c40
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ import net.minecraft.world.ticks.LevelTickAccess;
|
||||||
import net.minecraftforge.api.distmarker.Dist;
|
import net.minecraftforge.api.distmarker.Dist;
|
||||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||||
import net.minecraftforge.client.IBlockRenderProperties;
|
import net.minecraftforge.client.IBlockRenderProperties;
|
||||||
|
//init
|
||||||
public class TrackBlock extends Block
|
public class TrackBlock extends Block
|
||||||
implements ITE<TrackTileEntity>, IWrenchable, ITrackBlock, ISpecialBlockItemRequirement, ProperWaterloggedBlock {
|
implements ITE<TrackTileEntity>, IWrenchable, ITrackBlock, ISpecialBlockItemRequirement, ProperWaterloggedBlock {
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ public class TrackBlock extends Block
|
||||||
protected void createBlockStateDefinition(Builder<Block, BlockState> p_49915_) {
|
protected void createBlockStateDefinition(Builder<Block, BlockState> p_49915_) {
|
||||||
super.createBlockStateDefinition(p_49915_.add(SHAPE, HAS_TE, WATERLOGGED));
|
super.createBlockStateDefinition(p_49915_.add(SHAPE, HAS_TE, WATERLOGGED));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockPathTypes getAiPathNodeType(BlockState state, BlockGetter world, BlockPos pos, Mob entity) {
|
public BlockPathTypes getAiPathNodeType(BlockState state, BlockGetter world, BlockPos pos, Mob entity) {
|
||||||
return BlockPathTypes.RAIL;
|
return BlockPathTypes.RAIL;
|
||||||
|
|
Loading…
Reference in a new issue