Class CompatibilityHelper

java.lang.Object
com.mrbysco.justenoughprofessions.compat.CompatibilityHelper

public class CompatibilityHelper extends Object
Compatibility helper for other mods
  • Constructor Details

    • CompatibilityHelper

      public CompatibilityHelper()
  • Method Details

    • compatibilityCheck

      public static net.minecraft.world.item.ItemStack compatibilityCheck(net.minecraft.world.item.ItemStack stack, @Nullable @Nullable net.minecraft.resources.Identifier profession)
      Executes compatibility checks for the given ItemStack
      Parameters:
      stack - The ItemStack to check
      profession - The professionHolder to check
      Returns:
      The ItemStack after compatibility checks