Interface IFilterRule

All Known Subinterfaces:
IFilterRuleType

public interface IFilterRule
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.resources.ResourceLocation
    If a species type with this uid is registered, the filter will only get stack with individuals from this root.
    boolean
    isValid(net.minecraft.world.item.ItemStack stack, FilterData data)
     
  • Method Details

    • isValid

      boolean isValid(net.minecraft.world.item.ItemStack stack, FilterData data)
    • getSpeciesTypeId

      @Nullable default net.minecraft.resources.ResourceLocation getSpeciesTypeId()
      If a species type with this uid is registered, the filter will only get stack with individuals from this root.