Class AnglersHatModifier
java.lang.Object
com.wdiscute.starcatcher.registry.catchmodifiers.AbstractCatchModifier
com.wdiscute.starcatcher.registry.catchmodifiers.AnglersHatModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.world.item.ItemStack> addToFishedItems(int time, boolean perfectCatch, int hits, boolean completedTreasure, net.minecraft.world.entity.player.Player player) booleanforceAwardTreasure(FishingBobEntity fbe, int time, boolean completedTreasure, boolean perfectCatch, int hits) voidonSuccessfulMinigameCompletion(net.minecraft.server.level.ServerPlayer player, int time, boolean completedTreasure, boolean perfectCatch, int hits) Methods inherited from class AbstractCatchModifier
adjustChanceToFishEachTick, adjustMaxTicksToFish, adjustMinTicksToFish, afterChoosingTheCatch, cancelGolden, forceSkipMinigame, forceSpawnEntity, modifyAvailablePool, modifyBaseItemStack, onAdd, onFailedMinigame, onReel, onReelStart, overrideFpToClient, shouldBeGolden, shouldCancelAfterSuccessfulMinigameCompletion, shouldCancelBeforeSkipsMinigameCheck, shouldStopFishing, survivesLava
-
Constructor Details
-
AnglersHatModifier
public AnglersHatModifier()
-
-
Method Details
-
forceAwardTreasure
public boolean forceAwardTreasure(FishingBobEntity fbe, int time, boolean completedTreasure, boolean perfectCatch, int hits) - Overrides:
forceAwardTreasurein classAbstractCatchModifier
-
addToFishedItems
public List<net.minecraft.world.item.ItemStack> addToFishedItems(int time, boolean perfectCatch, int hits, boolean completedTreasure, net.minecraft.world.entity.player.Player player) - Overrides:
addToFishedItemsin classAbstractCatchModifier
-
onSuccessfulMinigameCompletion
public void onSuccessfulMinigameCompletion(net.minecraft.server.level.ServerPlayer player, int time, boolean completedTreasure, boolean perfectCatch, int hits) - Overrides:
onSuccessfulMinigameCompletionin classAbstractCatchModifier
-