20 lines
665 B
Java
20 lines
665 B
Java
|
package com.thebrokenrail.energonrelics.block.forcefield;
|
||
|
|
||
|
import com.thebrokenrail.energonrelics.block.entity.forcefield.IndustrialLaserBlockEntity;
|
||
|
import com.thebrokenrail.energonrelics.block.forcefield.util.FieldProjectorBlock;
|
||
|
import net.minecraft.block.entity.BlockEntity;
|
||
|
import net.minecraft.block.entity.BlockEntityType;
|
||
|
|
||
|
import java.util.function.Function;
|
||
|
|
||
|
public class IndustrialLaserProjectorBlock extends FieldProjectorBlock {
|
||
|
public IndustrialLaserProjectorBlock() {
|
||
|
super(null);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected Function<BlockEntityType<BlockEntity>, BlockEntity> getFactory() {
|
||
|
return IndustrialLaserBlockEntity::new;
|
||
|
}
|
||
|
}
|