public class ColorLensChangerByDyeMeta extends java.lang.Object implements IColorLensChanger
| Constructor and Description |
|---|
ColorLensChangerByDyeMeta() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
modifyItem(net.minecraft.item.ItemStack stack,
net.minecraft.block.state.IBlockState hitBlockState,
net.minecraft.util.math.BlockPos hitBlock,
IAtomicReconstructor tile)
Modifies the given item.
|
public net.minecraft.item.ItemStack modifyItem(net.minecraft.item.ItemStack stack,
net.minecraft.block.state.IBlockState hitBlockState,
net.minecraft.util.math.BlockPos hitBlock,
IAtomicReconstructor tile)
IColorLensChangermodifyItem in interface IColorLensChangerstack - the stack to modifyhitBlockState - The state of the block that was hithitBlock - the block that was hit (usually air, or the block that is also in the stack)tile - the Reconstructor doing the color conversion