Class PullDownModifier
java.lang.Object
com.wdiscute.starcatcher.modifiers.minigamemodifiers.AbstractMinigameModifier
com.wdiscute.starcatcher.modifiers.minigamemodifiers.PullDownModifier
- All Implemented Interfaces:
Modifier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<PullDownModifier> Fields inherited from class AbstractMinigameModifier
removed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.mojang.serialization.MapCodec<? extends Modifier> getCodec()net.minecraft.resources.IdentifierbooleanonHit(FishingMinigameScreen instance, ActiveSweetSpot ass) Runs right before the sweetSpotBehaviour hitvoidrenderForeground(FishingMinigameScreen instance, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, float partialTick, int width, int height) Methods inherited from class AbstractMinigameModifier
canHitSpot, disableHandleRendering, disableSweetSpotRendering, forceAwardTreasure, getDescription, getNonOverriddenDescription, mouseScrolled, onAdd, onKeyPress, onKeyReleased, onMiss, onRemove, onSpotAdded, preventLosingMinigame, renderBackground, renderOnHandle, renderOnSweetSpot, shouldDarkenWheel, skipHitParticles, skipHitSound, skipMissSound, tick
-
Field Details
-
CODEC
-
-
Constructor Details
-
PullDownModifier
-
-
Method Details
-
flipRodAndProgressDisplay
- Overrides:
flipRodAndProgressDisplayin classAbstractMinigameModifier
-
onHit
Description copied from class:AbstractMinigameModifierRuns right before the sweetSpotBehaviour hit- Overrides:
onHitin classAbstractMinigameModifier- Returns:
- whether the hit should be cancelled
-
renderForeground
public void renderForeground(FishingMinigameScreen instance, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, float partialTick, int width, int height) - Overrides:
renderForegroundin classAbstractMinigameModifier
-
getIdentifier
public net.minecraft.resources.Identifier getIdentifier() -
getCodec
-