Class AdvancementHelper

java.lang.Object
com.github.voidleech.oblivion.advancement.AdvancementHelper

public class AdvancementHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    grantByName(net.minecraft.resources.ResourceLocation name, net.minecraft.server.level.ServerPlayer serverPlayer)
    Grants an advancement by name, regardless of actual criteria completed.
    static void
    grantByName(net.minecraft.resources.ResourceLocation name, net.minecraft.world.entity.player.Player player)
    Grants an advancement by name, regardless of actual criteria completed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdvancementHelper

      public AdvancementHelper()
  • Method Details

    • grantByName

      public static void grantByName(net.minecraft.resources.ResourceLocation name, net.minecraft.world.entity.player.Player player)
      Grants an advancement by name, regardless of actual criteria completed.
      Parameters:
      name -
      player -
    • grantByName

      public static void grantByName(net.minecraft.resources.ResourceLocation name, net.minecraft.server.level.ServerPlayer serverPlayer)
      Grants an advancement by name, regardless of actual criteria completed.
      Parameters:
      name -
      serverPlayer -