Class FishingPredicate

java.lang.Object
net.minecraft.loot.FishingPredicate

public class FishingPredicate extends Object
  • Field Details

    • ANY

      public static final FishingPredicate ANY
    • inOpenWater

      private boolean inOpenWater
  • Constructor Details

    • FishingPredicate

      private FishingPredicate(boolean p_i231586_1_)
  • Method Details

    • inOpenWater

      public static FishingPredicate inOpenWater(boolean p_234640_0_)
    • fromJson

      public static FishingPredicate fromJson(@Nullable com.google.gson.JsonElement p_234639_0_)
    • serializeToJson

      public com.google.gson.JsonElement serializeToJson()
    • matches

      public boolean matches(Entity p_234638_1_)