mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-05-26 11:03:37 +02:00
ae6695a5ba
Added Recipes for Phantomfaces.
38 lines
1.2 KiB
Java
38 lines
1.2 KiB
Java
/*
|
|
* This file ("BlockPhantomBooster.java") is part of the Actually Additions mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2017 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.mod.blocks;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.base.BlockBase;
|
|
|
|
public class BlockPhantomBooster extends BlockBase {
|
|
|
|
public BlockPhantomBooster() {
|
|
super(ActuallyBlocks.defaultPickProps());
|
|
}
|
|
|
|
/* @Nullable
|
|
@Override
|
|
public BlockEntity newBlockEntity(BlockPos pos, BlockState state) {
|
|
return new TileEntityPhantomBooster(pos, state);
|
|
}*/
|
|
|
|
/* @Nullable
|
|
@Override
|
|
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level level, BlockState blockState, BlockEntityType<T> entityType) {
|
|
return level.isClientSide? TileEntityPhantomBooster::clientTick : TileEntityPhantomBooster::serverTick;
|
|
}
|
|
|
|
@Override
|
|
public VoxelShape getShape(BlockState state, BlockGetter worldIn, BlockPos pos, CollisionContext context) {
|
|
return VoxelShapes.BOOSTER_SHAPE;
|
|
}*/
|
|
}
|