Class IgnoreWeatherRestrictionsModifier
java.lang.Object
com.wdiscute.starcatcher.modifiers.catchmodifiers.AbstractCatchModifier
com.wdiscute.starcatcher.modifiers.catchmodifiers.IgnoreWeatherRestrictionsModifier
- All Implemented Interfaces:
Modifier, WeatherRestriction.SkipsWeatherRestriction
public class IgnoreWeatherRestrictionsModifier
extends AbstractCatchModifier
implements WeatherRestriction.SkipsWeatherRestriction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<IgnoreWeatherRestrictionsModifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends Modifier> getCodec()net.minecraft.resources.IdentifierList<net.minecraft.network.chat.Component> getNonOverriddenDescription(boolean shift) booleanshouldSkipWeather(net.minecraft.world.level.Level level) Methods inherited from class AbstractCatchModifier
addToFishedItems, addToTreasureWeightedList, adjustChanceToFishEachTick, adjustMaxTicksToFish, adjustMinTicksToFish, cancelGolden, forceAwardTreasure, forceSelectFish, forceSelectFishIfNoNonFishAvailable, forceSkipMinigame, forceSpawnEntity, getDescription, modifyAvailablePool, modifyPercentile, modifyThrowVec, modifyTreasure, noGravity, onAdd, onFailedMinigame, onReelStart, onSuccessfulMinigameCompletion, shouldBeGolden, shouldHideCatch, shouldSkipAddingBaseItem, shouldStopFishing, survivesLava, tick
-
Field Details
-
CODEC
-
-
Constructor Details
-
IgnoreWeatherRestrictionsModifier
-
-
Method Details
-
getNonOverriddenDescription
- Overrides:
getNonOverriddenDescriptionin classAbstractCatchModifier
-
shouldSkipWeather
public boolean shouldSkipWeather(net.minecraft.world.level.Level level) - Specified by:
shouldSkipWeatherin interfaceWeatherRestriction.SkipsWeatherRestriction
-
getIdentifier
public net.minecraft.resources.Identifier getIdentifier()- Specified by:
getIdentifierin interfaceModifier
-
getCodec
-