20 lines
677 B
Java
20 lines
677 B
Java
package com.thebrokenrail.energonrelics.block.forcefield.laser;
|
|
|
|
import com.thebrokenrail.energonrelics.block.entity.forcefield.laser.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;
|
|
}
|
|
}
|