Class Lens

java.lang.Object
vazkii.botania.common.item.lens.Lens
Direct Known Subclasses:
BoreLens, BounceLens, CelebratoryLens, DamagingLens, EfficiencyLens, EntropicLens, FlareLens, FlashLens, ForceLens, GravityLens, InfluenceLens, KindleLens, MagnetizingLens, MessengerLens, PaintslingerLens, PhantomLens, PotencyLens, RedirectiveLens, ResistanceLens, StormLens, TripwireLens, VelocityLens, WarpLens, WeightLens

public class Lens extends Object
  • Constructor Details

    • Lens

      public Lens()
  • Method Details

    • apply

      public void apply(net.minecraft.world.item.ItemStack stack, BurstProperties props)
    • collideBurst

      public boolean collideBurst(ManaBurst burst, net.minecraft.world.phys.HitResult pos, boolean isManaBlock, boolean shouldKill, net.minecraft.world.item.ItemStack stack)
    • updateBurst

      public void updateBurst(ManaBurst burst, net.minecraft.world.item.ItemStack stack)
    • allowBurstShooting

      public boolean allowBurstShooting(net.minecraft.world.item.ItemStack stack, ManaSpreader spreader, boolean redstone)
    • onControlledSpreaderTick

      public void onControlledSpreaderTick(net.minecraft.world.item.ItemStack stack, ManaSpreader spreader, boolean redstone)
    • onControlledSpreaderPulse

      public void onControlledSpreaderPulse(net.minecraft.world.item.ItemStack stack, ManaSpreader spreader)
    • getManaToTransfer

      public int getManaToTransfer(ManaBurst burst, net.minecraft.world.item.ItemStack stack, ManaReceiver receiver)