| Constructor and Description |
|---|
CropBasicIC2Crop(net.minecraft.world.World world,
net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.util.math.BlockPos position) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canHarvestCrop(net.minecraft.tileentity.TileEntity tileEntity)
Check if an IC2 crop is ready to be harvested.
|
protected net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
harvestBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
protected boolean |
isCrop(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static boolean |
isIC2Crop(net.minecraft.tileentity.TileEntity tileEntity)
Check if there is an instance of ICropTile.
|
getPosition, harvestpublic CropBasicIC2Crop(@Nonnull
net.minecraft.world.World world,
@Nonnull
net.minecraft.tileentity.TileEntity tileEntity,
@Nonnull
net.minecraft.util.math.BlockPos position)
protected boolean isCrop(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
protected net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> harvestBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
harvestBlock in class Croppublic static boolean isIC2Crop(net.minecraft.tileentity.TileEntity tileEntity)
tileEntity - tile entity to be checked.public static boolean canHarvestCrop(net.minecraft.tileentity.TileEntity tileEntity)
tileEntity - tile entity to be checked.