Class LoaderHelper

java.lang.Object
com.stereowalker.unionlib.util.LoaderHelper

public class LoaderHelper extends Object
  • Constructor Details

    • LoaderHelper

      public LoaderHelper()
  • Method Details

    • isModLoaded

      public static boolean isModLoaded(String modid)
    • configPath

      public static Path configPath()
    • isClientInstance

      public static boolean isClientInstance()
    • isServerInstance

      public static boolean isServerInstance()
    • isDevEnvironment

      public static boolean isDevEnvironment()
    • craftRemainder

      public static net.minecraft.world.item.ItemStack craftRemainder(net.minecraft.world.item.ItemStack stack)
    • hasCraftRemainder

      public static boolean hasCraftRemainder(net.minecraft.world.item.ItemStack stack)
    • canEquip

      public static boolean canEquip(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.EquipmentSlot slot)
    • addPoolToLootTable

      public static void addPoolToLootTable(net.minecraft.world.level.storage.loot.LootTable table, net.minecraft.world.level.storage.loot.LootPool pool)
    • createStackIngredient

      public static net.minecraft.world.item.crafting.Ingredient createStackIngredient(net.minecraft.world.item.ItemStack stack)