java.lang.Object
mod.chloeprime.gunsmithlib.common.gunpack_extension.gun.ammo_variant.GunVariantRegistry

public class GunVariantRegistry extends Object
  • 构造器详细资料

    • GunVariantRegistry

      public GunVariantRegistry()
  • 方法详细资料

    • getValue

      @Nullable public static GunAmmoVariantSet getValue(@Nullable net.minecraft.resources.ResourceLocation key)
    • getKey

      @Nullable public static net.minecraft.resources.ResourceLocation getKey(@Nullable GunAmmoVariantSet value)
    • onPlayerLoggedIn

      public static void onPlayerLoggedIn(net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
      玩家登录时发送 redirect 数据
    • isEnabledFor

      public static boolean isEnabledFor(net.minecraft.world.item.ItemStack gun)