public class LensConversion extends Lens
If you want to make a new type of conversion, just use your type in the recipe If you want to use the default type of conversion, use ActuallyAdditionsAPI.lensDefaultConversion.
| Constructor and Description |
|---|
LensConversion() |
| Modifier and Type | Method and Description |
|---|---|
float[] |
getColor()
Returns the color in an array of 3 float values that are r, g, b
|
int |
getDistance()
Gets the maximum distance the beam goes with this lens
|
boolean |
invoke(net.minecraft.block.state.IBlockState hitState,
net.minecraft.util.math.BlockPos hitBlock,
IAtomicReconstructor tile)
Invokes the lens type's behavior on a block
|
public boolean invoke(net.minecraft.block.state.IBlockState hitState,
net.minecraft.util.math.BlockPos hitBlock,
IAtomicReconstructor tile)
Lenspublic float[] getColor()
Lenspublic int getDistance()
LensgetDistance in class Lens