Interface QualityFoodModifier.Modify

All Known Implementing Classes:
QualityFoodRollModifier
Enclosing class:
QualityFoodModifier

public static interface QualityFoodModifier.Modify
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    addToMinChance(FishingBobEntity fishingBobEntity, net.minecraft.world.item.ItemStack itemStack, double currentMinChance, boolean perfectCatch, boolean golden, float percentile)
     
    float
    addToRolls(FishingBobEntity fishingBobEntity, net.minecraft.world.item.ItemStack itemStack, double currentRolls, boolean perfectCatch, boolean golden, float percentile)
     
  • Method Details

    • addToRolls

      float addToRolls(FishingBobEntity fishingBobEntity, net.minecraft.world.item.ItemStack itemStack, double currentRolls, boolean perfectCatch, boolean golden, float percentile)
    • addToMinChance

      double addToMinChance(FishingBobEntity fishingBobEntity, net.minecraft.world.item.ItemStack itemStack, double currentMinChance, boolean perfectCatch, boolean golden, float percentile)